🇰🇷 한글 설명
리눅스 커널의 TLS 구현에서 비동기 알림과 소켓 종료 간의 레이스 컨디션 취약점이 발견되었습니다. 데이터 전송을 요청한 스레드가 비동기 암호화 핸들러의 완료 신호를 받자마자 종료될 수 있어, 이미 해제된 메모리에 접근할 위험이 있습니다.
💡 쉬운 설명
데이터를 주고받는 과정에서 통신 통로가 닫히는 타이밍과 작업이 끝나는 타이밍이 어긋나 발생하는 문제입니다. 이로 인해 컴퓨터가 이미 삭제된 데이터를 다시 건드리게 되어 시스템 오류나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
TLS 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 타이밍에 소켓을 닫고 데이터를 전송하는 조작을 통해 메모리 오류 유도
🛡️ 대응 방법
최신 보안 패치가 적용된 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인