🔍 CVE-2026-80827

0.0
CVSS Score
UNKNOWN
2026-09-04
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 USB 시리얼 드라이버에서 인터럽트 URB 콜백 처리 중 슬랩 영역의 경계 외 읽기(Out-of-Bounds Read) 취약점이 발견되었습니다. 특정 USB 장치가 설정된 최대 패킷 크기보다 작은 데이터를 보낼 경우, 할당된 버퍼 범위를 초과하여 메모리를 읽게 됩니다.

💡 쉬운 설명

USB 장치가 약속된 크기보다 작은 데이터를 보낼 때, 컴퓨터가 정해진 메모리 범위를 넘어서 잘못된 데이터를 읽어버리는 문제입니다. 이로 인해 시스템 정보가 유출되거나 예기치 않은 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: USB: serial: option: fix slab OOB read in interrupt URB callback The interrupt URB buffer is allocated in setup_port_interrupt_in() based on the endpoint's wMaxPacketSize: buffer_size = usb_endpoint_maxp(epd); port->interrupt_in_buffer = kmalloc(buffer_size, GFP_KERNEL); When a USB device declares wMaxPacketSize = 8 on its interrupt IN endpoint, the buffer is allocated from kmalloc-8 cache (exactly 8 bytes). If the device sends a short packet (actual_length < wMaxPacketSize), the URB completes with status == 0 and the callback proceeds to read: data[sizeof(struct usb_ctrlrequest)] which evaluates to data[8], accessing 1 byte beyond the allocated 8-byte buffer. This results in a slab out-of-bounds read. Fix this by adding the missing bounds check: first verify that the actual length is large enough to contain the struct usb_ctrlrequest header before accessing req_pkt->bRequestType and req_pkt->bRequest, and then verify that there is an additional byte for the modem signal state before reading data[sizeof(struct usb_ctrlrequest)] inside the conditional. Use sizeof(*req_pkt) instead of sizeof(struct usb_ctrlrequest) for consistency. [ johan: use dev_err(); split signals declaration and initialisation ]

📍 영향받는 시스템

USB serial option 드라이버를 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

조작된 짧은 패킷(short packet)을 전송하는 악의적인 USB 장치를 연결하여 발생

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

IBM Security Verify Access