{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-42079","id":"CVE-2024-42079","title":"gfs2: Fix NULL pointer dereference in gfs2_log_flush","description":"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 ","descriptionLong":"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).","published":"2024-07-29T15:52:41.360Z","updated":"2026-11-12T02:30:40.621445849Z","reserved":"2024-07-29T15:50:41.169Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82218943058d5e3fe692a38b5a549479738dab33","lessThan":"c3c5cfa3170c0940bc66a142859caac07d19b9d6","status":"affected","versionType":"git"},{"version":"82218943058d5e3fe692a38b5a549479738dab33","lessThan":"5f6a84cfb33b34610623857bd93919dcb661e29b","status":"affected","versionType":"git"},{"version":"82218943058d5e3fe692a38b5a549479738dab33","lessThan":"3429ef5f50909cee9e498c50f0c499b9397116ce","status":"affected","versionType":"git"},{"version":"82218943058d5e3fe692a38b5a549479738dab33","lessThan":"f54f9d5368a4e92ede7dd078a62788dae3a7c6ef","status":"affected","versionType":"git"},{"version":"82218943058d5e3fe692a38b5a549479738dab33","lessThan":"35264909e9d1973ab9aaa2a1b07cda70f12bb828","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"5.15.200","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.162","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.37","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.8","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c3c5cfa3170c0940bc66a142859caac07d19b9d6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5f6a84cfb33b34610623857bd93919dcb661e29b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3429ef5f50909cee9e498c50f0c499b9397116ce","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f54f9d5368a4e92ede7dd078a62788dae3a7c6ef","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/35264909e9d1973ab9aaa2a1b07cda70f12bb828","tags":["x_transferred","Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42079.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42079","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00268,"epssPercentile":0.19187,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-42079","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42079","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-42079","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-42079","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}