CVE-2023-54006 in Linux정보

요약

\~에 의해 VulDB • 2026. 06. 30.

리눅스 커널에서 다음 취약점이 해결되었습니다:

af_unix: unix_tot_inflight 주변의 데이터 레이스(data-race) 수정

unix_tot_inflight는 spin_lock(unix_gc_lock) 하에서 변경되지만, unix_release_sock()은 락 없이(locklessly) 이를 읽습니다.

unix_tot_inflight에 READ_ONCE()를 사용하도록 합니다.

참고로, 작성자 측(writer side)은 커밋 9d6d7f1cb67c("af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress")에서 unix_tot_inflight 및 gc_in_progress에 대한 락 없는 접근(lockless accesses)을 주석 처리했습니다.

BUG: KCSAN: unix_inflight / unix_release_sock에서의 데이터 레이스

task 123이 cpu 1에서 4바이트 크기인 주소 0xffffffff871852b8를 기록(기록은 표시됨): unix_inflight+0x130/0x180 net/unix/scm.c:64 unix_attach_fds+0x137/0x1b0 net/unix/scm.c:123 unix_scm_to_skb net/unix/af_unix.c:1832 [inline]
unix_dgram_sendmsg+0x46a/0x14f0 net/unix/af_unix.c:1955 sock_sendmsg_nosec net/socket.c:724 [inline]
sock_sendmsg+0x148/0x160 net/socket.c:747 ____sys_sendmsg+0x4e4/0x610 net/socket.c:2493 ___sys_sendmsg+0xc6/0x140 net/socket.c:2547 __sys_sendmsg+0x94/0x140 net/socket.c:2576 __do_sys_sendmsg net/socket.c:2585 [inline]
__se_sys_sendmsg net/socket.c:2583 [inline]
__x64_sys_sendmsg+0x45/0x50 net/socket.c:2583 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x72/0xdc

task 4891이 cpu 0에서 4바이트 크기인 주소 0xffffffff871852b8를 읽음: unix_release_sock+0x608/0x910 net/unix/af_unix.c:671 unix_release+0x59/0x80 net/unix/af_unix.c:1058 __sock_release+0x7d/0x170 net/socket.c:653 sock_close+0x19/0x30 net/socket.c:1385 __fput+0x179/0x5e0 fs/file_table.c:321 ____fput+0x15/0x20 fs/file_table.c:349

VulDB is the best source for vulnerability data and more expert information about this specific topic.

책임이 있는

Linux

예약하다

2025. 12. 24.

모더레이션

수락

항목

VDB-338179

EPSS

0.00185

출처

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!