{"id":"CVE-2024-42307","aliases":["CVE-2024-42307"],"related":[],"kind":"vulnerability","state":"published","title":"cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: cifs: corrige el posible uso de puntero nulo en destroy_workqueue en la ruta de error init_cifs Dan Carpenter informó una advertencia del verificador estático de Smack: fs/smb/client/cifsfs.c:1981 error init_cifs(): Anteriormente asumimos que 'serverclose_wq' podría ser nulo (ver línea 1895). El parche que introdujo la cola de trabajo serverclose utilizó un orden incorrecto en las rutas de error en init_cifs() para liberarlo de errores.","source":"nvd"}],"published":"2024-08-17T09:09:12.613Z","modified":"2026-06-17T07:49:13.690Z","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":"8c99dfb49bdc17edffc7ff3d46b400c8c291686c","fixed":"6018971710fdc7739f8655c1540832b4bb903671","status":"affected"},{"type":"git","introduced":"6f17163b9339fac92023a1d9bef22128db3b9a4b","fixed":"160235efb4f9b55212dedff5de0094c606c4b303","status":"affected"},{"type":"git","introduced":"173217bd73365867378b5e75a86f0049e1069ee8","fixed":"3739d711246d8fbc95ff73dbdace9741cdce4777","status":"affected"},{"type":"git","introduced":"173217bd73365867378b5e75a86f0049e1069ee8","fixed":"193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2","status":"affected"},{"type":"git","version":"40a5d14c9d3b585d55d3209fb5efe202dcaac926","status":"affected"},{"type":"semver","introduced":"6.1.85","fixed":"6.1.103","status":"affected"},{"type":"semver","introduced":"6.6.26","fixed":"6.6.44","status":"affected"},{"type":"semver","introduced":"6.8.5","fixed":"6.9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.1.103","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.44","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.3","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","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","introduced":"6.1.85","fixed":"6.1.103"},{"status":"affected","introduced":"6.6.26","fixed":"6.6.44"},{"status":"affected","introduced":"6.8.5","fixed":"6.10.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:10:12.002Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42307","url":"https://www.cve.org/CVERecord?id=CVE-2024-42307","licence":"CVE Terms of Use","modified":"2026-05-23T15:52:51.428Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42307","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42307","licence":"Public domain","modified":"2026-06-17T07:49:13.690Z"}],"updatedAt":"2026-11-25T22:58:44.478Z","epss":{"score":0.0021,"percentile":0.11799,"date":"2026-12-01T12:00:22.000Z"}}