🔍 CVE-2025-23147

5.5
CVSS Score
MEDIUM
2025-05-01
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 I3C 마스터 드라이버에서, 아직 probe되지 않은 타겟 장치로부터 IBI(In-Band Interrupt)가 도착하면 dev->ibi가 NULL인 상태로 접근하여 커널 패닉이 발생할 수 있는 문제입니다. i3c_master_queue_ibi()에 NULL 포인터 검사를 추가하여 이를 해결했습니다.

💡 쉬운 설명

일부 장치가 아직 준비되지 않았을 때 신호가 먼저 들어오면 컴퓨터 운영체제가 멈출 수 있습니다. 이 취약점은 해당 신호를 처리하기 전에 준비 여부를 확인하도록 고쳐졌습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: i3c: Add NULL pointer check in i3c_master_queue_ibi() The I3C master driver may receive an IBI from a target device that has not been probed yet. In such cases, the master calls `i3c_master_queue_ibi()` to queue an IBI work task, leading to "Unable to handle kernel read from unreadable memory" and resulting in a kernel panic. Typical IBI handling flow: 1. The I3C master scans target devices and probes their respective drivers. 2. The target device driver calls `i3c_device_request_ibi()` to enable IBI and assigns `dev->ibi = ibi`. 3. The I3C master receives an IBI from the target device and calls `i3c_master_queue_ibi()` to queue the target device driver’s IBI handler task. However, since target device events are asynchronous to the I3C probe sequence, step 3 may occur before step 2, causing `dev->ibi` to be `NULL`, leading to a kernel panic. Add a NULL pointer check in `i3c_master_queue_ibi()` to prevent accessing an uninitialized `dev->ibi`, ensuring stability.

📍 영향받는 시스템

I3C 버스를 사용하는 장치가 있는 Linux 커널 (수정 커밋 이전 버전)

⚔️ 공격 벡터

I3C 타겟 장치가 프로브 완료 전에 IBI를 발생시켜 커널 NULL 포인터 역참조를 유발 (로컬 장치 동작에 의존)

🛡️ 대응 방법

커널을 CVE-2025-23147 수정이 포함된 최신 안정 버전으로 업데이트하거나 배포판 보안 업데이트를 적용

🔧 검증 코드

출력된 커널 버전을 배포판의 보안 권고나 커널 변경 로그와 대조하여 CVE-2025-23147 수정이 포함되었는지 확인하며, 해당 수정이 포함되지 않은 이전 버전이면 업데이트가 필요합니다.

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