CVE-2025-40050
Last modified
CVE-2025-40050 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= aced132599b3c8884c050218d4c48eef203678f6, < b9ef4963227246b9222e1559ddeec8e7af63e6c6; >= aced132599b3c8884c050218d4c48eef203678f6, < 34904582b502a86fdb4d7984b12cacd2faabbe0d |
| Linux | Linux | 6.17 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40050?
How severe is CVE-2025-40050?
How do I fix CVE-2025-40050?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40045In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40046In the Linux kernel, the following vulnerability has been re…8.6
- CVE-2025-40047In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40048In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-40049In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4005A vulnerability was found in PHPGurukul COVID19 Testing Mana…9.8
- CVE-2025-40051In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40052In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40053In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2025-40054In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40055In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40056In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40050?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
