Linux
CVE-2024-42079
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v3.1 score of 5.5 with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H indicates a local attack vector with low complexity, requiring low privileges, with no user interaction needed, impacting only availability in the current scope. The EPSS score of 0.05% (percentile 14%) suggests very low real-world exploitation probability among surveilled systems, yet this conflicts with the ease of triggering (local, low-complexity, low-privilege requirements). This discrepancy suggests the vulnerability, while technically triggerable, requires precise race condition timing that may be difficult to exploit reliably in practice. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, and no public proof-of-concept has been disclosed according to available intelligence. From an SSVC perspective: exploitation is not known, but the attack is likely automatable through fuzzing or intentional race condition triggering; technical impact is complete availability loss (kernel panic); and the scope is limited to GFS2-based systems only. For typical Linux users (single-node deployments), this is a low-priority local DoS that requires attacker privileges, but for organizations running GFS2 clusters, unmount operations during heavy I/O warrant immediate patching. |
| Exploit ScenarioDerived | An unprivileged local user on a system running GFS2 could intentionally trigger a race condition by initiating concurrent glock operations (such as inode metadata access) while forcing a filesystem unmount operation in a separate thread or process. By timing these operations precisely to coincide with gfs2_log_flush() execution during the gfs2_jindex_free() cleanup sequence, the attacker can cause the kernel to dereference a null pointer in the journal descriptor structure, resulting in a kernel panic and complete system unavailability. No public proof-of-concept exploit has been disclosed, but the low attack complexity and low privilege requirements suggest this could be reliably triggered through fuzzing or intentional race condition exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 17, 2026
This is a null pointer dereference vulnerability in the Linux kernel's GFS2 (Global File System 2) subsystem that occurs during the log flush operation when a race condition exists between glock work and filesystem unmount. An unprivileged local attacker can trigger this vulnerability to cause a kernel panic and denial of service by timing glock operations to race with unmount, exploiting the fact that sdp->sd_jdesc is dereferenced without null checks. The vulnerability has patches available from the Linux kernel development team across multiple stable branches, and while the EPSS score is very low (0.05%), the impact is a complete system availability disruption through kernel crash.
RemediationAI
Apply the kernel security patch immediately by updating the Linux kernel to a version containing one of the fixes committed at git.kernel.org/stable with commit hashes 3429ef5f50909cee9e498c50f0c499b9397116ce, 35264909e9d1973ab9aaa2a1b07cda70f12bb828, 5f6a84cfb33b34610623857bd93919dcb661e29b, c3c5cfa3170c0940bc66a142859caac07d19b9d6, or f54f9d5368a4e92ede7dd078a62788dae3a7c6ef. For enterprise systems, work with your distribution vendor (Red Hat, Canonical, SUSE, Debian) to obtain backported kernels through their respective security channels. Until patching is feasible, minimize the risk by avoiding unmount operations on GFS2 filesystems during periods of active I/O and glock contention; however, this is not a reliable mitigation and patching should be prioritized. For clusters, perform rolling kernel updates to ensure high availability while patches are deployed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the GFS2 filesystem implementation, a shared-disk cluster filesystem used in Linux (CPE: cpe:2.3:o:linux:linux_kernel). The root cause is classified as CWE-476 (NULL Pointer Dereference) combined with a race condition in the gfs2_log_flush() function. The issue arises from inadequate synchronization between gfs2_jindex_free() which deallocates the journal index descriptor (sdp->sd_jdesc) and gfs2_log_flush() which may attempt to dereference it. The kernel's glock (Global Lock) subsystem triggers inode_go_sync() during lock transitions, which invokes gfs2_log_flush(). Without proper locking mechanisms and null checks, concurrent execution of unmount operations (setting sdp->sd_jdesc to NULL) and glock work (dereferencing sdp->sd_jdesc) creates a classic use-after-free/null-dereference window. The fix involves setting sdp->sd_jdesc to NULL under the log flush lock to provide mutual exclusion and adding explicit null pointer checks before dereferencing.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
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).
Executive ViewAI
CVE-2024-42079 presents moderate security risk, a null pointer dereference vulnerability rated CVSS 5.5. Exploitation could compromise the security of affected deployments. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB