CVE-2024-40951
Last modified
CVE-2024-40951 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix NULL pointer dereference in ocfs2_abort_trigger() bdev->bd_super has been removed and commit 8887b94d9322 change the usage from bdev->bd_super to b_assoc_map->host->i_sb. Since ocfs2 hasn't set bh->b_assoc_map, it will trigger NULL pointer dereference when calling into ocfs2_abort_trigger(). Actually this was pointed out in history, see commit 74e364ad1b13. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix NULL pointer dereference in ocfs2_abort_trigger() bdev->bd_super has been removed and commit 8887b94d9322 change the usage from bdev->bd_super to b_assoc_map->host->i_sb. Since ocfs2 hasn't set bh->b_assoc_map, it will trigger NULL pointer dereference when calling into ocfs2_abort_trigger(). Actually this was pointed out in history, see commit 74e364ad1b13. But I've made a mistake when reviewing commit 8887b94d9322 and then re-introduce this regression. Since we cannot revive bdev in buffer head, so fix this issue by initializing all types of ocfs2 triggers when fill super, and then get the specific ocfs2 trigger from ocfs2_caching_info when access journal. [joseph.qi@linux.alibaba.com: v2]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.6, < 6.6.36 | — |
| Linux | Linux Kernel | >= 6.7, < 6.9.7 | — |
| Linux | Linux Kernel | 6.10 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-40951?
How severe is CVE-2024-40951?
How do I fix CVE-2024-40951?
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-40946Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-40947In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40948In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40949In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4095The Collapse-O-Matic plugin for WordPress is vulnerable to S…6.4
- CVE-2024-40950In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40952In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40953In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-40954In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-40955In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-40956In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-40957In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-40951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
