# CVE-2026-43421: usb: gadget: f\_ncm: Fix net\_device lifecycle with device\_move

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-05-08T14:21:56.363Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 7c97366f5dac5255e60a317ffe3a5b18f3745547; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 93f116c3393a22acab96ad1bef12b2572eb80ca4; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 85acaba2f42b557499bab3608307f17bf13beb69; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< ec35c1969650e7cb6c8a91020e568ed46e3551b0
- Anyone running Linux 3.11

## 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/f2a4f9847617a0929d62025748384092e5f35cce.camel@crapouillou.net/
\[2\] https://lore.kernel.org/linux-usb/795ea759-7eaf-4f78-81f4-01ffbf2d7961@ixit.cz/

## Affected and fixed versions

- Linux: \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 7c97366f5dac5255e60a317ffe3a5b18f3745547; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 93f116c3393a22acab96ad1bef12b2572eb80ca4; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 85acaba2f42b557499bab3608307f17bf13beb69; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< ec35c1969650e7cb6c8a91020e568ed46e3551b0 (cvelist)
- Linux: 3.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43421. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43421.md
Affected: Linux >= 40d133d7f542616cf9538508a372306e626a16e9, < 7c97366f5dac5255e60a317ffe3a5b18f3745547; >= 40d133d7f542616cf9538508a372306e626a16e9, < 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4; >= 40d133d7f542616cf9538508a372306e626a16e9, < 93f116c3393a22acab96ad1bef12b2572eb80ca4; >= 40d133d7f542616cf953850…
Fixed in: Linux 7c97366f5dac5255e60a317ffe3a5b18f3745547, Linux 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4, Linux 93f116c3393a22acab96ad1bef12b2572eb80ca4, Linux 85acaba2f42b557499bab3608307f17bf13beb69

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43421 being exploited?

There is no confirmed exploitation: CVE-2026-43421 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-43421?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43421?

Linux \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 7c97366f5dac5255e60a317ffe3a5b18f3745547; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 93f116c3393a22acab96ad1bef12b2572eb80ca4; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< 85acaba2f42b557499bab3608307f17bf13beb69; \>= 40d133d7f542616cf9538508a372306e626a16e9, \< ec35c1969650e7cb6c8a91020e568ed46e3551b0; Linux 3.11.

### Is there a fix for CVE-2026-43421?

Yes. Fixed in Linux 7c97366f5dac5255e60a317ffe3a5b18f3745547, Linux 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4, Linux 93f116c3393a22acab96ad1bef12b2572eb80ca4, Linux 85acaba2f42b557499bab3608307f17bf13beb69. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43421?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/93f116c3393a22acab96ad1bef12b2572eb80ca4>
- patch: <https://git.kernel.org/stable/c/e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d>
- patch: <https://git.kernel.org/stable/c/85acaba2f42b557499bab3608307f17bf13beb69>
- patch: <https://git.kernel.org/stable/c/ec35c1969650e7cb6c8a91020e568ed46e3551b0>
- other: <https://git.kernel.org/stable/c/7c97366f5dac5255e60a317ffe3a5b18f3745547>
- other: <https://git.kernel.org/stable/c/36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43421>

HTML: <https://flawdb.com/CVE-2026-43421> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43421>
