🔍 CVE-2024-42107

4.7
CVSS Score
MEDIUM
2024-07-30
2026-10-21 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ice 드라이버에서 PTP(Precision Time Protocol)가 비활성화된 상태에서 외부 타임스탬프 이벤트를 처리할 때 발생하는 취약점입니다. ice_ptp_extts_event() 함수가 이미 해제된 PTP 클록에 접근하여 NULL 포인터 역참조를 유발하며, 이는 커널 패닉(시스템 중단)으로 이어질 수 있습니다.

💡 쉬운 설명

네트워크 장치 드라이버가 이미 종료된 기능을 갑자기 호출하려고 시도하면서 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. PTP라는 시간 동기화 기능이 꺼져 있을 때 발생하는 충돌을 방지해야 합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ice: Don't process extts if PTP is disabled The ice_ptp_extts_event() function can race with ice_ptp_release() and result in a NULL pointer dereference which leads to a kernel panic. Panic occurs because the ice_ptp_extts_event() function calls ptp_clock_event() with a NULL pointer. The ice driver has already released the PTP clock by the time the interrupt for the next external timestamp event occurs. To fix this, modify the ice_ptp_extts_event() function to check the PTP state and bail early if PTP is not ready.

📍 영향받는 시스템

Linux kernel (ice driver 사용 시스템)

⚔️ 공격 벡터

특정 네트워크 인터럽트 발생 시도를 통한 로컬 또는 원격 레이스 컨디션 유발

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ice 드라이버의 PTP 상태 체크 로직을 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이상인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel