🇰🇷 한글 설명
Linux 커널의 arm_mpam 구성 요소에서 대역폭 카운터를 복구할 때 Null 포인터 역참조가 발생하는 취약점입니다. 메모리 대역폭 모니터링을 지원하는 MSC를 오프라인 상태로 만들었다가 다시 온라인으로 전환할 때, 초기화되지 않은 변수 값으로 인해 커널 오류(Kernel Oops)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리 사용량을 체크하는 기능이 다시 켜질 때, 잘못된 메모리 주소를 참조하여 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 이는 시스템의 안정성을 해칠 수 있는 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
arm_mpam: Fix null pointer dereference when restoring bandwidth counters
When an MSC supporting memory bandwidth monitoring is brought offline and
then online, mpam_restore_mbwu_state() calls __ris_msmon_read() via ipi to
restore the configuration of the bandwidth counters. It doesn't care about
the value read, mbwu_arg.val, and doesn't set it leading to a null pointer
dereference when __ris_msmon_read() adds to it. This results in a kernel
oops with a call trace such as:
Call trace:
__ris_msmon_read+0x19c/0x64c (P)
mpam_restore_mbwu_state+0xa0/0xe8
smp_call_on_cpu_callback+0x1c/0x38
process_one_work+0x154/0x4b4
worker_thread+0x188/0x310
kthread+0x11c/0x130
ret_from_fork+0x10/0x20
Provide a local variable for val to avoid __ris_msmon_read() dereferencing
a null pointer when adding to val.
📍 영향받는 시스템
arm_mpam 기능을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 MSC(Memory System Controller)의 상태를 변경하여 커널 오류를 유도할 수 있음
🛡️ 대응 방법
arm_mpam 관련 Null 포인터 역참조를 방지하는 최신 Linux 커널 패치를 적용하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전인지 배포판 보안 공지를 통해 확인하십시오.