CVE-2024-42307cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path
- 5.5MediumCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 89% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path Dan Carpenter reported a Smack static checker warning: fs/smb/client/cifsfs.c:1981 init_cifs() error: we previously assumed 'serverclose_wq' could be null (see line 1895) The patch which introduced the serverclose workqueue used the wrong oredering in error paths in init_cifs() for freeing it on errors.
Timeline
ID reserved
By Linux
- 18 days later
· 18 days later
Published
- 21 months later
· 21 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.21% · top 89% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 8c99dfb49bdc17edffc7ff3d46b400c8c291686c – < 6018971710fdc7739f8655c1540832b4bb903671
- affected 6f17163b9339fac92023a1d9bef22128db3b9a4b – < 160235efb4f9b55212dedff5de0094c606c4b303
- affected 173217bd73365867378b5e75a86f0049e1069ee8 – < 3739d711246d8fbc95ff73dbdace9741cdce4777
- affected 173217bd73365867378b5e75a86f0049e1069ee8 – < 193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2
- affected 40a5d14c9d3b585d55d3209fb5efe202dcaac926
- affected 6.1.85 – < 6.1.103
- affected 6.6.26 – < 6.6.44
- affected 6.8.5 – < 6.9
- affected 6.9
- unaffected < 6.9
- unaffected 6.1.103 – ≤ 6.1.*
- unaffected 6.6.44 – ≤ 6.6.*
- unaffected 6.10.3 – ≤ 6.10.*
- unaffected 6.11 – ≤ *
References
References5
- https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671 (opens in a new tab)
- https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303 (opens in a new tab)
- https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777 (opens in a new tab)
- https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-39530 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-42307)Record last updated .