# CVE-2026-74679: usb: gadget: f\_ncm: Use unsigned int for ndp\_index

> 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.23% (percentile 8, 2026-11-26)
- **Published:** 2026-08-22T15:32:47.499Z
- **Modified:** 2026-11-06T17:19:54.157Z

## Who should check

- Anyone running Linux \>= 370af734dfaf8336b496b386e194648e097e248a, \< 9c8c6825a750fcd3efbe922847ca70ccd5a66857; \>= 370af734dfaf8336b496b386e194648e097e248a, \< a1c0deeba4a46481543d6b09c665f758c54c3a1a; \>= 370af734dfaf8336b496b386e194648e097e248a, \< d13f650a3485b58c124b3cda45597e8002c9c833; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 11413d7ed42174b8f5d8d0b6a25d10dc88239b21; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3; \>= 370af734dfaf8336b496b386e194648e097e248a, \< d328fdc607fa1bb668ad512e1c918a120f78f337; \>= 370af734dfaf8336b496b386e194648e097e248a, \< fc9e54e22845c4da29588ca0986cb7c795b5a262; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 6b1c8a9403a26cb0fed7a648916c74dc236da591
- Anyone running Linux 3.17

## Description

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.

## Affected and fixed versions

- Linux: \>= 370af734dfaf8336b496b386e194648e097e248a, \< 9c8c6825a750fcd3efbe922847ca70ccd5a66857; \>= 370af734dfaf8336b496b386e194648e097e248a, \< a1c0deeba4a46481543d6b09c665f758c54c3a1a; \>= 370af734dfaf8336b496b386e194648e097e248a, \< d13f650a3485b58c124b3cda45597e8002c9c833; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 11413d7ed42174b8f5d8d0b6a25d10dc88239b21; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3; \>= 370af734dfaf8336b496b386e194648e097e248a, \< d328fdc607fa1bb668ad512e1c918a120f78f337; \>= 370af734dfaf8336b496b386e194648e097e248a, \< fc9e54e22845c4da29588ca0986cb7c795b5a262; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 6b1c8a9403a26cb0fed7a648916c74dc236da591 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 6b1c8a9403a26cb0fed7a648916c74dc236da591 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74679.md
Affected: Linux >= 370af734dfaf8336b496b386e194648e097e248a, < 9c8c6825a750fcd3efbe922847ca70ccd5a66857; >= 370af734dfaf8336b496b386e194648e097e248a, < a1c0deeba4a46481543d6b09c665f758c54c3a1a; >= 370af734dfaf8336b496b386e194648e097e248a, < d13f650a3485b58c124b3cda45597e8002c9c833; >= 370af734dfaf8336b496b38…
Fixed in: Linux 9c8c6825a750fcd3efbe922847ca70ccd5a66857, Linux 11413d7ed42174b8f5d8d0b6a25d10dc88239b21, Linux 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3, Linux 6b1c8a9403a26cb0fed7a648916c74dc236da591

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-74679 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 370af734dfaf8336b496b386e194648e097e248a, \< 9c8c6825a750fcd3efbe922847ca70ccd5a66857; \>= 370af734dfaf8336b496b386e194648e097e248a, \< a1c0deeba4a46481543d6b09c665f758c54c3a1a; \>= 370af734dfaf8336b496b386e194648e097e248a, \< d13f650a3485b58c124b3cda45597e8002c9c833; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 11413d7ed42174b8f5d8d0b6a25d10dc88239b21; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3; \>= 370af734dfaf8336b496b386e194648e097e248a, \< d328fdc607fa1bb668ad512e1c918a120f78f337; \>= 370af734dfaf8336b496b386e194648e097e248a, \< fc9e54e22845c4da29588ca0986cb7c795b5a262; \>= 370af734dfaf8336b496b386e194648e097e248a, \< 6b1c8a9403a26cb0fed7a648916c74dc236da591; Linux 3.17.

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

Yes. Fixed in Linux 9c8c6825a750fcd3efbe922847ca70ccd5a66857, Linux 11413d7ed42174b8f5d8d0b6a25d10dc88239b21, Linux 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3, Linux 6b1c8a9403a26cb0fed7a648916c74dc236da591. Upgrade Linux to 6b1c8a9403a26cb0fed7a648916c74dc236da591 or later.

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

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/9c8c6825a750fcd3efbe922847ca70ccd5a66857>
- other: <https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a>
- other: <https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833>
- other: <https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21>
- other: <https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3>
- other: <https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337>
- other: <https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262>
- other: <https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591>

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

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