CVE-2024-42079

Medium

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

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedJul 29, 2024
First seenJul 29, 2024

How to fix

Update
  • linux linux_kernel6.6.37, 6.9.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernelv < 6.6.37, 6.7 ≤ v < 6.9.86.6.37, 6.9.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.