🇰🇷 한글 설명
Linux 커널의 thermal: int340x 드라이버에서 adev가 NULL일 경우를 확인하지 않아 발생하는 취약점입니다. ACPI 컴패니언 fwnode가 없는 장치에서 NULL 포인터 역참조가 발생할 수 있으며, 이를 방지하기 위해 -ENODEV를 반환하도록 수정되었습니다.
💡 쉬운 설명
특정 하드웨어 장치를 인식하는 과정에서 컴퓨터가 존재하지 않는 주소를 참조하려고 시도하여 시스템 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
thermal: int340x: Add NULL check for adev
Not all devices have an ACPI companion fwnode, so adev might be NULL.
This is similar to the commit cd2fd6eab480
("platform/x86: int3472: Check for adev == NULL").
Add a check for adev not being set and return -ENODEV in that case to
avoid a possible NULL pointer deref in int3402_thermal_probe().
Note, under the same directory, int3400_thermal_probe() has such a
check.
[ rjw: Subject edit, added Fixes: ]
📍 영향받는 시스템
Linux kernel (int340x thermal driver 관련 버전)
⚔️ 공격 벡터
로컬 공격자가 특수하게 구성된 ACPI 환경을 통해 NULL 포인터 역참조를 유도하여 시스템 불안정성을 초래할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.