Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-42307

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

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8c99dfb49bdc17edffc7ff3d46b400c8c291686c to < 6018971710fdc7739f8655c1540832b4bb903671affected
  • 6f17163b9339fac92023a1d9bef22128db3b9a4b to < 160235efb4f9b55212dedff5de0094c606c4b303affected
  • 173217bd73365867378b5e75a86f0049e1069ee8 to < 3739d711246d8fbc95ff73dbdace9741cdce4777affected
  • 173217bd73365867378b5e75a86f0049e1069ee8 to < 193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2affected
  • 40a5d14c9d3b585d55d3209fb5efe202dcaac926affected
  • 6.1.85 to < 6.1.103affected
  • 6.6.26 to < 6.6.44affected
  • 6.8.5 to < 6.9affected

Linux Linux

Default version status: affected

  • 6.9affected
  • 0 to < 6.9unaffected
  • 6.1.103 to ≤ 6.1.*unaffected
  • 6.6.44 to ≤ 6.6.*unaffected
  • 6.10.3 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References