# CVE-2026-68368: usb: gadget: f\_ncm: validate datagram bounds in ncm\_unwrap\_ntb()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-10T12:03:45.579Z
- **Modified:** 2026-11-06T17:19:31.043Z

## Who should check

- Anyone running Linux \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 35d15bbaec0557330e774ec31412ef508de6e0e0; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 6b2be489eaa6293e60549005d91f15ceb150510f; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< f87ed889f0f7417b8938c98d8833f559b755373c; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< e07751d0527ccc2a1c32eb0b0b7da3b4b9b5381f; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< fff1059d139ef798bab917990524faaf25854ca8; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 40c706a0224bde194667e3378c689b542fec4b44; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 1febec7e47cdcd01f43fb0211094e3010474666e; f7e0611e207d8908c4f2858e244370529a76dbf7; b88ad6e714284b33a47834f5f2a294c2b37c66aa; …
- Anyone running Linux 5.9

## 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.

## Affected and fixed versions

- Linux: \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 35d15bbaec0557330e774ec31412ef508de6e0e0; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 6b2be489eaa6293e60549005d91f15ceb150510f; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< f87ed889f0f7417b8938c98d8833f559b755373c; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< e07751d0527ccc2a1c32eb0b0b7da3b4b9b5381f; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< fff1059d139ef798bab917990524faaf25854ca8; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 40c706a0224bde194667e3378c689b542fec4b44; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 1febec7e47cdcd01f43fb0211094e3010474666e; f7e0611e207d8908c4f2858e244370529a76dbf7; b88ad6e714284b33a47834f5f2a294c2b37c66aa; … (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68368. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68368.md
Affected: Linux >= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, < 35d15bbaec0557330e774ec31412ef508de6e0e0; >= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, < 6b2be489eaa6293e60549005d91f15ceb150510f; >= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, < f87ed889f0f7417b8938c98d8833f559b755373c; >= 2b74b0a04d3e9f9f08ff026…
Fixed in: Linux 35d15bbaec0557330e774ec31412ef508de6e0e0, Linux 6b2be489eaa6293e60549005d91f15ceb150510f, Linux 40c706a0224bde194667e3378c689b542fec4b44, Linux 41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c, Linux 1febec7e47cdcd01f43fb0211094e3010474666e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68368 being exploited?

There is no confirmed exploitation: CVE-2026-68368 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68368?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68368?

Linux \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 35d15bbaec0557330e774ec31412ef508de6e0e0; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 6b2be489eaa6293e60549005d91f15ceb150510f; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< f87ed889f0f7417b8938c98d8833f559b755373c; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< e07751d0527ccc2a1c32eb0b0b7da3b4b9b5381f; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< fff1059d139ef798bab917990524faaf25854ca8; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 40c706a0224bde194667e3378c689b542fec4b44; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c; \>= 2b74b0a04d3e9f9f08ff026e5663dce88ff94e52, \< 1febec7e47cdcd01f43fb0211094e3010474666e; f7e0611e207d8908c4f2858e244370529a76dbf7; b88ad6e714284b33a47834f5f2a294c2b37c66aa; …; Linux 5.9.

### Is there a fix for CVE-2026-68368?

Yes. Fixed in Linux 35d15bbaec0557330e774ec31412ef508de6e0e0, Linux 6b2be489eaa6293e60549005d91f15ceb150510f, Linux 40c706a0224bde194667e3378c689b542fec4b44, Linux 41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c, Linux 1febec7e47cdcd01f43fb0211094e3010474666e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68368?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/35d15bbaec0557330e774ec31412ef508de6e0e0>
- other: <https://git.kernel.org/stable/c/6b2be489eaa6293e60549005d91f15ceb150510f>
- other: <https://git.kernel.org/stable/c/f87ed889f0f7417b8938c98d8833f559b755373c>
- other: <https://git.kernel.org/stable/c/e07751d0527ccc2a1c32eb0b0b7da3b4b9b5381f>
- other: <https://git.kernel.org/stable/c/fff1059d139ef798bab917990524faaf25854ca8>
- other: <https://git.kernel.org/stable/c/40c706a0224bde194667e3378c689b542fec4b44>
- other: <https://git.kernel.org/stable/c/41fd5f2fb0027d3773ae949e3247c2e0a2a7fe5c>
- other: <https://git.kernel.org/stable/c/1febec7e47cdcd01f43fb0211094e3010474666e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68368>

HTML: <https://flawdb.com/CVE-2026-68368> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68368>
