CVE-2024-42079: NULL pointer dereference in Linux kernel GFS2 gfs2_log_flush
- Vendor
- Linux
CVE-2024-42079 is a NULL pointer dereference vulnerability in the Linux kernel GFS2 filesystem. Outstanding glock work can race with filesystem unmounting, causing gfs2_log_flush() to dereference the journal descriptor sdp->sd_jdesc after it has been set to NULL during teardown. The affected execution path is glock_work_func() → run_queue() → do_xmote() → inode_go_sync() → gfs2_log_flush(). Insufficient synchronization of journal-descriptor teardown and a missing NULL check can result in a kernel fault and denial of service.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause a kernel NULL pointer dereference, potentially crashing the system and disrupting workloads dependent on the affected host or GFS2 filesystem. The vulnerability is rated as having high availability impact, with no established confidentiality or integrity impact. Privilege escalation and arbitrary code execution are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patching is possible, minimize concurrent GFS2 activity during unmount operations and quiesce filesystem workloads before unmounting to reduce the likelihood of outstanding glock work overlapping teardown. Restrict untrusted local access and control who can initiate GFS2 lifecycle operations. These measures reduce exposure but are not a guaranteed workaround.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the GFS2 fix and reboot into the updated kernel. The fix sets sdp->sd_jdesc to NULL under the log flush lock in gfs2_jindex_free() and checks that the descriptor is non-NULL before dereferencing it in gfs2_log_flush(). Fixed upstream releases include 6.6.37, 6.9.8, and 6.10. Distribution fixes include Debian bookworm linux 6.1.162-1, RHEL 8 kernel 4.18.0-553.27.1.el8_10, and RHEL 8 kernel-rt 4.18.0-553.27.1.rt7.368.el8_10. RHEL 9 updates are provided through RHSA-2024:8162. Use the fixed package appropriate to the installed distribution and kernel branch.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-42079 exploited in the wild?
- As of Nov 10, 2026, Mallory has no reports of CVE-2024-42079 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-42079?
- As of Nov 10, 2026, Mallory has found no public exploit for CVE-2024-42079.
- Is there a patch for CVE-2024-42079?
- Install a vendor-supported kernel update containing the GFS2 fix and reboot into the updated kernel. The fix sets sdp->sd_jdesc to NULL under the log flush lock in gfs2_jindex_free() and checks that the descriptor is non-NULL before dereferencing it in gfs2_log_flush().
- What products are affected by CVE-2024-42079?
- Linux Kernel.
- How severe is CVE-2024-42079?
- CVE-2024-42079 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.27% (19th percentile) as of Nov 10, 2026.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.