🇰🇷 한글 설명
Linux 커널의 emac 드라이버에서 emac_probe 함수 실행 중 NULL 포인터 역참조가 발생할 수 있는 취약점이 해결되었습니다. 인터럽트 핸들러가 실행되기 전에 메모리 매핑이 완료되도록 순서를 조정하여, 초기 인터럽트 발생 시 시스템이 충돌하는 문제를 방지합니다.
💡 쉬운 설명
하드웨어 신호가 들어왔을 때 컴퓨터가 준비되지 않은 상태에서 잘못된 메모리 주소를 참조하여 시스템이 멈추거나 꺼질 수 있는 문제입니다. 드라이버가 하드웨어를 준비하는 순서를 올바르게 수정하여 이 문제를 해결했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: emac: Fix NULL pointer dereference in emac_probe
Move devm_request_irq() after devm_platform_ioremap_resource() so that
dev->emacp is mapped before the interrupt handler can fire. An early
interrupt hitting emac_irq() would dereference the NULL dev->emacp and
crash.
Also remove redundant error message. devm_platform_ioremap_resource()
already returns an error message with dev_err_probe().
📍 영향받는 시스템
Linux Kernel (emac 드라이버를 사용하는 임베디드 시스템 및 관련 커널 버전)
⚔️ 공격 벡터
하드웨어 인터럽트를 의도적으로 조기에 발생시켜 시스템 충돌(DoS) 유도
🛡️ 대응 방법
emac 드라이버 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인