cifs: prevent use-after-free by freeing the cfile later
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d017880782cf71f8820ee4a2002843893176501d, Kernel 6.1, Kernel 33f736187d08f6bc822117629f263b97d3df4165 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: cifs: prevent use-after-free by freeing the cfile later In smb2_compound_op we have a possible use-after-free which can cause hard to debug problems later on. This was revealed during stress testing with KASAN enabled kernel. Fixing it by moving the cfile free call to a few lines below, after the usage.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=76894f3e2f71177747b8b4763fb180e800279585 <d017880782cf71f8820ee4a2002843893176501d, >=6.0.16 <6.1, >=76894f3e2f71177747b8b4763fb180e800279585 <33f736187d08f6bc822117629f263b97d3df4165, >=76894f3e2f71177747b8b4763fb180e800279585 <4fe07d55a5461e66a55fbefb57f85ff0facea32b, >=76894f3e2f71177747b8b4763fb180e800279585 <b6353518ef8180816e863aa23b06456f395404d6, =2d046892a493d9760c35fdaefc3017f27f91b621, =6.1 | d017880782cf71f8820ee4a2002843893176501d, 6.1, 33f736187d08f6bc822117629f263b97d3df4165, 4fe07d55a5461e66a55fbefb57f85ff0facea32b, b6353518ef8180816e863aa23b06456f395404d6 |
| linux-kernel: Kernel | >=6.1.0 <6.1.39, >=6.2.0 <6.3.13, >=6.4.0 <6.4.4, >=6.0.16 <6.1 | 6.1.39, 6.3.13, 6.4.4, 6.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket