NULL pointer dereference in Linux
CVE-2024-42307
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 11.2th percentile
- Published
- 2024-08-17
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 11.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 6.8.5, 173217bd73365867378b5e75a86f0049e1069ee8, 8c99dfb49bdc17edffc7ff3d46b400c8c291686c
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/6018971710fdc7739f8655c1540832b4bb903671 (Patch)
- git.kernel.org/stable/c/160235efb4f9b55212dedff5de0094c606c4b303 (Patch)
- git.kernel.org/stable/c/3739d711246d8fbc95ff73dbdace9741cdce4777 (Patch)
- git.kernel.org/stable/c/193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2 (Patch)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html