kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-68368 usb: gadget: f_ncm: validate datagram bounds in ncm_unwrap_ntb()

설명

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: validate datagram bounds in ncm_unwrap_ntb() When unpacking host-supplied NTBs, ncm_unwrap_ntb() checks datagram length against frame_max but does not verify that the datagram fits within the declared block length. Additionally, when decoding multiple NTBs from a single socket buffer, subsequent block lengths are not checked against the actual remaining buffer data. With these checks missing, a malicious USB host can specify datagram offsets and lengths that point beyond the block, or supply secondary NTB headers declaring lengths larger than the buffer. skb_put_data() then copies adjacent kernel memory from skb_shared_info into the network skb. Fix this by verifying that sufficient buffer space remains for the NTB header before parsing, handling zero-length block declarations, ensuring that block lengths never exceed the remaining buffer space, and verifying that each datagram payload stays strictly within the block boundary.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.9.235 이상 4.10 미만
    • 4.14.196 이상 4.15 미만
    • 4.19.143 이상 4.20 미만
    • 5.4.62 이상 5.5 미만
    • 5.8.6 이상 5.9 미만
    • 4.14.328 이상 4.15 미만
    • 4.19.297 이상 4.20 미만
    • 5.4.259 이상 5.5 미만
    외 1개 구간 펼치기
    • 5.9

    해결 버전

    • 4.10 이상
    • 4.15 이상
    • 4.20 이상
    • 5.5 이상
    • 5.9 이상
    • 5.9 미만
    • 5.10.265 이상
    • 5.15.216 이상
    외 5개 구간 펼치기
    • 6.1.183 이상
    • 6.6.148 이상
    • 6.12.101 이상
    • 6.18.42 이상
    • 7.1.6 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의