{"id":"CVE-2024-42307","published":"2024-08-17T09:09:12Z","modified":"2026-05-23T15:52:51Z","title":"cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0021,"percentile":0.11359,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671","tags":[]},{"url":"https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303","tags":[]},{"url":"https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777","tags":[]},{"url":"https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.27}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8c99dfb49bdc17edffc7ff3d46b400c8c291686c, < 6018971710fdc7739f8655c1540832b4bb903671",">= 6f17163b9339fac92023a1d9bef22128db3b9a4b, < 160235efb4f9b55212dedff5de0094c606c4b303",">= 173217bd73365867378b5e75a86f0049e1069ee8, < 3739d711246d8fbc95ff73dbdace9741cdce4777",">= 173217bd73365867378b5e75a86f0049e1069ee8, < 193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2","40a5d14c9d3b585d55d3209fb5efe202dcaac926",">= 6.1.85, < 6.1.103",">= 6.6.26, < 6.6.44",">= 6.8.5, < 6.9"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:10:12.002656Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39530","exploited":false,"provenance":"source"}}