Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38723

MEDIUM 5.5EPSS 10%

LoongArch: BPF: Fix jump offset calculation in tailcall

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 5dc615520c4dfb358245680f1904bad61116648e, < 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; >= 5dc615520c4dfb358245680f1904bad61116648e, < 17c010fe45def335fe03a0718935416b04c7f349; >= 5dc615520c4dfb358245680f1904bad61116648e, < f83d469e16bb1f75991ca67c56786fb2aaa42bea; >= 5dc615520c4dfb358245680f1904bad61116648e, < f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; >= 5dc615520c4dfb358245680f1904bad61116648e, < 9262e3e04621558e875eb5afb5e726b648cd5949; >= 5dc615520c4dfb358245680f1904bad61116648e, < cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3
  • Anyone running Linux 6.1

Vulnerability facts

Affected
Linux >= 5dc615520c4dfb358245680f1904bad61116648e, < 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; >= 5dc615520c4dfb358245680f1904bad61116648e, < 17c010fe45def335fe03a0718935416b04c7f349; >= 5dc615520c4dfb358245680f1904bad61116648e, < f83d469e16bb1f75991ca67c56786fb2aaa42bea; >= 5dc615520c4dfb358245680f1904bad61116648e, < f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; >= 5dc615520c4dfb358245680f1904bad61116648e, < 9262e3e04621558e875eb5afb5e726b648cd5949; >= 5dc615520c4dfb358245680f1904bad61116648e, < cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3; Linux 6.1
Fixed in
Linux 1a782fa32e644aa9fbae6c8488f3e61221ac96e1, Linux 17c010fe45def335fe03a0718935416b04c7f349, Linux 9262e3e04621558e875eb5afb5e726b648cd5949
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
Published
Modified

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]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5dc615520c4dfb358245680f1904bad61116648e, < 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; >= 5dc615520c4dfb358245680f1904bad61116648e, < 17c010fe45def335fe03a0718935416b04c7f349; >= 5dc615520c4dfb358245680f1904bad61116648e, < f83d469e16bb1f75991ca67c56786fb2aaa42bea; >= 5dc615520c4dfb358245680f1904bad61116648e, < f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; >= 5dc615520c4dfb358245680f1904bad61116648e, < 9262e3e04621558e875eb5afb5e726b648cd5949; >= 5dc615520c4dfb358245680f1904bad61116648e, < cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3—cvelist
Linux6.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38723. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38723.md
Affected: Linux >= 5dc615520c4dfb358245680f1904bad61116648e, < 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; >= 5dc615520c4dfb358245680f1904bad61116648e, < 17c010fe45def335fe03a0718935416b04c7f349; >= 5dc615520c4dfb358245680f1904bad61116648e, < f83d469e16bb1f75991ca67c56786fb2aaa42bea; >= 5dc615520c4dfb358245680…
Fixed in: Linux 1a782fa32e644aa9fbae6c8488f3e61221ac96e1, Linux 17c010fe45def335fe03a0718935416b04c7f349, Linux 9262e3e04621558e875eb5afb5e726b648cd5949

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38723 being exploited?

There is no confirmed exploitation: CVE-2025-38723 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38723?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38723?

Linux >= 5dc615520c4dfb358245680f1904bad61116648e, < 1a782fa32e644aa9fbae6c8488f3e61221ac96e1; >= 5dc615520c4dfb358245680f1904bad61116648e, < 17c010fe45def335fe03a0718935416b04c7f349; >= 5dc615520c4dfb358245680f1904bad61116648e, < f83d469e16bb1f75991ca67c56786fb2aaa42bea; >= 5dc615520c4dfb358245680f1904bad61116648e, < f2b5e50cc04d7a049b385bc1c93b9cbf5f10c94f; >= 5dc615520c4dfb358245680f1904bad61116648e, < 9262e3e04621558e875eb5afb5e726b648cd5949; >= 5dc615520c4dfb358245680f1904bad61116648e, < cd39d9e6b7e4c58fa77783e7aedf7ada51d02ea3; Linux 6.1.

Is there a fix for CVE-2025-38723?

Yes. Fixed in Linux 1a782fa32e644aa9fbae6c8488f3e61221ac96e1, Linux 17c010fe45def335fe03a0718935416b04c7f349, Linux 9262e3e04621558e875eb5afb5e726b648cd5949. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38723?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors