
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-42307 addresses a potential null pointer dereference vulnerability in the Linux kernel's CIFS (Common Internet File System) implementation. The issue was discovered in the error handling path of the init_cifs function, specifically related to the serverclose workqueue cleanup. The vulnerability affects Linux kernel versions from 6.1.85 up to 6.1.103, 6.6.26 up to 6.6.44, and 6.8.5 up to 6.10.3 (NVD).
The vulnerability stems from incorrect ordering in error paths within the initcifs() function for freeing the serverclose workqueue. Dan Carpenter identified this issue through a Smack static checker warning in fs/smb/client/cifsfs.c:1981, where it was found that serverclosewq could potentially be null at line 1895. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The vulnerability could lead to a null pointer dereference in the destroy_workqueue function during the CIFS module initialization error path. This could potentially result in a system crash or denial of service condition when the CIFS filesystem module is being loaded or unloaded (Kernel Patch).
The vulnerability has been fixed through patches that correct the ordering of workqueue cleanup in the error handling path. The fix has been backported to affected stable kernel versions. Users should update to Linux kernel versions 6.1.103 or later, 6.6.44 or later, or 6.10.3 or later to address this vulnerability (Debian Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."