All reports
Medium

kernel: gfs2: Fix NULL pointer dereference in gfs2_log_flush

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-42079

Probability of exploitation in the next 30 days: 0.27%

FIRST EPSS · 2026-11-20

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

A flaw was found in the Linux kernel's GFS2 (Global File System 2) file system. A race condition between unmounting the file system and concurrent lock processing can cause a NULL pointer dereference during log flushing. A local user could exploit this vulnerability to trigger a system crash, resulting in a Denial of Service (DoS).