CVE-2024-57934
Last modified
CVE-2024-57934 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: fgraph: Add READ_ONCE() when accessing fgraph_array[] In __ftrace_return_to_handler(), a loop iterates over the fgraph_array[] elements, which are fgraph_ops. The loop checks if an element is a fgraph_stub to prevent using a fgraph_stub afterward. However, if the compiler reloads fgraph_array[] after this check, it might race with an update to fgraph_array[] that introduces a fgraph_stub. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: fgraph: Add READ_ONCE() when accessing fgraph_array[] In __ftrace_return_to_handler(), a loop iterates over the fgraph_array[] elements, which are fgraph_ops. The loop checks if an element is a fgraph_stub to prevent using a fgraph_stub afterward. However, if the compiler reloads fgraph_array[] after this check, it might race with an update to fgraph_array[] that introduces a fgraph_stub. This could result in the stub being processed, but the stub contains a null "func_hash" field, leading to a NULL pointer dereference. To ensure that the gops compared against the fgraph_stub matches the gops processed later, add a READ_ONCE(). A similar patch appears in commit 63a8dfb ("function_graph: Add READ_ONCE() when accessing fgraph_array[]").
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.11, < 6.12.9 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-57934?
How severe is CVE-2024-57934?
How do I fix CVE-2024-57934?
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-57929In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-5793The Houzez Theme - Functionality plugin for WordPress is vul…8.8
- CVE-2024-57930In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57931In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57932In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57933In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57935In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57936In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57937Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-57938In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57939In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-57940In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-57934?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
