CVE-2026-93191
- 공개
- 2026년 9월 18일
- 수정
- 2026년 10월 19일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
smack: fix incorrect task context in smack_msg_queue_msgrcv
The smack_msg_queue_msgrcv() function incorrectly checks the permissions of the 'current' task instead of the 'target' task.
In the msgsnd() syscall path, if a receiver is already waiting, the pipelined_send() optimization is used to push the message directly to the receiver task:
ipc/msg.c`pipelined_send(): ` smp_store_release(&msr->r_msg, msg)
In this case, the 'sender' (current) task performs the check on behalf of the 'receiver' task (msr->r_tsk, passed as the 'target' parameter):
ipc/msg.c`pipelined_send(): ` security_msg_queue_msgrcv(,, target := msr->r_tsk,,)
However, smack_msg_queue_msgrcv() ignores the 'target' and checks 'current':
smack_msg_queue_msgrcv(…) ` smk_curacc_msq(isp, MAY_READWRITE); // current task
'current' MAY satisfy smack_msg_queue_msgrcv r/w requirement, but 'target' (the receiver task) might NOT; as a result, an unauthorized receiver gets the message, violating MAC policy.
Test: 1) create a sysv message queue with label “foo” 2) echo "bar foo r" >/smack/load2 3) msgrcv(,,,0,MSG_NOERROR) in "bar"-labeled task. The task is waiting for the messages ... 4) msgsnd() from a "foo"-labeled task: "bar"-labeled task gets the message.
This patch fixes the issue by checking permission on the 'target' task instead of 'current'.
(2008-02-04, Casey Schaufler)
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.25 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.25 | — | |
| 5.10.270 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.221 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.188 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.157 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.110 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.52 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.6 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타8
- git.kernel.org/stable/c/4e49f997ef0c569e09b42aab6bd38c7c54ea095d
- git.kernel.org/stable/c/7be4bd21c50afa83c93799b0f16cf5bfa493194e
- git.kernel.org/stable/c/c2ab27c2e11591524b1378c24ad18882a425d1fa
- git.kernel.org/stable/c/d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe
- git.kernel.org/stable/c/dbece6c2f80b0470d8d99d7a016827dce99ed6e3