{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-74679","id":"CVE-2026-74679","title":"usb: gadget: f_ncm: Use unsigned int for ndp_index","description":"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, thi","descriptionLong":"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.","published":"2026-08-22T15:32:47.499Z","updated":"2026-11-19T17:27:44.584139923Z","reserved":"2026-08-15T05:44:03.925Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"9c8c6825a750fcd3efbe922847ca70ccd5a66857","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"a1c0deeba4a46481543d6b09c665f758c54c3a1a","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"d13f650a3485b58c124b3cda45597e8002c9c833","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"11413d7ed42174b8f5d8d0b6a25d10dc88239b21","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"d328fdc607fa1bb668ad512e1c918a120f78f337","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"fc9e54e22845c4da29588ca0986cb7c795b5a262","status":"affected","versionType":"git"},{"version":"370af734dfaf8336b496b386e194648e097e248a","lessThan":"6b1c8a9403a26cb0fed7a648916c74dc236da591","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","status":"unaffected","versionType":"semver"},{"version":"5.10.265","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.216","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.183","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.152","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.104","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.45","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833","tags":["web"]},{"url":"https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337","tags":["web"]},{"url":"https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74679.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74679","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00185,"epssPercentile":0.08263,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-74679","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74679","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-74679","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-74679","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}