CVE-2026-74679
usb: gadget: f_ncm: Use unsigned int for ndp_index
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.
INFO
Published Date :
Aug. 22, 2026, 4:16 p.m.
Last Modified :
Nov. 6, 2026, 5:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update the Linux kernel to the latest version.
- Ensure ndp_index is treated as an unsigned integer.
- Apply the provided patch for the NCM gadget driver.
- Verify the integrity of NCM driver operations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74679.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74679 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74679
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74679 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74679 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21 Added Reference https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3 Added Reference https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591 Added Reference https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857 Added Reference https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a Added Reference https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833 Added Reference https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337 Added Reference https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262 Removed Reference https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21 Removed Reference https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3 Removed Reference https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591 Removed Reference https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857 Removed Reference https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a Removed Reference https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833 Removed Reference https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337 Removed Reference https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-74679', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T17:01:05.746125Z'} -
CVE Translated by [email protected]
Oct. 14, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: gadget: f_ncm: Usar unsigned int para ndp_index La variable ndp_index está declarada como un entero con signo, pero almacena el valor de retorno de get_ncm(), que es sin signo. Un host malicioso puede proporcionar un gran desplazamiento que desborda el ndp_index con signo, haciéndolo negativo. Debido a que ndp_index se compara con límites sin signo, este valor negativo elude las comprobaciones de cordura y conduce a una lectura fuera de límites al calcular la dirección del bloque NDP (ntb_ptr + ndp_index). Solucione esto cambiando ndp_index a unsigned int para asegurar comparaciones sin signo consistentes a lo largo de la función. -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 22, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': '9c8c6825a750fcd3efbe922847ca70ccd5a66857', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': 'a1c0deeba4a46481543d6b09c665f758c54c3a1a', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': 'd13f650a3485b58c124b3cda45597e8002c9c833', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': '11413d7ed42174b8f5d8d0b6a25d10dc88239b21', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': '5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': 'd328fdc607fa1bb668ad512e1c918a120f78f337', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': 'fc9e54e22845c4da29588ca0986cb7c795b5a262', 'versionType': 'git'}, {'status': 'affected', 'version': '370af734dfaf8336b496b386e194648e097e248a', 'lessThan': '6b1c8a9403a26cb0fed7a648916c74dc236da591', 'versionType': 'git'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.265', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.216', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.183', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.152', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.104', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/11413d7ed42174b8f5d8d0b6a25d10dc88239b21 Added Reference https://git.kernel.org/stable/c/5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3 Added Reference https://git.kernel.org/stable/c/6b1c8a9403a26cb0fed7a648916c74dc236da591 Added Reference https://git.kernel.org/stable/c/9c8c6825a750fcd3efbe922847ca70ccd5a66857 Added Reference https://git.kernel.org/stable/c/a1c0deeba4a46481543d6b09c665f758c54c3a1a Added Reference https://git.kernel.org/stable/c/d13f650a3485b58c124b3cda45597e8002c9c833 Added Reference https://git.kernel.org/stable/c/d328fdc607fa1bb668ad512e1c918a120f78f337 Added Reference https://git.kernel.org/stable/c/fc9e54e22845c4da29588ca0986cb7c795b5a262