CVE-2024-42307

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-42307
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42307.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42307
Downstream
Related
Published
2024-08-17T09:15:10Z
Modified
2025-08-09T20:01:27Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

cifs: fix potential null pointer use in destroyworkqueue in initcifs error path

Dan Carpenter reported a Smack static checker warning: fs/smb/client/cifsfs.c:1981 initcifs() error: we previously assumed 'serverclosewq' 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.

References

Affected packages