# CVE-2025-71129: LoongArch: BPF: Sign extend kfunc call arguments

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-01-14T15:07:45.786Z
- Modified: 2026-06-17T10:03:43.407Z
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from 5dc615520c4dfb358245680f1904bad61116648e before fd43edf357a3a1f5ed1c4bf450b60001c9091c39; from 5dc615520c4dfb358245680f1904bad61116648e before 0d666db731e95890e0eda7ea61bc925fd2be90c6; from 5dc615520c4dfb358245680f1904bad61116648e before 321993a874f571a94b5a596f1132f798c663b56e; from 5dc615520c4dfb358245680f1904bad61116648e before 3f5a238f24d7b75f9efe324d3539ad388f58536e; 6.1 (not affected: before 6.1; from 6.6.120 up to 6.6.*; from 6.12.64 up to 6.12.*; from 6.18.4 up to 6.18.*; from 6.19 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/fd43edf357a3a1f5ed1c4bf450b60001c9091c39> (patch)
- <https://git.kernel.org/stable/c/0d666db731e95890e0eda7ea61bc925fd2be90c6> (patch)
- <https://git.kernel.org/stable/c/321993a874f571a94b5a596f1132f798c663b56e> (patch)
- <https://git.kernel.org/stable/c/3f5a238f24d7b75f9efe324d3539ad388f58536e> (patch)

## Sources

- CVE List: [CVE-2025-71129](https://www.cve.org/CVERecord?id=CVE-2025-71129), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-71129](https://nvd.nist.gov/vuln/detail/CVE-2025-71129), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-71129 · Whole record: https://cve.day/CVE-2025-71129.json · Rebuilt by cve.day 2026-11-25T22:59:10.622Z
