🇰🇷 한글 설명
Linux 커널의 amd-mp2 I2C 드라이버에서 어댑터 등록 실패 시 콜백 함수가 적절히 해제되지 않는 취약점이 발견되었습니다. 이로 인해 어댑터 등록에 실패하더라도 PCI 드라이버가 유효하지 않은 메모리 주소(stale pointer)를 참조하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
장치를 연결하는 과정에서 오류가 발생했을 때, 시스템이 사용하던 정보를 제대로 지우지 않아 발생하는 문제입니다. 이로 인해 컴퓨터가 잘못된 정보를 읽으려다 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
i2c: amd-mp2: Unregister callback on adapter add failure
amd_mp2_register_cb() stores the platform I2C context in the MP2 PCI
driver's callback table before the adapter is registered. If
i2c_add_adapter() fails, probe returns and devres frees the context,
but the PCI driver can still dereference the stale pointer from its IRQ
and system-sleep callbacks.
Unregister the callback before returning the adapter registration error.
📍 영향받는 시스템
Linux kernel (amd-mp2 driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 구성이나 드라이버 오류를 유도하여 시스템 불안정성 또는 커널 패닉 유발
🛡️ 대응 방법
amd-mp2 드라이버의 콜백 해제 로직이 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인