LiveActive security incident?Get immediate response
CVE Record

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

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[]").

MediumCVSS 4.7Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue can crash affected systems through a null pointer dereference in function graph tracing code. The business impact is availability, not data theft. Exploitation requires local low-privileged access and difficult race conditions, so urgency is controlled but real for shared or multi-user Linux environments.

Executive priority

Treat as a scheduled kernel maintenance item, accelerated for shared Linux infrastructure. It is not currently evidenced as remotely exploitable or actively exploited, but unpatched systems may be vulnerable to local denial of service.

Technical view

__ftrace_return_to_handler() checks fgraph_array[] for fgraph_stub, but compiler reloads could race with updates and process a stub whose func_hash is null. The fix uses READ_ONCE() so the checked fgraph_ops entry is the same one later processed. CVSS is 4.7: local, high complexity, low privileges, high availability impact.

Likely exposure

Exposure is limited to Linux systems running affected kernel builds identified in the CVE data, including 6.11, 6.12.9, and 6.13 entries. Internet-facing services are not directly exposed unless an attacker already has local code execution or user access on the host.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. The CVSS vector indicates local access, high attack complexity, and low privileges. Practical concern is local denial of service on systems where affected tracing paths can be reached.

Researcher notes

Key uncertainty is affected-version mapping and distribution backports. Validate against vendor kernels, not upstream version strings alone. The issue is a race/consistency bug in fgraph_array[] access and the remedy is the READ_ONCE() stabilization shown in kernel stable references.

Mitigation direction

  • Update to kernel or distribution packages containing the referenced stable fixes.
  • Prioritize multi-user, shared compute, and container-host environments first.
  • Check vendor advisories for backported fixes before judging by version alone.
  • Restrict unnecessary local user access on sensitive Linux hosts.
  • Monitor for kernel crash patterns involving ftrace or function graph tracing.

Validation and detection

  • Inventory Linux kernel versions across servers, desktops, and appliances.
  • Confirm whether vendor packages include commits b68b2a3f or d6547403.
  • Review distro security trackers for affected and fixed package status.
  • Check crash logs for NULL dereferences in ftrace return handling.
  • Document exceptions where vendor guidance is unavailable or pending.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-476: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-57934 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.7CVSS 3.1MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H13.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

4.7Medium
CVSS 3.1 vector shape for CVE-2024-57934Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux37238abe3cb47b8daaa8706c9949f67b2a705cf1, 37238abe3cb47b8daaa8706c9949f67b2a705cf1unaffected
LinuxLinux6.11, 0, 6.12.9, 6.13affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.