CVE-2024-42079: gfs2: Fix NULL pointer dereference in gfs2_log_flush
In the Linux kernel, the following vulnerability has been resolved:
gfs2: Fix NULL pointer dereference in gfs2_log_flush
In gfs2_jindex_free(), set sdp->sd_jdesc to NULL under the log flush
lock to provide exclusion against gfs2_log_flush().
In gfs2_log_flush(), check if sdp->sd_jdesc is non-NULL before
dereferencing it. Otherwise, we could run into a NULL pointer
dereference when outstanding glock work races with an unmount
(glock_work_func -> run_queue -> do_xmote -> inode_go_sync ->
gfs2_log_flush).
Security readout for executives and security teams
Plain-English summary
CVE-2024-42079 is a Linux kernel flaw in the GFS2 filesystem path. A race during unmount can cause a NULL pointer dereference, likely leading to a kernel crash or service interruption. The sources do not show active exploitation or a CVSS score.
Executive priority
Treat as a targeted reliability risk for Linux GFS2 environments. Patch during normal vulnerability maintenance, escalating priority for clustered storage or systems where kernel crashes would cause operational disruption.
Technical view
The issue is in gfs2_log_flush. Outstanding glock work can race with unmount, leaving sdp->sd_jdesc NULL while gfs2_log_flush dereferences it. The upstream fix sets sd_jdesc to NULL under the log flush lock and checks it before dereference.
Likely exposure
Exposure is most relevant to Linux systems using GFS2, especially clustered or shared-storage deployments. Systems not using GFS2 are less likely to be practically exposed, but kernel package status still needs inventory validation.
Exploitation context
The provided sources do not indicate KEV listing, public exploitation, exploit maturity, or remote attack details. Evidence supports a race-condition crash scenario, not confirmed code execution or active exploitation.
Researcher notes
The source evidence is limited to the kernel fix description, affected-version metadata, stable commit references, and a Siemens advisory. No CVSS, CWE, exploit status, or detailed product impact is provided in the bundle.
Mitigation direction
Apply vendor kernel updates containing the referenced stable fixes.
Prioritize systems using GFS2 or clustered shared storage.
Check Siemens guidance if Siemens products are in scope.
If patches are unavailable, monitor vendor advisories for supported mitigation guidance.
Validation and detection
Inventory Linux kernel versions across affected assets.
Confirm whether GFS2 is enabled or mounted on each system.
Compare installed kernels against vendor fixed versions or stable commits.
Review logs for kernel crashes around GFS2 unmount activity.
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.
cve · low confidence lookup
CVE-2024-42079 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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.