What’s Vulnerable › Vulnerabilities
CVE-2025-71129: LoongArch: BPF: Sign extend kfunc call arguments
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-14 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: BPF: Sign extend kfunc call arguments The kfunc calls are native calls so they should follow LoongArch calling conventions. Sign extend its arguments properly to avoid kernel panic. This is done by adding a new emit_abi_ext() helper. The emit_abi_ext() helper performs extension in place meaning a value already store in the target register (Note: this is different from the existing sign_extend() helper and thus we can't reuse it).
Affected products
- Linux kernel: from 6.1.1 before 6.6.120; from 6.7 before 6.12.64; from 6.13 before 6.18.4; 6.1, 6.19-rc1, 6.19-rc2, 6.19-rc3, 6.19-rc4, 6.19-rc5 (+3) — fixed in 6.12.64, 6.18.4, 6.6.120
How to fix
Upgrade to a fixed version: Linux kernel 6.12.64, 6.18.4, 6.6.120. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0d666db731e95890e0eda7ea61bc925fd2be90c6
- https://git.kernel.org/stable/c/321993a874f571a94b5a596f1132f798c663b56e
- https://git.kernel.org/stable/c/3f5a238f24d7b75f9efe324d3539ad388f58536e
- https://git.kernel.org/stable/c/fd43edf357a3a1f5ed1c4bf450b60001c9091c39
Get alerted when CVE-2025-71129 or the next vulnerability affects your stack