🇰🇷 한글 설명
리눅스 커널의 NFC LLCP 소켓 처리 과정에서 경합 조건(Race Condition)으로 인한 Use-After-Free(UAF) 취약점이 발견되었습니다. 소켓 참조를 획득하는 과정에서 잠금(Lock) 해제 시점이 적절하지 않아 메모리 관리 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 NFC 통신을 처리할 때, 데이터를 주고받는 통로(소켓)를 사용하는 도중에 갑자기 통로가 사라져서 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
Sili Luo reported a race in nfc_llcp_sock_get(), leading to UAF.
Getting a reference on the socket found in a lookup while
holding a lock should happen before releasing the lock.
nfc_llcp_sock_get_sn() has a similar problem.
Finally nfc_llcp_recv_snl() needs to make sure the socket
found by nfc_llcp_sock_from_sn() does not disappear.
📍 영향받는 시스템
NFC 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
NFC 통신 과정에서 의도적으로 경합 조건을 유도하여 메모리 오류를 일으키는 방식
🛡️ 대응 방법
NFC 관련 패치가 적용된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인