🔍 CVE-2025-38446

7.3
CVSS Score
HIGH
2025-07-25
2026-07-30 06:23
✅ 완료

🇰🇷 한글 설명

Linux 커널의 imx 클럭 드라이버에서 dispmix_csr_clk_dev_data 구조체 접근 시 경계 외 메모리 참조(Out-of-bounds access)가 발생하는 취약점입니다. 부모 클럭의 개수가 4개일 때 하드코딩된 숫자를 사용하여 parent_names 멤버에 접근하면서 메모리 오류가 발생합니다.

💡 쉬운 설명

컴퓨터의 부품들이 작동하는 속도를 조절하는 프로그램에서, 정해진 메모리 범위를 벗어나 잘못된 데이터를 읽는 오류가 발견되었습니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: clk: imx: Fix an out-of-bounds access in dispmix_csr_clk_dev_data When num_parents is 4, __clk_register() occurs an out-of-bounds when accessing parent_names member. Use ARRAY_SIZE() instead of hardcode number here. BUG: KASAN: global-out-of-bounds in __clk_register+0x1844/0x20d8 Read of size 8 at addr ffff800086988e78 by task kworker/u24:3/59 Hardware name: NXP i.MX95 19X19 board (DT) Workqueue: events_unbound deferred_probe_work_func Call trace: dump_backtrace+0x94/0xec show_stack+0x18/0x24 dump_stack_lvl+0x8c/0xcc print_report+0x398/0x5fc kasan_report+0xd4/0x114 __asan_report_load8_noabort+0x20/0x2c __clk_register+0x1844/0x20d8 clk_hw_register+0x44/0x110 __clk_hw_register_mux+0x284/0x3a8 imx95_bc_probe+0x4f4/0xa70

📍 영향받는 시스템

NXP i.MX95 보드를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

로컬 공격자가 특정 하드웨어 구성을 유도하여 커널 메모리 오류를 유발할 수 있음

🛡️ 대응 방법

ARRAY_SIZE() 매크로를 사용하여 메모리 접근 범위를 올바르게 수정하는 커널 패치 적용

🔧 검증 코드

커널 버전을 확인하고 dmesg 로그에서 imx 클럭 관련 오류(KASAN 등)가 발생하는지 확인합니다.

Shell / Script
uname -r && dmesg | grep -i 'imx' | grep -i 'clk'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel