🔍 CVE-2026-43197

9.1
CVSS Score
CRITICAL
2026-05-06
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 netconsole 구성 요소에서 console 서브시스템으로부터 전달되는 메시지가 null-terminated되지 않아 out-of-bounds 메모리 읽기(OOB)가 발생합니다. 이로 인해 메모리 손상, 정보 유출, 또는 커널 panic이 발생할 수 있습니다.

💡 쉬운 설명

Linux 커널이 네트워크 콘솔 메시지를 처리할 때 메모리 경계를 초과해서 읽는 버그입니다. 이는 시스템 충돌이나 민감한 정보 노출을 야기할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: netconsole: avoid OOB reads, msg is not nul-terminated msg passed to netconsole from the console subsystem is not guaranteed to be nul-terminated. Before recent commit 7eab73b18630 ("netconsole: convert to NBCON console infrastructure") the message would be placed in printk_shared_pbufs, a static global buffer, so KASAN had harder time catching OOB accesses. Now we see: printk: console [netcon_ext0] enabled BUG: KASAN: slab-out-of-bounds in string+0x1f7/0x240 Read of size 1 at addr ffff88813b6d4c00 by task pr/netcon_ext0/594 CPU: 65 UID: 0 PID: 594 Comm: pr/netcon_ext0 Not tainted 6.19.0-11754-g4246fd6547c9 Call Trace: kasan_report+0xe4/0x120 string+0x1f7/0x240 vsnprintf+0x655/0xba0 scnprintf+0xba/0x120 netconsole_write+0x3fe/0xa10 nbcon_emit_next_record+0x46e/0x860 nbcon_kthread_func+0x623/0x750 Allocated by task 1: nbcon_alloc+0x1ea/0x450 register_console+0x26b/0xe10 init_netconsole+0xbb0/0xda0 The buggy address belongs to the object at ffff88813b6d4000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 0 bytes to the right of allocated 3072-byte region [ffff88813b6d4000, ffff88813b6d4c00)

📍 영향받는 시스템

Linux kernel 6.19.0 이상 (netconsole 활성화된 시스템)

⚔️ 공격 벡터

netconsole이 활성화된 시스템에서 콘솔 메시지 처리 시 out-of-bounds 메모리 접근

🛡️ 대응 방법

Linux 커널을 CVE-2026-43197 수정 버전으로 업그레이드하거나 netconsole 비활성화

🔧 검증 코드

현재 커널 버전이 6.19.0 이상이면 취약점 가능성 있음. 해당 출력이 없으면 안전함.

Shell / Script
uname -r | grep -E '^6\.(19|[2-9][0-9]|[0-9]{3})'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel