cifs: fix session state check in reconnect to avoid use-after-free issue
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 99f280700b4cc02d5f141b8d15f8e9fad0418f65, Kernel 3.11, Kernel 3.13 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: cifs: fix session state check in reconnect to avoid use-after-free issue Don't collect exiting session in smb2_reconnect_server(), because it will be released soon. Note that the exiting session will stay in server->smb_ses_list until it complete the cifs_free_ipc() and logoff() and then delete itself from the list.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4fcd1813e6404dd4420c7d12fb483f9320f0bf93 <99f280700b4cc02d5f141b8d15f8e9fad0418f65, >=3.10.103 <3.11, >=3.12.63 <3.13, >=3.14.74 <3.15, >=3.16.37 <3.17, >=3.18.37 <3.19, >=4.1.28 <4.2, >=4.4.16 <4.5, >=4.6.5 <4.7, >=4fcd1813e6404dd4420c7d12fb483f9320f0bf93 <759ffc164d95a32c09528766d74d9b4fb054e8f4, >=4fcd1813e6404dd4420c7d12fb483f9320f0bf93 <7e4f5c3f01fb0e51ca438e43262d858daf9a0a76, =2e4378ee60049b752c9dce16f62ce6fbd11b379a, =4.7, =419fad68e4c4135ff9859e9214dd6cf954413ca1, =4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba, =599fe1409085059ba12a2c3897c853be9fa9e7cf, =59b520454b323ec43b2ae757217332cea33091e0, =655e0c067f0e02ece03fd0591dabe3db2ae27552, =875cc09c0767a4ac06b57af383709657f98b3ea1, =e20c888e2b3576e5f498c167729d274ef60b86f8 | 99f280700b4cc02d5f141b8d15f8e9fad0418f65, 3.11, 3.13, 3.15, 3.17, 3.19, 4.2, 4.5, 4.7, 759ffc164d95a32c09528766d74d9b4fb054e8f4, 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76 |
| linux-kernel: Kernel | >=3.12.63 <3.13, >=3.14.74 <3.15, >=3.16.37 <3.17, >=3.18.37 <3.19, >=4.1.28 <4.2, >=4.4.16 <4.5, >=4.6.5 <4.7, >=4.7.0 <6.1.47, >=6.2.0 <6.4.12, >=3.10.103 <3.11 | 3.13, 3.15, 3.17, 3.19, 4.2, 4.5, 4.7, 6.1.47, 6.4.12, 3.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket