CVE-2024-57934: fgraph: Add READ_ONCE() when accessing fgraph_array[]

Published Jan 21, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fgraph: Add READONCE() when accessing fgrapharray[]

In ftracereturntohandler(), a loop iterates over the fgrapharray[] elements, which are fgraphops. The loop checks if an element is a fgraphstub to prevent using a fgraphstub afterward.

However, if the compiler reloads fgrapharray[] after this check, it might race with an update to fgrapharray[] that introduces a fgraphstub. This could result in the stub being processed, but the stub contains a null "funchash" field, leading to a NULL pointer dereference.

To ensure that the gops compared against the fgraphstub matches the gops processed later, add a READONCE(). A similar patch appears in commit 63a8dfb ("functiongraph: Add READONCE() when accessing fgrapharray[]").

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

8 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=6.11<6.12.9
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Jan 21, 2025
CVE Published
via MITRE·12:01 PM
Data Sourced
via MITRE·12:01 PM
Description
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 31, 2025
Data Sourced
via Launchpad·06:51 PM
Description
Apr 4, 2025
Data Sourced
via Ubuntu·06:47 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-57934?

CVE-2024-57934 is considered a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-57934?

To fix CVE-2024-57934, update the Linux kernel to the latest stable version that contains the patch.

3

What systems are affected by CVE-2024-57934?

CVE-2024-57934 affects the Linux kernel across multiple distributions that utilize this version.

4

Can CVE-2024-57934 be exploited remotely?

CVE-2024-57934 does not appear to be exploitable remotely as it requires local access to the system.

5

What impact does CVE-2024-57934 have on system security?

CVE-2024-57934 could potentially lead to unauthorized access to sensitive data or system resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203