Skip to main content
← All vulnerabilities
CVE-2024-42307

cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.103, 6.6.44, 6.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.1.85 · fixed in 6.1.103; From 6.6.26 · fixed in 6.6.44; From 6.8.5 · fixed in 6.9

  • Linux Linux

    6.9

References 4

git.kernel.org