Read the docs
TI-2025-15997 Aliases CVE-2025-22048GHSA-4vfw-gvwq-xw7v

LoongArch: BPF: Don't override subprog's return value

Priority LOW 33Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Don't override subprog's return value The verifier test `calls: div by 0 in subprog` triggers a panic at the ld.bu instruction. The ld.bu insn is trying to load byte from memory address returned by the subprog. The subprog actually set the correct address at the a5 register (dedicated register for BPF return values). But at commit 73c359d1d356 ("LoongArch: BPF: Sign-extend return values") we also sign extended a5 to the a0 register (return value in LoongArch). For function call insn, we later propagate the a0 register back to a5 register. This is right for native calls but wrong for bpf2bpf calls which expect zero-extended return value in a5 register. So only move a0 to a5 for native calls (i.e. non-BPF_PSEUDO_CALL).

Why it matters now

EPSS 0.00215 11th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 6.1.191, 6.6.87, 6.12.23 +4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.1.120 to before 6.1.191; 6.6.64 to before 6.6.87; 6.12.2 to before 6.12.23; 6.11.11 to before 6.126.1.191, 6.6.87, 6.12.23, 6.12Patch availableCNA
LinuxLinux6.13 and later6.1.191, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15Patch availableCNA
  • Linux VendorLinux Affected 6.1.120 to before 6.1.191; 6.6.64 to before 6.6.87; 6.12.2 to before 6.12.23; 6.11.11 to before 6.12 Fixed in 6.1.191, 6.6.87, 6.12.23, 6.12 Patch available CNA
  • Linux VendorLinux Affected 6.13 and later Fixed in 6.1.191, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*6.1.120 to before 6.2; 6.6.64 to before 6.6.87; 6.11.11 to before 6.12; 6.12.2 to before 6.12.23; 6.13 to before 6.13.11; 6.14 to before 6.14.2VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.1.120 to before 6.2; 6.6.64 to before 6.6.87; 6.11.11 to before 6.12; 6.12.2 to before 6.12.23; 6.13 to before 6.13.11; 6.14 to before 6.14.2 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.87, 6.12.23, 6.12
  • Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

Not affected: 5 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-22048
  2. 2026-10-03 Alias added: GHSA-4vfw-gvwq-xw7v
  3. 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@d99845f672cce0b610f7c51248ef95d7df63927e · CNA
  4. 2026-10-30 1 new reference · CNA
  5. 2026-11-07 Affected versions changed · Red Hat

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources