Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-38723— LoongArch: BPF: Fix jump offset calculation in tailcall

EPSS 0.02% · P5

Affected Version Matrix 14

VendorProductVersion RangeStatus
LinuxLinux5dc615520c4dfb358245680f1904bad61116648e< 1a782fa32e644aa9fbae6c8488f3e61221ac96e1affected
5dc615520c4dfb358245680f1904bad61116648e< 17c010fe45def335fe03a0718935416b04c7f349affected
5dc615520c4dfb358245680f1904bad61116648e< f83d469e16bb1f75991ca67c56786fb2aaa42beaaffected
5dc615520c4dfb358245680f1904bad61116648e< f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94faffected
5dc615520c4dfb358245680f1904bad61116648e< 9262e3e04621558e875eb5afb5e726b648cd5949affected
5dc615520c4dfb358245680f1904bad61116648e< cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3affected
6.1affected
< 6.1unaffected
… +6 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-38723

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LoongArch: BPF: Fix jump offset calculation in tailcall
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Fix jump offset calculation in tailcall The extra pass of bpf_int_jit_compile() skips JIT context initialization which essentially skips offset calculation leaving out_offset = -1, so the jmp_offset in emit_bpf_tail_call is calculated by "#define jmp_offset (out_offset - (cur_offset))" is a negative number, which is wrong. The final generated assembly are as follow. 54: bgeu $a2, $t1, -8 # 0x0000004c 58: addi.d $a6, $s5, -1 5c: bltz $a6, -16 # 0x0000004c 60: alsl.d $t2, $a2, $a1, 0x3 64: ld.d $t2, $t2, 264 68: beq $t2, $zero, -28 # 0x0000004c Before apply this patch, the follow test case will reveal soft lock issues. cd tools/testing/selftests/bpf/ ./test_progs --allow=tailcalls/tailcall_bpf2bpf_1 dmesg: watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [test_progs:25056]
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于LoongArch架构BPF尾调用中跳转偏移计算错误,可能导致软锁定。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 5dc615520c4dfb358245680f1904bad61116648e ~ 1a782fa32e644aa9fbae6c8488f3e61221ac96e1 -
LinuxLinux 6.1 -

II. Public POCs for CVE-2025-38723

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38723

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-09-04 · 52 CVEs total

CVE-2025-38693media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_t
CVE-2025-38679media: venus: Fix OOB read due to missing payload bound check
CVE-2025-38680media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
CVE-2025-38685fbdev: Fix vmalloc out-of-bounds write in fast_imageblit
CVE-2025-38682i2c: core: Fix double-free of fwnode in i2c_unregister_device()
CVE-2025-38683hv_netvsc: Fix panic during namespace deletion with VF
CVE-2025-38684net/sched: ets: use old 'nbands' while purging unused classes
CVE-2025-38681mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()
CVE-2025-38692exfat: add cluster chain loop check for dir
CVE-2025-38694media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
CVE-2025-38690drm/xe/migrate: prevent infinite recursion
CVE-2025-38695scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure
CVE-2025-38696MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
CVE-2025-38697jfs: upper bound check of tree index in dbAllocAG
CVE-2025-38699scsi: bfa: Double-free fix
CVE-2025-38698jfs: Regular file corruption check
CVE-2025-38700scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated
CVE-2025-38701ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr
CVE-2025-38702fbdev: fix potential buffer overflow in do_register_framebuffer()
CVE-2025-38703drm/xe: Make dma-fences compliant with the safe access rules

Showing top 20 of 52 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38723

No comments yet


Leave a comment