🔍 CVE-2025-38168

7.8
CVSS Score
HIGH
2025-07-03
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 arm-ni 드라이버에서 리소스 할당 실패 시 이전에 등록된 perf PMU를 적절히 해제하지 못하는 취약점입니다. 이로 인해 리스트 손상 및 커널 패닉이 발생하여 시스템이 중단될 수 있습니다.

💡 쉬운 설명

장치를 초기화하다가 오류가 발생했을 때, 이미 실행 중인 기능을 제대로 끄지 못해 컴퓨터 시스템이 완전히 멈춰버리는 문제입니다. 이는 시스템의 안정성을 해치고 갑작스러운 재부팅을 유발할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: perf: arm-ni: Unregister PMUs on probe failure When a resource allocation fails in one clock domain of an NI device, we need to properly roll back all previously registered perf PMUs in other clock domains of the same device. Otherwise, it can lead to kernel panics. Calling arm_ni_init+0x0/0xff8 [arm_ni] @ 2374 arm-ni ARMHCB70:00: Failed to request PMU region 0x1f3c13000 arm-ni ARMHCB70:00: probe with driver arm-ni failed with error -16 list_add corruption: next->prev should be prev (fffffd01e9698a18), but was 0000000000000000. (next=ffff10001a0decc8). pstate: 6340009 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : list_add_valid_or_report+0x7c/0xb8 lr : list_add_valid_or_report+0x7c/0xb8 Call trace: __list_add_valid_or_report+0x7c/0xb8 perf_pmu_register+0x22c/0x3a0 arm_ni_probe+0x554/0x70c [arm_ni] platform_probe+0x70/0xe8 really_probe+0xc6/0x4d8 driver_probe_device+0x48/0x170 __driver_attach+0x8e/0x1c0 bus_for_each_dev+0x64/0xf0 driver_add+0x138/0x260 bus_add_driver+0x68/0x138 __platform_driver_register+0x2c/0x40 arm_ni_init+0x14/0x2a [arm_ni] do_init_module+0x36/0x298 ---[ end trace 0000000000000000 ]--- Kernel panic - not syncing: Oops - BUG: Fatal exception SMP: stopping secondary CPUs

📍 영향받는 시스템

Linux kernel (arm-ni driver component)

⚔️ 공격 벡터

로컬 환경에서 특정 하드웨어 리소스 할당 실패를 유도하여 커널 패닉 유발

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel