🇰🇷 한글 설명
Linux 커널의 padata 구성 요소에서 CPU 오프라인 콜백이 잘못된 섹션에 위치하여 발생하는 오류입니다. CPU가 오프라인 상태로 전환될 때 실패가 허용되지 않는 단계에서 오류가 발생하여 커널 경고(DEAD callback error)를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 두뇌 역할을 하는 CPU를 끌 때, 시스템이 처리할 수 없는 단계에서 오류가 발생하여 문제가 생길 수 있었습니다. 이를 해결하기 위해 CPU를 끄는 작업을 오류가 발생해도 괜찮은 안전한 단계로 옮겼습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
padata: Put CPU offline callback in ONLINE section to allow failure
syzbot reported the following warning:
DEAD callback error for CPU1
WARNING: kernel/cpu.c:1463 at _cpu_down+0x759/0x1020 kernel/cpu.c:1463, CPU#0: syz.0.1960/14614
at commit 4ae12d8bd9a8 ("Merge tag 'kbuild-fixes-7.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux")
which tglx traced to padata_cpu_dead() given it's the only
sub-CPUHP_TEARDOWN_CPU callback that returns an error.
Failure isn't allowed in hotplug states before CPUHP_TEARDOWN_CPU
so move the CPU offline callback to the ONLINE section where failure is
possible.
📍 영향받는 시스템
Linux Kernel (padata 모듈을 사용하는 버전)
⚔️ 공격 벡터
직접적인 외부 공격보다는 시스템의 CPU Hotplug(온라인/오프라인 전환) 과정에서 커널 패닉이나 경고를 유발할 수 있는 로컬/시스템 내부적 요인
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 커밋(4ae12d8bd9a8) 이후의 버전인지 확인하십시오.