CVE-2026-43421
usb: gadget: f_ncm: Fix net_device lifecycle with device_move
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Fix net_device lifecycle with device_move The network device outlived its parent gadget device during disconnection, resulting in dangling sysfs links and null pointer dereference problems. A prior attempt to solve this by removing SET_NETDEV_DEV entirely [1] was reverted due to power management ordering concerns and a NO-CARRIER regression. A subsequent attempt to defer net_device allocation to bind [2] broke 1:1 mapping between function instance and network device, making it impossible for configfs to report the resolved interface name. This results in a regression where the DHCP server fails on pmOS. Use device_move to reparent the net_device between the gadget device and /sys/devices/virtual/ across bind/unbind cycles. This preserves the network interface across USB reconnection, allowing the DHCP server to retain their binding. Introduce gether_attach_gadget()/gether_detach_gadget() helpers and use __free(detach_gadget) macro to undo attachment on bind failure. The bind_count ensures device_move executes only on the first bind. [1] https://lore.kernel.org/lkml/[email protected]/ [2] https://lore.kernel.org/linux-usb/[email protected]/
INFO
Published Date :
May 8, 2026, 3:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest stable version.
- Verify net_device lifecycle management after applying updates.
- Ensure sysfs links remain valid upon device disconnection.
- Test DHCP server functionality after reconnection.
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-43421.
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-43421 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-43421
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-43421 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43421 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 Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: usb: gadget: f_ncm: Corrección del ciclo de vida de net_device con device_move El dispositivo de red sobrevivió a su dispositivo gadget padre durante la desconexión, lo que resultó en enlaces sysfs colgantes y problemas de desreferencia de puntero nulo. Un intento anterior de resolver esto eliminando SET_NETDEV_DEV por completo [1] fue revertido debido a preocupaciones sobre el orden de la gestión de energía y una regresión de NO-CARRIER. Un intento posterior de aplazar la asignación de net_device a bind [2] rompió el mapeo 1:1 entre la instancia de función y el dispositivo de red, haciendo imposible que configfs informara el nombre de interfaz resuelto. Esto resulta en una regresión donde el servidor DHCP falla en pmOS. Utilizar device_move para reasignar el padre del net_device entre el dispositivo gadget y /sys/devices/virtual/ a través de los ciclos de bind/unbind. Esto preserva la interfaz de red a través de la reconexión USB, permitiendo que el servidor DHCP retenga su enlace. Se introducen las funciones auxiliares gether_attach_gadget()/gether_detach_gadget() y se utiliza la macro __free(detach_gadget) para deshacer la conexión en caso de fallo de bind. El bind_count asegura que device_move se ejecute solo en el primer bind. [1] https://lore.kernel.org/lkml/[email protected]/ [2] https://lore.kernel.org/linux-usb/[email protected]/ -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4 Added Reference https://git.kernel.org/stable/c/7c97366f5dac5255e60a317ffe3a5b18f3745547 Added Reference https://git.kernel.org/stable/c/85acaba2f42b557499bab3608307f17bf13beb69 Added Reference https://git.kernel.org/stable/c/93f116c3393a22acab96ad1bef12b2572eb80ca4 Added Reference https://git.kernel.org/stable/c/e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d Added Reference https://git.kernel.org/stable/c/ec35c1969650e7cb6c8a91020e568ed46e3551b0 Removed Reference https://git.kernel.org/stable/c/36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4 Removed Reference https://git.kernel.org/stable/c/7c97366f5dac5255e60a317ffe3a5b18f3745547 Removed Reference https://git.kernel.org/stable/c/85acaba2f42b557499bab3608307f17bf13beb69 Removed Reference https://git.kernel.org/stable/c/93f116c3393a22acab96ad1bef12b2572eb80ca4 Removed Reference https://git.kernel.org/stable/c/e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d Removed Reference https://git.kernel.org/stable/c/ec35c1969650e7cb6c8a91020e568ed46e3551b0 Removed Reference Type https://git.kernel.org/stable/c/85acaba2f42b557499bab3608307f17bf13beb69 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/93f116c3393a22acab96ad1bef12b2572eb80ca4 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ec35c1969650e7cb6c8a91020e568ed46e3551b0 Types: Patch -
CVE Modified by 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Oct. 15, 2026
Action Type Old Value New Value Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/43xxx/CVE-2026-43421.json">CVE-2026-43421</a> Added Reference https://cert-portal.siemens.com/productcert/html/ssa-784472.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 19, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4 Added Reference https://git.kernel.org/stable/c/7c97366f5dac5255e60a317ffe3a5b18f3745547 Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '93f116c3393a22acab96ad1bef12b2572eb80ca4', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': 'e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '85acaba2f42b557499bab3608307f17bf13beb69', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': 'ec35c1969650e7cb6c8a91020e568ed46e3551b0', 'versionType': 'git'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c', 'drivers/usb/gadget/function/u_ether.c', 'drivers/usb/gadget/function/u_ether.h', 'drivers/usb/gadget/function/u_ncm.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.78', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.19', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.9', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c', 'drivers/usb/gadget/function/u_ether.c', 'drivers/usb/gadget/function/u_ether.h', 'drivers/usb/gadget/function/u_ncm.h'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '7c97366f5dac5255e60a317ffe3a5b18f3745547', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '93f116c3393a22acab96ad1bef12b2572eb80ca4', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': 'e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '85acaba2f42b557499bab3608307f17bf13beb69', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': 'ec35c1969650e7cb6c8a91020e568ed46e3551b0', 'versionType': 'git'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c', 'drivers/usb/gadget/function/u_ether.c', 'drivers/usb/gadget/function/u_ether.h', 'drivers/usb/gadget/function/u_ncm.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.78', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.19', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.9', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c', 'drivers/usb/gadget/function/u_ether.c', 'drivers/usb/gadget/function/u_ether.h', 'drivers/usb/gadget/function/u_ncm.h'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 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': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '93f116c3393a22acab96ad1bef12b2572eb80ca4', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': 'e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': '85acaba2f42b557499bab3608307f17bf13beb69', 'versionType': 'git'}, {'status': 'affected', 'version': '40d133d7f542616cf9538508a372306e626a16e9', 'lessThan': 'ec35c1969650e7cb6c8a91020e568ed46e3551b0', 'versionType': 'git'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c', 'drivers/usb/gadget/function/u_ether.c', 'drivers/usb/gadget/function/u_ether.h', 'drivers/usb/gadget/function/u_ncm.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.11'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.11', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.78', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.19', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.9', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/gadget/function/f_ncm.c', 'drivers/usb/gadget/function/u_ether.c', 'drivers/usb/gadget/function/u_ether.h', 'drivers/usb/gadget/function/u_ncm.h'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 22, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.9 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.11 up to (excluding) 6.12.78 Added Reference Type kernel.org: https://git.kernel.org/stable/c/85acaba2f42b557499bab3608307f17bf13beb69 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/93f116c3393a22acab96ad1bef12b2572eb80ca4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ec35c1969650e7cb6c8a91020e568ed46e3551b0 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 08, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Fix net_device lifecycle with device_move The network device outlived its parent gadget device during disconnection, resulting in dangling sysfs links and null pointer dereference problems. A prior attempt to solve this by removing SET_NETDEV_DEV entirely [1] was reverted due to power management ordering concerns and a NO-CARRIER regression. A subsequent attempt to defer net_device allocation to bind [2] broke 1:1 mapping between function instance and network device, making it impossible for configfs to report the resolved interface name. This results in a regression where the DHCP server fails on pmOS. Use device_move to reparent the net_device between the gadget device and /sys/devices/virtual/ across bind/unbind cycles. This preserves the network interface across USB reconnection, allowing the DHCP server to retain their binding. Introduce gether_attach_gadget()/gether_detach_gadget() helpers and use __free(detach_gadget) macro to undo attachment on bind failure. The bind_count ensures device_move executes only on the first bind. [1] https://lore.kernel.org/lkml/[email protected]/ [2] https://lore.kernel.org/linux-usb/[email protected]/ Added Reference https://git.kernel.org/stable/c/85acaba2f42b557499bab3608307f17bf13beb69 Added Reference https://git.kernel.org/stable/c/93f116c3393a22acab96ad1bef12b2572eb80ca4 Added Reference https://git.kernel.org/stable/c/e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d Added Reference https://git.kernel.org/stable/c/ec35c1969650e7cb6c8a91020e568ed46e3551b0