CVE-2024-38570
Last modified
CVE-2024-38570 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix potential glock use-after-free on unmount When a DLM lockspace is released and there ares still locks in that lockspace, DLM will unlock those locks automatically. Commit fb6791d100d1b started exploiting this behavior to speed up filesystem unmount: gfs2 would simply free glocks it didn't want to unlock and then release the lockspace. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix potential glock use-after-free on unmount When a DLM lockspace is released and there ares still locks in that lockspace, DLM will unlock those locks automatically. Commit fb6791d100d1b started exploiting this behavior to speed up filesystem unmount: gfs2 would simply free glocks it didn't want to unlock and then release the lockspace. This didn't take the bast callbacks for asynchronous lock contention notifications into account, which remain active until until a lock is unlocked or its lockspace is released. To prevent those callbacks from accessing deallocated objects, put the glocks that should not be unlocked on the sd_dead_glocks list, release the lockspace, and only then free those glocks. As an additional measure, ignore unexpected ast and bast callbacks if the receiving glock is dead.
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 |
|---|---|---|
| Linux | Linux Kernel | >= 3.8, < 6.6.33 |
| Linux | Linux Kernel | >= 6.7, < 6.8.12 |
| Linux | Linux Kernel | >= 6.9, < 6.9.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-38570?
How severe is CVE-2024-38570?
How do I fix CVE-2024-38570?
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-38565In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38566In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38567In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38568In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-38569In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-3857The JIT created incorrect code for arguments in certain case…7.8
- CVE-2024-38571In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38572In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-38573In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2024-38574In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38575In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38576In the Linux kernel, the following vulnerability has been re…7
Are you affected by CVE-2024-38570?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
