CVE-2026-68368

Publication date 10 August 2026

Last updated 9 October 2026


Ubuntu priority

Description

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.

Status

Package Ubuntu Release Status

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details

References

Related Ubuntu Security Notices (USN)

    • USN-8876-1
    • Linux kernel (Azure CVM) vulnerabilities
    • 6 October 2026
    • USN-8878-1
    • Linux kernel (GCP) vulnerabilities
    • 6 October 2026
    • USN-8879-1
    • Linux kernel (Oracle) vulnerabilities
    • 6 October 2026
    • USN-8877-1
    • Linux kernel (GCP) vulnerabilities
    • 6 October 2026
    • USN-8875-1
    • Linux kernel vulnerabilities
    • 6 October 2026
    • USN-8888-1
    • Linux kernel (Azure) vulnerabilities
    • 6 October 2026
    • USN-8889-1
    • Linux kernel (OEM) vulnerabilities
    • 6 October 2026
    • USN-8887-1
    • Linux kernel vulnerabilities
    • 6 October 2026
    • USN-8887-2
    • Linux kernel (AWS) vulnerabilities
    • 8 October 2026
    • USN-8888-2
    • Linux kernel (Azure) vulnerabilities
    • 8 October 2026
    • USN-8875-2
    • Linux kernel (NVIDIA) vulnerabilities
    • 9 October 2026
    • USN-8887-3
    • Linux kernel vulnerabilities
    • 9 October 2026

Other references


Access our resources on patching vulnerabilities