cifs: fix potential race when tree connecting ipc
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel ee20d7c6100752eaf2409d783f4f1449c29ea33d, Kernel 5.16, Kernel 536ec71ba060a02fabe8e22cecb82fe7b3a8708b and 3 more.
In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential race when tree connecting ipc Protect access of TCP_Server_Info::hostname when building the ipc tree name as it might get freed in cifsd thread and thus causing an use-after-free bug in __tree_connect_dfs_target(). Also, while at it, update status of IPC tcon on success and then avoid any extra tree connects.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e <ee20d7c6100752eaf2409d783f4f1449c29ea33d, >=5.15.81 <5.16, >=c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e <536ec71ba060a02fabe8e22cecb82fe7b3a8708b, >=c88f7dcd6d6429197fc2fd87b54a894ffcd48e8e <553476df55a111e6a66ad9155256aec0ec1b7ad0, =5.16, =81d583baa5f1abd73c755ce1992929debd20b687 | ee20d7c6100752eaf2409d783f4f1449c29ea33d, 5.16, 536ec71ba060a02fabe8e22cecb82fe7b3a8708b, 553476df55a111e6a66ad9155256aec0ec1b7ad0 |
| linux-kernel: Kernel | >=5.16.0 <6.2.15, >=6.3.0 <6.3.2, >=5.15.81 <5.16 | 6.2.15, 6.3.2, 5.16 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket