Skip to main content

Linux CVE-2024-42079

MEDIUM
NULL Pointer Dereference (CWE-476)
2024-07-29 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 5.5 MEDIUM
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch released
Mar 17, 2026 - 20:45 nvd
Patch available
CVE Published
Jul 29, 2024 - 16:15 nvd
MEDIUM 5.5

DescriptionNVD

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: enable ASLR/DEP, apply network segmentation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Threat Intel
2
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

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.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy