CVE-2024-40909
Last modified
CVE-2024-40909 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a potential use-after-free in bpf_link_free() After commit 1a80dbcb2dba, bpf_link can be freed by link->ops->dealloc_deferred, but the code still tests and uses link->ops->dealloc afterward, which leads to a use-after-free as reported by syzbot. Actually, one of them should be sufficient, so just call one of them instead of both. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a potential use-after-free in bpf_link_free() After commit 1a80dbcb2dba, bpf_link can be freed by link->ops->dealloc_deferred, but the code still tests and uses link->ops->dealloc afterward, which leads to a use-after-free as reported by syzbot. Actually, one of them should be sufficient, so just call one of them instead of both. Also add a WARN_ON() in case of any problematic implementation.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.6.26, < 6.6.35 | — |
| Linux | Linux Kernel | >= 6.9, < 6.9.6 | — |
| Linux | Linux Kernel | 6.10 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-40909?
How severe is CVE-2024-40909?
How do I fix CVE-2024-40909?
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 2024
- CVE-2024-40903In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-40904In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40905In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-40906In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-40907In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40908In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4091The Responsive Gallery Grid WordPress plugin before 2.3.15 d…3.5
- CVE-2024-40910In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40911In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40912In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40913In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-40914In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-40909?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
