Vulnerabilities · 2024 · Linux
CVE-2024-42307
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303 · Patch
- git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2 · Patch
- git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777 · Patch
- git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671 · Patch
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-42307
- cve.org/CVERecord?id=CVE-2024-42307
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.