What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2025-71129 or the next vulnerability affects your stack