🇰🇷 한글 설명
Linux 커널의 txgbe 네트워크 드라이버에서 인터럽트 처리 시 자원 해제 순서가 잘못되어 발생하는 취약점입니다. 장치 제거 과정에서 인터럽트가 해제되기 전에 메모리 자원이 먼저 해제되어, 이미 해제된 메모리에 접근하는 Use-After-Free 문제가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 제거할 때 메모리를 먼저 비우고 나서 연결을 끊어야 하는데, 연결을 끊기 전에 메모리를 먼저 비워버리는 실수가 발견되었습니다. 이로 인해 시스템이 잘못된 메모리 주소를 읽으려다 오류가 발생하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: txgbe: free isb resources at the right time
When using MSI/INTx interrupt, the shared interrupts are still being
handled in the device remove routine, before free IRQs. So isb memory
is still read after it is freed. Thus move wx_free_isb_resources()
from txgbe_close() to txgbe_remove(). And fix the improper isb free
action in txgbe_open() error handling path.
📍 영향받는 시스템
Linux kernel (txgbe driver 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 장치 드라이버의 자원 해제 로직을 트리거하여 메모리 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 txgbe 드라이버의 수정 사항이 반영된 최신 패치 버전인지 확인