{"id":"CVE-2026-74679","published":"2026-08-22T15:32:47Z","modified":"2026-11-06T17:05:51Z","title":"usb: gadget: f_ncm: Use unsigned int for ndp_index","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_ncm: Use unsigned int for ndp_index\n\nThe variable ndp_index is declared as a signed integer, but it stores\nthe return value of get_ncm(), which is unsigned.\n\nA malicious host can supply a large offset that overflows the signed\nndp_index, making it negative. Because ndp_index is compared against\nunsigned bounds, this negative value bypasses sanity checks and leads\nto an out-of-bounds read when calculating the address of the NDP\nblock (ntb_ptr + ndp_index).\n\nFix this by changing ndp_index to unsigned int to ensure consistent\nunsigned comparisons throughout the function.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00186,"percentile":0.08242,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857","tags":[]},{"url":"https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a","tags":[]},{"url":"https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833","tags":[]},{"url":"https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21","tags":[]},{"url":"https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3","tags":[]},{"url":"https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337","tags":[]},{"url":"https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262","tags":[]},{"url":"https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591","tags":[]}],"priority":{"score":1.6,"factors":[{"name":"EPSS percentile","points":1.65}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 370af734dfaf8336b496b386e194648e097e248a, < 9c8c6825a750fcd3efbe922847ca70ccd5a66857",">= 370af734dfaf8336b496b386e194648e097e248a, < a1c0deeba4a46481543d6b09c665f758c54c3a1a",">= 370af734dfaf8336b496b386e194648e097e248a, < d13f650a3485b58c124b3cda45597e8002c9c833",">= 370af734dfaf8336b496b386e194648e097e248a, < 11413d7ed42174b8f5d8d0b6a25d10dc88239b21",">= 370af734dfaf8336b496b386e194648e097e248a, < 5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3",">= 370af734dfaf8336b496b386e194648e097e248a, < d328fdc607fa1bb668ad512e1c918a120f78f337",">= 370af734dfaf8336b496b386e194648e097e248a, < fc9e54e22845c4da29588ca0986cb7c795b5a262",">= 370af734dfaf8336b496b386e194648e097e248a, < 6b1c8a9403a26cb0fed7a648916c74dc236da591"]},{"vendor":"Linux","product":"Linux","versions":["3.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-06T17:01:05.746125Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64366","exploited":false,"provenance":"source"}}