Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.1.85, < 6.1.103 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303Patch
- https://git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2Patch
- https://git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777Patch
- https://git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
FAQ
What is CVE-2024-42307?
CVE-2024-42307 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 wa...
How severe is CVE-2024-42307?
CVE-2024-42307 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-42307?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.