🇰🇷 한글 설명
Linux 커널의 octeon_ep 드라이버에서 probe 과정 중 MAC 주소 획득에 실패할 경우, 예약된 작업(intr_poll_task)이 취소되지 않고 남아있게 됩니다. 이로 인해 나중에 해당 작업이 실행될 때 이미 해제된 메모리에 접근하는 Use-After-Free 취약점이 발생합니다.
💡 쉬운 설명
장치를 연결하는 과정에서 오류가 발생했을 때, 뒤에서 돌아가던 작업이 제대로 멈추지 않아 발생하는 문제입니다. 이로 인해 컴퓨터가 이미 사용하지 않는 메모리 영역을 건드리게 되어 시스템이 불안정해지거나 해킹의 통로가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeon_ep: cancel queued works in probe error path
If it fails to get the devices's MAC address, octep_probe exits while
leaving the delayed work intr_poll_task queued. When the work later
runs, it's a use after free.
Move the cancelation of intr_poll_task from octep_remove into
octep_device_cleanup. This does not change anything in the octep_remove
flow, but octep_device_cleanup is called also in the octep_probe error
path, where the cancelation is needed.
Note that the cancelation of ctrl_mbox_task has to follow
intr_poll_task's, because the ctrl_mbox_task may be queued by
intr_poll_task.
📍 영향받는 시스템
Linux kernel (octeon_ep 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 드라이버 초기화 오류를 유도하여 메모리 오염 및 권한 상승 시도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인