VDB

CVE-2026-74679

CVE-2026-74679 PUBLISHED

usb: gadget: f_ncm: Use unsigned int for ndp_index

Reported by linux · Published August 22, 2026

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Use unsigned int for ndp_index The variable ndp_index is declared as a signed integer, but it stores the return value of get_ncm(), which is unsigned. A malicious host can supply a large offset that overflows the signed ndp_index, making it negative. Because ndp_index is compared against unsigned bounds, this negative value bypasses sanity checks and leads to an out-of-bounds read when calculating the address of the NDP block (ntb_ptr + ndp_index). Fix this by changing ndp_index to unsigned int to ensure consistent unsigned comparisons throughout the function.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxfc9e54e22845c4da29588ca0986cb7c795b5a262, d328fdc607fa1bb668ad512e1c918a120f78f337, d13f650a3485b58c124b3cda45597e8002c9c833, a1c0deeba4a46481543d6b09c665f758c54c3a1a, 9c8c6825a750fcd3efbe922847ca70ccd5a66857, 6b1c8a9403a26cb0fed7a648916c74dc236da591, 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3, 11413d7ed42174b8f5d8d0b6a25d10dc88239b21

Affected products

VendorProductVersions
LinuxLinux370af734dfaf8336b496b386e194648e097e248a, 370af734dfaf8336b496b386e194648e097e248a, 370af734dfaf8336b496b386e194648e097e248a
LinuxLinux3.17, 0, 5.10.265
LinuxLinux7.2, 0, 5.10.265
linuxlinux_kernel3.17, 3.17, 3.17

Timeline

  • Aug 22, 2026 Coalition ESS Score
  • Aug 22, 2026 CVE Published
  • Aug 23, 2026 EPSS Score (13 in total, the first dated here)
  • Sep 3, 2026 Security Advisory
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74679
vulnetix vdb fixes CVE-2026-74679

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74679/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›