🇰🇷 한글 설명
Linux 커널의 EHCI 및 FOTG210 USB 컨트롤러에서 발생하는 메모리 누수 취약점입니다. USB 등시성(isochronous) 전송 요청이 엔드포인트 큐에 연결되기 전 실패할 경우, 할당된 스케줄 메모리가 해제되지 않고 남게 됩니다. 이로 인해 시스템 메모리가 지속적으로 소모될 수 있습니다.
💡 쉬운 설명
USB 장치에 데이터를 보내려다 오류가 발생했을 때, 컴퓨터가 사용하던 메모리를 제대로 돌려주지 않고 계속 붙잡고 있는 문제입니다. 이 문제가 반복되면 컴퓨터의 메모리가 점점 부족해져 시스템 성능이 떨어지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: free iso schedules on failed submit
EHCI and FOTG210 isochronous submits build an ehci_iso_sched before
linking the URB to the endpoint queue, and keep the staged schedule in
urb->hcpriv until iso_stream_schedule() and the link helpers consume it.
If the controller is no longer accessible, or usb_hcd_link_urb_to_ep()
fails, submit jumps to done_not_linked before that handoff happens and
leaks the staged schedule still attached to urb->hcpriv.
Free the staged schedule from done_not_linked when submit fails before
the URB is linked and clear urb->hcpriv after the free.
The bug was first flagged by an experimental analysis tool we are
developing for kernel memory-management bugs while analyzing
v6.13-rc1. The tool is still under development and is not yet publicly
available. Manual inspection confirms that the bug is still
present in v7.1.1.
An x86_64 allyesconfig build showed no new warnings. As we do not have an
EHCI host controller with a USB isochronous device to test with, no
runtime testing was able to be performed.
📍 영향받는 시스템
Linux kernel (v7.1.1 포함 EHCI 및 FOTG210 컨트롤러 사용 시스템)
⚔️ 공격 벡터
USB 등시성 전송(isochronous transfer)을 유발하는 장치를 연결하거나 조작하여 의도적으로 전송 실패를 유도함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 usb: free iso schedules on failed submit 수정 사항을 반영함
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인합니다.