CVE-2024-26583 tls: fix race between async notify and socket close
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.4.44 이상 5.5 미만
- 5.6.16 이상 5.7 미만
- 5.7
해결 버전
- 5.5 이상
- 5.7 이상
- 5.7 미만
- 5.15.160 이상
- 6.1.79 이상
- 6.6.18 이상
- 6.7.6 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/6209319b2efdd8524691187ee99c40637558fa33 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7a3ca06d04d589deec81f56229a9a9d62352ce01 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/86dc27ee36f558fe223dbdfbfcb6856247356f4a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/aec7961916f3f9e88766e2688992da6980f11b8d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f17d21ea73918ace8afb9c2d8e734dbf71c2c9d7 (새 창)