CVE-2026-74679

Source
https://cve.org/CVERecord?id=CVE-2026-74679
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74679.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74679
Downstream
Published
2026-08-22T15:32:47Z
Modified
2026-08-24T11:47:18Z
Summary
usb: gadget: f_ncm: Use unsigned int for ndp_index
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74679.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
370af734dfaf8336b496b386e194648e097e248a
Fixed
9c8c6825a750fcd3efbe922847ca70ccd5a66857
Fixed
a1c0deeba4a46481543d6b09c665f758c54c3a1a
Fixed
d13f650a3485b58c124b3cda45597e8002c9c833
Fixed
11413d7ed42174b8f5d8d0b6a25d10dc88239b21
Fixed
5b2b3a3229a3f4c493ffdee53aee2f173b6f13b3
Fixed
d328fdc607fa1bb668ad512e1c918a120f78f337
Fixed
fc9e54e22845c4da29588ca0986cb7c795b5a262
Fixed
6b1c8a9403a26cb0fed7a648916c74dc236da591

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74679.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.17.0
Fixed
5.10.265
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.216
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.183
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.152
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.104
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.45
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74679.json"