CVE-2026-98840
- 공개
- 2026년 10월 19일
- 수정
- 2026년 10월 30일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
vc_screen: reload vc pointer before if (ret) in vcs_write() to avoid UAF
The reload of 'vc' added by commit 8fb9ea65c9d1 ("vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF") sits after the 'if (ret)' block, so the copy-failure break path exits the loop without reloading vc. If the vc was kfree()'d via vc_port_destruct during the unlocked copy_from_user() window, the post-loop 'if (written && vc) vcs_scr_updated(vc)' is reached with a stale non-NULL vc. The '&& vc' guard from commit a287620312dc ("vc_screen: fix null-ptr-deref in vcs_notifier() during concurrent vcs_write") only handles the NULL case, not this stale-non-NULL case; vcs_notifier() then reads param->vc->vc_num from freed memory:
BUG: KASAN: slab-use-after-free in vcs_notifier+0x7c/0xd0 Read of size 2 at addr ffff888007149190 Call Trace: vcs_notifier+0x7c/0xd0 atomic_notifier_call_chain+0x70/0xa0 vcs_scr_updated+0x77/0xa0 vcs_write+0x71b/0x7e0 Allocated by task: vc_allocate -> con_install -> tty_open Freed by task: kfree <- vt_ioctl (VT_DISALLOCATE -> vc_port_destruct)
Move the reload to immediately after console_lock(), before 'if (ret)', so every break path below passes a fresh vc to the post-loop vcs_scr_updated().
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.10.260 | ≤ | 취약 | < | 5.10.273 | 5.10.273이상 |
| 5.15.211 | ≤ | 취약 | < | 5.15.224 | 5.15.224이상 | |
| 6.1.177 | ≤ | 취약 | < | 6.1.191 | 6.1.191이상 | |
| 6.6.144 | ≤ | 취약 | < | 6.6.160 | 6.6.160이상 | |
| 6.12.95 | ≤ | 취약 | < | 6.12.113 | 6.12.113이상 | |
| 6.18.37 | ≤ | 취약 | < | 6.18.56 | 6.18.56이상 | |
| 7.0.14 | ≤ | 취약 | < | 7.1 | 7.1이상 | |
| 7.1.2 | ≤ | 취약 | < | 7.2 | 7.2이상 | |
| 이 버전만 | 취약 | = | 7.2 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 7.2 | — | |
| 5.10.273 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.224 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.191 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.160 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.113 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.56 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.10 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타8
- git.kernel.org/stable/c/1485a3dd97ab1af2605243cabe6b604546d46dd1
- git.kernel.org/stable/c/226bd5603371cd9f6642cbb9e9a677f445de3530
- git.kernel.org/stable/c/233a2e190b12884d186027d0b86d43a48799b69c
- git.kernel.org/stable/c/942742000a0288d4ca60c448894aabacd48004d5
- git.kernel.org/stable/c/9dfcadc5e003fb250dd471db90144bd5366140e9