{"id":"CVE-2024-42079","aliases":["CVE-2024-42079"],"related":[],"kind":"vulnerability","state":"published","title":"gfs2: Fix NULL pointer dereference in gfs2_log_flush","summary":"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->sd_jdesc to NULL under the log flush\nlock to provide exclusion against gfs2_log_flush().\n\nIn gfs2_log_flush(), check if sdp->sd_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 -> run_queue -> do_xmote -> inode_go_sync ->\ngfs2_log_flush).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->sd_jdesc to NULL under the log flush\nlock to provide exclusion against gfs2_log_flush().\n\nIn gfs2_log_flush(), check if sdp->sd_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 -> run_queue -> do_xmote -> inode_go_sync ->\ngfs2_log_flush).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gfs2: corrige la desreferencia del puntero NULL en gfs2_log_flush En gfs2_jindex_free(), establezca sdp-&gt;sd_jdesc en NULL bajo el bloqueo de descarga de registros para proporcionar exclusión contra gfs2_log_flush(). En gfs2_log_flush(), verifique si sdp-&gt;sd_jdesc no es NULL antes de desreferenciarlo. De lo contrario, podríamos encontrarnos con una desreferencia de puntero NULL cuando el trabajo de glock pendiente se ejecuta con un desmontaje (glock_work_func -&gt; run_queue -&gt; do_xmote -&gt; inode_go_sync -&gt; gfs2_log_flush).","source":"nvd"}],"published":"2024-07-29T15:52:41.360Z","modified":"2026-11-10T13:17:22.713Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"82218943058d5e3fe692a38b5a549479738dab33","fixed":"c3c5cfa3170c0940bc66a142859caac07d19b9d6","status":"affected"},{"type":"git","introduced":"82218943058d5e3fe692a38b5a549479738dab33","fixed":"5f6a84cfb33b34610623857bd93919dcb661e29b","status":"affected"},{"type":"git","introduced":"82218943058d5e3fe692a38b5a549479738dab33","fixed":"3429ef5f50909cee9e498c50f0c499b9397116ce","status":"affected"},{"type":"git","introduced":"82218943058d5e3fe692a38b5a549479738dab33","fixed":"f54f9d5368a4e92ede7dd078a62788dae3a7c6ef","status":"affected"},{"type":"git","introduced":"82218943058d5e3fe692a38b5a549479738dab33","fixed":"35264909e9d1973ab9aaa2a1b07cda70f12bb828","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.200","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.37","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.8","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.6.37"},{"status":"affected","introduced":"6.7","fixed":"6.9.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c3c5cfa3170c0940bc66a142859caac07d19b9d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f6a84cfb33b34610623857bd93919dcb661e29b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3429ef5f50909cee9e498c50f0c499b9397116ce","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f54f9d5368a4e92ede7dd078a62788dae3a7c6ef","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35264909e9d1973ab9aaa2a1b07cda70f12bb828","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:19:17.192Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42079","url":"https://www.cve.org/CVERecord?id=CVE-2024-42079","licence":"CVE Terms of Use","modified":"2026-11-10T12:33:18.971Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42079","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42079","licence":"Public domain","modified":"2026-11-10T13:17:22.713Z"}],"updatedAt":"2026-11-25T22:58:43.341Z","epss":{"score":0.00268,"percentile":0.20205,"date":"2026-12-01T12:00:22.000Z"}}