cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6018971710fdc7739f8655c1540832b4bb903671, Kernel 6.1.103, Kernel 6.6.44 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8c99dfb49bdc17edffc7ff3d46b400c8c291686c <6018971710fdc7739f8655c1540832b4bb903671, >=6.1.85 <6.1.103, >=6.6.26 <6.6.44, >=6.8.5 <6.9, >=6f17163b9339fac92023a1d9bef22128db3b9a4b <160235efb4f9b55212dedff5de0094c606c4b303, =40a5d14c9d3b585d55d3209fb5efe202dcaac926, =6.9, >=173217bd73365867378b5e75a86f0049e1069ee8 <193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2, >=173217bd73365867378b5e75a86f0049e1069ee8 <3739d711246d8fbc95ff73dbdace9741cdce4777 | 6018971710fdc7739f8655c1540832b4bb903671, 6.1.103, 6.6.44, 6.9, 160235efb4f9b55212dedff5de0094c606c4b303, 193cc89ea0ca1da311877d2b4bb5e9f03bcc82a2, 3739d711246d8fbc95ff73dbdace9741cdce4777 |
| linux-kernel: Kernel | >=6.6.26 <6.6.44, >=6.8.5 <6.9, >=6.9.0 <6.10.3, >=6.1.85 <6.1.103 | 6.6.44, 6.9, 6.10.3, 6.1.103 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket