{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-42307","id":"CVE-2024-42307","title":"cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix potential null pointer use in destroy_workqueue in init_cifs error path\n\nDan Carpenter reported a Smack static checker warning:\n   fs/smb/client/cifsfs.c:1981 init_cifs()\n   error: we previously assumed 'serverclose_wq' could be null (see line 1895)\n\nThe patch which introduced the serverclose workqueue used the wrong\nor","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix potential null pointer use in destroy_workqueue in init_cifs error path\n\nDan Carpenter reported a Smack static checker warning:\n   fs/smb/client/cifsfs.c:1981 init_cifs()\n   error: we previously assumed 'serverclose_wq' could be null (see line 1895)\n\nThe patch which introduced the serverclose workqueue used the wrong\noredering in error paths in init_cifs() for freeing it on errors.","published":"2024-08-17T09:09:12.613Z","updated":"2026-11-17T07:02:35.299777790Z","reserved":"2024-07-30T07:40:12.273Z","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":"8c99dfb49bdc17edffc7ff3d46b400c8c291686c","lessThan":"6018971710fdc7739f8655c1540832b4bb903671","status":"affected","versionType":"git"},{"version":"6f17163b9339fac92023a1d9bef22128db3b9a4b","lessThan":"160235efb4f9b55212dedff5de0094c606c4b303","status":"affected","versionType":"git"},{"version":"173217bd73365867378b5e75a86f0049e1069ee8","lessThan":"3739d711246d8fbc95ff73dbdace9741cdce4777","status":"affected","versionType":"git"},{"version":"173217bd73365867378b5e75a86f0049e1069ee8","lessThan":"193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2","status":"affected","versionType":"git"},{"version":"40a5d14c9d3b585d55d3209fb5efe202dcaac926","status":"affected","versionType":"git"},{"version":"6.1.85","lessThan":"6.1.103","status":"affected","versionType":"semver"},{"version":"6.6.26","lessThan":"6.6.44","status":"affected","versionType":"semver"},{"version":"6.8.5","lessThan":"6.9","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","status":"unaffected","versionType":"semver"},{"version":"6.1.103","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.44","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.10.3","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42307.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42307","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.0021,"epssPercentile":0.11264,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-42307","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42307","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-42307","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-42307","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}