🔍 CVE-2026-23372

7.8
CVSS Score
HIGH
2026-03-25
2026-10-15 02:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NFC rawsock 구성 요소에서 소켓 해제 시 대기 중인 전송 작업(tx_work)을 적절히 취소하지 않아 발생하는 취약점입니다. 프로세스가 강제 종료될 때 동기화 없이 장치 해제가 이루어지면 Use-After-Free 또는 참조 누수가 발생할 수 있습니다.

💡 쉬운 설명

NFC 통신을 사용하는 시스템에서 프로그램이 갑자기 꺼질 때, 처리 중이던 데이터 작업이 엉뚱한 메모리 주소를 참조하여 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nfc: rawsock: cancel tx_work before socket teardown In rawsock_release(), cancel any pending tx_work and purge the write queue before orphaning the socket. rawsock_tx_work runs on the system workqueue and calls nfc_data_exchange which dereferences the NCI device. Without synchronization, tx_work can race with socket and device teardown when a process is killed (e.g. by SIGKILL), leading to use-after-free or leaked references. Set SEND_SHUTDOWN first so that if tx_work is already running it will see the flag and skip transmitting, then use cancel_work_sync to wait for any in-progress execution to finish, and finally purge any remaining queued skbs.

📍 영향받는 시스템

Linux kernel (NFC rawsock module 사용 환경)

⚔️ 공격 벡터

로컬 프로세스 강제 종료(SIGKILL)를 통한 Race Condition 유도

🛡️ 대응 방법

NFC rawsock 관련 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel