CVE-2026-74679

usb: gadget: f_ncm: Use unsigned int for ndp_index

N/A
Published: August 22, 2026 at 03:32 PM UTC
Updated: October 14, 2026 at 01:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.17370af734dfaf8336b496b386e194648e097e248a
Vendor states this is fixed in 11413d7ed42174b8f5d8d0b6a25d10dc88239b21 (fixed)
Vendor states this is fixed in 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3 (fixed)
Vendor states this is fixed in 6b1c8a9403a26cb0fed7a648916c74dc236da591 (fixed)
Vendor states this is fixed in 9c8c6825a750fcd3efbe922847ca70ccd5a66857 (fixed)
Vendor states this is fixed in a1c0deeba4a46481543d6b09c665f758c54c3a1a (fixed)
Vendor states this is fixed in d13f650a3485b58c124b3cda45597e8002c9c833 (fixed)
Vendor states this is fixed in d328fdc607fa1bb668ad512e1c918a120f78f337 (fixed)
Vendor states this is fixed in fc9e54e22845c4da29588ca0986cb7c795b5a262 (fixed)
Vendor states this is fixed in 3.17 (unaffected)
Vendor states this is fixed in 5.10.265 (unaffected)
Vendor states this is fixed in 5.15.216 (unaffected)
Vendor states this is fixed in 6.1.183 (unaffected)
Vendor states this is fixed in 6.12.104 (unaffected)
Vendor states this is fixed in 6.18.45 (unaffected)
Vendor states this is fixed in 6.6.152 (unaffected)
Vendor states this is fixed in 7.1.9 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card