🔍 CVE-2026-23107

5.5
CVSS Score
MEDIUM
2026-02-04
2026-11-05 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 arm64 FPSIMD/SME 신호 처리에서, ZA 컨텍스트 복원 시 태스크의 sve_state를 할당하지 않아 TIF_SME가 설정된 상태에서 sve_state가 NULL인 잘못된 상태가 될 수 있습니다. 이로 인해 커널 NULL 포인터 역참조가 발생해 시스템 충돌(Oops)이 일어날 수 있으며, 이 문제는 수정 코드에서 복원 시 sve_state를 할당하도록 해결되었습니다.

💡 쉬운 설명

특정 ARM64 리눅스 시스템에서 프로그램 상태를 복원하는 과정의 버그로 인해 커널이 잘못된 메모리를 참조하면서 시스템이 멈출 수 있습니다. 이는 주로 체크포인트/복원(CRIU) 같은 특수한 상황에서 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: arm64/fpsimd: signal: Allocate SSVE storage when restoring ZA The code to restore a ZA context doesn't attempt to allocate the task's sve_state before setting TIF_SME. Consequently, restoring a ZA context can place a task into an invalid state where TIF_SME is set but the task's sve_state is NULL. In legitimate but uncommon cases where the ZA signal context was NOT created by the kernel in the context of the same task (e.g. if the task is saved/restored with something like CRIU), we have no guarantee that sve_state had been allocated previously. In these cases, userspace can enter streaming mode without trapping while sve_state is NULL, causing a later NULL pointer dereference when the kernel attempts to store the register state: | # ./sigreturn-za | Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 | Mem abort info: | ESR = 0x0000000096000046 | EC = 0x25: DABT (current EL), IL = 32 bits | SET = 0, FnV = 0 | EA = 0, S1PTW = 0 | FSC = 0x06: level 2 translation fault | Data abort info: | ISV = 0, ISS = 0x00000046, ISS2 = 0x00000000 | CM = 0, WnR = 1, TnD = 0, TagAccess = 0 | GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 | user pgtable: 4k pages, 52-bit VAs, pgdp=0000000101f47c00 | [0000000000000000] pgd=08000001021d8403, p4d=0800000102274403, pud=0800000102275403, pmd=0000000000000000 | Internal error: Oops: 0000000096000046 [#1] SMP | Modules linked in: | CPU: 0 UID: 0 PID: 153 Comm: sigreturn-za Not tainted 6.19.0-rc1 #1 PREEMPT | Hardware name: linux,dummy-virt (DT) | pstate: 214000c9 (nzCv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) | pc : sve_save_state+0x4/0xf0 | lr : fpsimd_save_user_state+0xb0/0x1c0 | sp : ffff80008070bcc0 | x29: ffff80008070bcc0 x28: fff00000c1ca4c40 x27: 63cfa172fb5cf658 | x26: fff00000c1ca5228 x25: 0000000000000000 x24: 0000000000000000 | x23: 0000000000000000 x22: fff00000c1ca4c40 x21: fff00000c1ca4c40 | x20: 0000000000000020 x19: fff00000ff6900f0 x18: 0000000000000000 | x17: fff05e8e0311f000 x16: 0000000000000000 x15: 028fca8f3bdaf21c | x14: 0000000000000212 x13: fff00000c0209f10 x12: 0000000000000020 | x11: 0000000000200b20 x10: 0000000000000000 x9 : fff00000ff69dcc0 | x8 : 00000000000003f2 x7 : 0000000000000001 x6 : fff00000c1ca5b48 | x5 : fff05e8e0311f000 x4 : 0000000008000000 x3 : 0000000000000000 | x2 : 0000000000000001 x1 : fff00000c1ca5970 x0 : 0000000000000440 | Call trace: | sve_save_state+0x4/0xf0 (P) | fpsimd_thread_switch+0x48/0x198 | __switch_to+0x20/0x1c0 | __schedule+0x36c/0xce0 | schedule+0x34/0x11c | exit_to_user_mode_loop+0x124/0x188 | el0_interrupt+0xc8/0xd8 | __el0_irq_handler_common+0x18/0x24 | el0t_64_irq_handler+0x10/0x1c | el0t_64_irq+0x198/0x19c | Code: 54000040 d51b4408 d65f03c0 d503245f (e5bb5800) | ---[ end trace 0000000000000000 ]--- Fix this by having restore_za_context() ensure that the task's sve_state is allocated, matching what we do when taking an SME trap. Any live SVE/SSVE state (which is restored earlier from a separate signal context) must be preserved, and hence this is not zeroed.

📍 영향받는 시스템

ARM64(aarch64) 아키텍처에서 SME를 지원하는 Linux 커널 (수정 이전 6.19-rc1 등 해당 개발 버전 및 이후 안정판 전 버전)

⚔️ 공격 벡터

로컬 사용자가 잘못 구성된 ZA 신호 컨텍스트로 sigreturn을 호출해 커널 NULL 포인터 역참조를 유발, 서비스 거부(DoS)를 일으킬 수 있음

🛡️ 대응 방법

배포판 제공 최신 커널 업데이트를 적용하거나, 수정 커밋이 포함된 Linux 커널 버전으로 업그레이드 후 재부팅

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지 또는 커널 changelog와 대조해 CVE-2026-23107 수정이 포함된 빌드인지 확인하며, arm64가 아니거나 SME를 사용하지 않는 시스템이면 영향이 없습니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel