tls: fix race between async notify and socket close
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 5.7, Kernel 86dc27ee36f558fe223dbdfbfcb6856247356f4a, Kernel aec7961916f3f9e88766e2688992da6980f11b8d and 8 more.
In the Linux kernel, the following vulnerability has been resolved: tls: fix race between async notify and socket close The submitting thread (one which called recvmsg/sendmsg) may exit as soon as the async crypto handler calls complete() so any code past that point risks touching already freed data. Try to avoid the locking and extra flags altogether. Have the main thread hold an extra reference, this way we can depend solely on the atomic ref counter for synchronization. Don't futz with reiniting the completion, either, we are now tightly controlling when completion fires.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.6.16 <5.7, >=0cada33241d9de205522e3858b18e506ca5cce2c <86dc27ee36f558fe223dbdfbfcb6856247356f4a, >=0cada33241d9de205522e3858b18e506ca5cce2c <aec7961916f3f9e88766e2688992da6980f11b8d, >=0cada33241d9de205522e3858b18e506ca5cce2c <f17d21ea73918ace8afb9c2d8e734dbf71c2c9d7, >=5.4.44 <5.5, =5.7, =9b81d43da15e56ed89f083f326561acdcaf549ce, =cf4cc95a15f599560c7abd89095a7973a4b9cec3, >=0cada33241d9de205522e3858b18e506ca5cce2c <6209319b2efdd8524691187ee99c40637558fa33, >=0cada33241d9de205522e3858b18e506ca5cce2c <7a3ca06d04d589deec81f56229a9a9d62352ce01 | 5.7, 86dc27ee36f558fe223dbdfbfcb6856247356f4a, aec7961916f3f9e88766e2688992da6980f11b8d, f17d21ea73918ace8afb9c2d8e734dbf71c2c9d7, 5.5, 6209319b2efdd8524691187ee99c40637558fa33, 7a3ca06d04d589deec81f56229a9a9d62352ce01 |
| linux-kernel: Kernel | >=5.7.0 <5.15.160, >=6.2.0 <6.6.18, >=6.7.0 <6.7.6, >=5.16.0 <6.1.79 | 5.15.160, 6.6.18, 6.7.6, 6.1.79 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket