CVE-2024-42079

gfs2: Fix NULL pointer dereference in gfs2_log_flush

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 03:52 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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).

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.376.7 ≤ v < 6.9.85.1282218943058d5e3fe692a38b5a549479738dab33
Vendor states this is fixed in 3429ef5f50909cee9e498c50f0c499b9397116ce (fixed)
Vendor states this is fixed in 35264909e9d1973ab9aaa2a1b07cda70f12bb828 (fixed)
Vendor states this is fixed in 5f6a84cfb33b34610623857bd93919dcb661e29b (fixed)
Vendor states this is fixed in c3c5cfa3170c0940bc66a142859caac07d19b9d6 (fixed)
Vendor states this is fixed in f54f9d5368a4e92ede7dd078a62788dae3a7c6ef (fixed)
Vendor states this is fixed in 5.12 (unaffected)
Vendor states this is fixed in 5.15.200 (unaffected)
Vendor states this is fixed in 6.1.162 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.37 (unaffected)
Vendor states this is fixed in 6.9.8 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card