Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0cada33241d9de205522e3858b18e506ca5cce2c to < f17d21ea73918ace8afb9c2d8e734dbf71c2c9d7affected0cada33241d9de205522e3858b18e506ca5cce2c to < 7a3ca06d04d589deec81f56229a9a9d62352ce01affected0cada33241d9de205522e3858b18e506ca5cce2c to < 86dc27ee36f558fe223dbdfbfcb6856247356f4aaffected0cada33241d9de205522e3858b18e506ca5cce2c to < 6209319b2efdd8524691187ee99c40637558fa33affected0cada33241d9de205522e3858b18e506ca5cce2c to < aec7961916f3f9e88766e2688992da6980f11b8daffectedcf4cc95a15f599560c7abd89095a7973a4b9cec3affected9b81d43da15e56ed89f083f326561acdcaf549ceaffected5.4.44 to < 5.5affected5.6.16 to < 5.7affected
Linux Linux
Default version status: affected
5.7affected0 to < 5.7unaffected5.15.160 to ≤ 5.15.*unaffected6.1.79 to ≤ 6.1.*unaffected6.6.18 to ≤ 6.6.*unaffected6.7.6 to ≤ 6.7.*unaffected6.8 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f17d21ea73918ace8afb9c2d8e734dbf71c2c9d7 ↗
- https://git.kernel.org/stable/c/7a3ca06d04d589deec81f56229a9a9d62352ce01 ↗
- https://git.kernel.org/stable/c/86dc27ee36f558fe223dbdfbfcb6856247356f4a ↗
- https://git.kernel.org/stable/c/6209319b2efdd8524691187ee99c40637558fa33 ↗
- https://git.kernel.org/stable/c/aec7961916f3f9e88766e2688992da6980f11b8d ↗
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZOU3745CWCDZ7EMKMXB2OEEIB5Q3IWM/ ↗