🔍 CVE-2026-31673

7.8
CVSS Score
HIGH
2026-04-25
2026-10-19 19:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 af_unix 구성 요소에서 UNIX_DIAG_VFS 데이터를 읽을 때 unix_state_lock을 유지하지 않아 발생하는 취약점입니다. 이로 인해 소켓 경로 정보가 해제된 후 접근을 시도할 경우 데이터 불일치나 메모리 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터 내부의 통신 통로 정보를 읽는 과정에서, 정보가 삭제되는 타이밍과 읽는 타이밍이 맞지 않아 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: af_unix: read UNIX_DIAG_VFS data under unix_state_lock Exact UNIX diag lookups hold a reference to the socket, but not to u->path. Meanwhile, unix_release_sock() clears u->path under unix_state_lock() and drops the path reference after unlocking. Read the inode and device numbers for UNIX_DIAG_VFS while holding unix_state_lock(), then emit the netlink attribute after dropping the lock. This keeps the VFS data stable while the reply is being built.

📍 영향받는 시스템

Linux Kernel (af_unix 관련 모듈을 사용하는 모든 버전)

⚔️ 공격 벡터

로컬 시스템에서 특수하게 조작된 Netlink 메시지를 통해 UNIX 소켓 진단 정보를 요청하여 레이스 컨디션 유도

🛡️ 대응 방법

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