🔍 CVE-2026-31616

5.5
CVSS Score
MEDIUM
2026-04-24
2026-06-01 17:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 usb gadget f_phonet 모듈에서 skb_shared_info->frags[] 배열의 오버플로우 취약점이 발견되었습니다. 악의적인 USB 호스트가 제한 없는 페이지 크기의 OUT 전송을 보낼 경우, 메모리 상의 인접한 영역을 덮어쓸 수 있습니다.

💡 쉬운 설명

USB로 연결된 기기에 비정상적인 데이터를 계속 보내면 기기의 메모리 영역을 망가뜨릴 수 있는 보안 약점입니다. 이를 통해 시스템이 오작동하거나 해커가 제어권을 얻을 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_phonet: fix skb frags[] overflow in pn_rx_complete() A broken/bored/mean USB host can overflow the skb_shared_info->frags[] array on a Linux gadget exposing a Phonet function by sending an unbounded sequence of full-page OUT transfers. pn_rx_complete() finalizes the skb only when req->actual < req->length, where req->length is set to PAGE_SIZE by the gadget. If the host always sends exactly PAGE_SIZE bytes per transfer, fp->rx.skb will never be reset and each completion will add another fragment via skb_add_rx_frag(). Once nr_frags exceeds MAX_SKB_FRAGS (default 17), subsequent frag stores overwrite memory adjacent to the shinfo on the heap. Drop the skb and account a length error when the frag limit is reached, matching the fix applied in t7xx by commit f0813bcd2d9d ("net: wwan: t7xx: fix potential skb->frags overflow in RX path").

📍 영향받는 시스템

Phonet 기능을 사용하는 Linux 커널 기반 USB gadget 시스템

⚔️ 공격 벡터

악의적인 USB 호스트가 PAGE_SIZE 크기의 OUT 전송을 무제한으로 전송

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel