CVE-2026-43422

Source
https://cve.org/CVERecord?id=CVE-2026-43422
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43422.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-43422
Downstream
Published
2026-05-08T14:21:57.031Z
Modified
2026-07-08T08:12:34.763357649Z
Summary
usb: legacy: ncm: Fix NPE in gncm_bind
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: legacy: ncm: Fix NPE in gncm_bind

Commit 56a512a9b410 ("usb: gadget: fncm: align netdevice lifecycle with bind/unbind") deferred the allocation of the netdevice. This change leads to a NULL pointer dereference in the legacy NCM driver as it attempts to access the netdevice before it's fully instantiated.

Store the provided qmult, hostaddr, and devaddr into the struct ncmopts->netopts during gncmbind(). These values will be properly applied to the netdevice when it is allocated and configured later in the binding process by the NCM function driver.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43422.json",
    "cna_assigner": "Linux"
}
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
b62076e780a2121903ecf9ffdfb89c64647cb7da
Fixed
be5738d19bed244ede84da45bc45395bcb1d99e0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
188338c1827842f898761a939669cf345bdf07e2
Fixed
b23e86a3a15803c3dcb24701285f73e65099fdf9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
56a512a9b4107079f68701e7d55da8507eb963d9
Fixed
fde0634ad9856b3943a2d1a8cc8de174a63ac840

Affected versions

v6.*
v6.18.17
v6.18.18
v6.19.7
v6.19.8

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.17
Fixed
6.18.19
Type
ECOSYSTEM
Events
Introduced
6.19.7
Fixed
6.19.9

Database specific

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