{"id":"CVE-2026-43422","summary":"usb: legacy: ncm: Fix NPE in gncm_bind","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: legacy: ncm: Fix NPE in gncm_bind\n\nCommit 56a512a9b410 (\"usb: gadget: f_ncm: align net_device lifecycle\nwith bind/unbind\") deferred the allocation of the net_device. This\nchange leads to a NULL pointer dereference in the legacy NCM driver as\nit attempts to access the net_device before it's fully instantiated.\n\nStore the provided qmult, host_addr, and dev_addr into the struct\nncm_opts-\u003enet_opts during gncm_bind(). These values will be properly\napplied to the net_device when it is allocated and configured later in\nthe binding process by the NCM function driver.","modified":"2026-07-08T08:12:34.763357649Z","published":"2026-05-08T14:21:57.031Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43422.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/b23e86a3a15803c3dcb24701285f73e65099fdf9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be5738d19bed244ede84da45bc45395bcb1d99e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fde0634ad9856b3943a2d1a8cc8de174a63ac840"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43422.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43422"},{"type":"PACKAGE","url":"https://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"}]}],"versions":["v6.18.18","v6.18.17","v6.19.8","v6.19.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43422.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}