{"id":"CVE-2024-42079","summary":"gfs2: Fix NULL pointer dereference in gfs2_log_flush","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: Fix NULL pointer dereference in gfs2_log_flush\n\nIn gfs2_jindex_free(), set sdp-\u003esd_jdesc to NULL under the log flush\nlock to provide exclusion against gfs2_log_flush().\n\nIn gfs2_log_flush(), check if sdp-\u003esd_jdesc is non-NULL before\ndereferencing it.  Otherwise, we could run into a NULL pointer\ndereference when outstanding glock work races with an unmount\n(glock_work_func -\u003e run_queue -\u003e do_xmote -\u003e inode_go_sync -\u003e\ngfs2_log_flush).","modified":"2026-04-02T12:17:41.904232Z","published":"2024-07-29T15:52:41.360Z","related":["ALSA-2024:8162","ALSA-2024:8856","ALSA-2024:8870","SUSE-SU-2024:2894-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42079.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3429ef5f50909cee9e498c50f0c499b9397116ce"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35264909e9d1973ab9aaa2a1b07cda70f12bb828"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f6a84cfb33b34610623857bd93919dcb661e29b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3c5cfa3170c0940bc66a142859caac07d19b9d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f54f9d5368a4e92ede7dd078a62788dae3a7c6ef"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42079.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42079"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82218943058d5e3fe692a38b5a549479738dab33"},{"fixed":"c3c5cfa3170c0940bc66a142859caac07d19b9d6"},{"fixed":"5f6a84cfb33b34610623857bd93919dcb661e29b"},{"fixed":"3429ef5f50909cee9e498c50f0c499b9397116ce"},{"fixed":"f54f9d5368a4e92ede7dd078a62788dae3a7c6ef"},{"fixed":"35264909e9d1973ab9aaa2a1b07cda70f12bb828"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42079.json"}}],"schema_version":"1.7.5"}