CVE-2025-40050
In the Linux kernel, the following vulnerability has been resolved: bpf: Skip scalar adjustment for BPF_NEG if dst is a pointer In check_alu_op(), the verifier currently calls check_reg_arg() and adjust_scalar_min_max_vals() unconditionally for BPF_NEG operations. However, if the destination register holds a pointer, these scalar adjustments are unnecessary and potentially incorrect. This patch adds a check to skip the adjustment logic when the destination register contains a pointer.
Affected versions
Linux kernel versions
6.17
and later are affected. Fixed in
6.17.3,
6.18
and their respective stable series.
References
The following references provide additional information about CVE-2025-40050 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/34904582b502a86fdb4d7984b12cacd2faabbe0d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b9ef4963227246b9222e1559ddeec8e7af63e6c6
Frequently asked questions
-
What is CVE-2025-40050?
CVE-2025-40050 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.17 onward and has been patched in 6.17.3 and 6.18. CVE-2025-40050 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40050?
Yes — CVE-2025-40050 has been patched. Fixed versions include 6.17.3 and 6.18. If you are running Linux kernel 6.17 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40050 actively exploited?
No — CVE-2025-40050 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.