CVE-2024-42079

MEDIUM

Linux Kernel - NULL Pointer Dereference in gfs2_log_flush

Title source: llm
STIX 2.1

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

Scores

CVSS v3 5.5
EPSS 0.0027
EPSS Percentile 18.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (17)
linux/Kernel 5.12.0 - 5.15.200linux
linux/Kernel 5.16.0 - 6.1.162linux
linux/Kernel 6.2.0 - 6.6.37linux
linux/Kernel 6.7.0 - 6.9.8linux
Linux/Linux < 5.12
Linux/Linux 5.12
Linux/Linux 5.15.200 - 5.15.*
Linux/Linux 6.1.162 - 6.1.*
Linux/Linux 6.10
Linux/Linux 6.6.37 - 6.6.*
... and 7 more
Published Jul 29, 2024
Tracked Since Feb 18, 2026