CVE-2026-31727: usb: gadget: u_ether: Fix NULL pointer deref in eth_get_drvinfo
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0326429e8ba99892e1d1e115dc8e88e1a3b64e24, 6.12.81, 6.18.22.
Low priority for now. Upgrade to Linux Linux 0326429e8ba99892e1d1e115dc8e88e1a3b64e24, 6.12.81, 6.18.22 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_ether: Fix NULL pointer deref in eth_get_drvinfo Commit ec35c1969650 ("usb: gadget: f_ncm: Fix net_device lifecycle with device_move") reparents the gadget device to /sys/devices/virtual during unbind, clearing the gadget pointer. If the userspace tool queries on the surviving interface during this detached window, this leads to a NULL pointer dereference. Unable to handle kernel NULL pointer dereference Call trace: eth_get_drvinfo+0x50/0x90 ethtool_get_drvinfo+0x5c/0x1f0 __dev_ethtool+0xaec/0x1fe0 dev_ethtool+0x134/0x2e0 dev_ioctl+0x338/0x560 Add a NULL check for dev->gadget in eth_get_drvinfo(). When detached, skip copying the fw_version and bus_info strings, which is natively handled by ethtool_get_drvinfo for empty strings.
- Published
- May 1, 2026
- Updated
- Nov 11, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- CWE-476
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 7c97366f5dac5255e60a317ffe3a5b18f3745547 and later · before f9f987472f4b8ab177be2b6492a59278ed969479affected · git
- 36c41e9724c9a7a7cda37f5a4e9d94f25c8031c4 and later · before 7fce959e9be3bf63bb0fdf4b05f9cc42cb289fe2affected · git
- 93f116c3393a22acab96ad1bef12b2572eb80ca4 and later · before 0326429e8ba99892e1d1e115dc8e88e1a3b64e24affected · git
- e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d and later · before a36e5e800b9c93e3e1ffa42f34d38b36775dbceeaffected · git
- 85acaba2f42b557499bab3608307f17bf13beb69 and later · before 7de4d46be40738c7e48e64b5cc0a34aa1e047b0aaffected · git
- ec35c1969650e7cb6c8a91020e568ed46e3551b0 and later · before e002e92e88e12457373ed096b18716d97e7bbb20affected · git
- 6.12.78 and later · before 6.12.81affected · semver
- 6.18.19 and later · before 6.18.22affected · semver
- 6.19.9 and later · before 6.19.12affected · semver
Affected versions · NVD (4)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel6.12.78 and later · before 6.12.81
- linux linux kernel6.18.19 and later · before 6.18.22
- linux linux kernel6.19.9 and later · before 6.19.12
- linux linux kernel7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:14 | linux | before 6.19.12-1 | 6.19.12-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-31725May 1, 2026 · usb: gadget: f_ecm: Fix net_device lifecycle with device_move22Monitor
- ← EarlierCVE-2026-31726May 1, 2026 · usb: gadget: uvc: fix NULL pointer dereference during unbind race22Monitor
- Later →CVE-2026-31728May 1, 2026 · usb: gadget: u_ether: Fix race between gether_disconnect and eth_stop18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0326429e8ba99892e1d1e115dc8e88e1a3b64e24 | Vendor (CNA) |
| Linux Linux | 6.12.81 | Vendor (CNA) |
| Linux Linux | 6.18.22 | Vendor (CNA) |
| Linux Linux | 6.19.12 | Vendor (CNA) |
| Linux Linux | 7de4d46be40738c7e48e64b5cc0a34aa1e047b0a | Vendor (CNA) |
| Linux Linux | 7fce959e9be3bf63bb0fdf4b05f9cc42cb289fe2 | Vendor (CNA) |
| Linux Linux | a36e5e800b9c93e3e1ffa42f34d38b36775dbcee | Vendor (CNA) |
| Linux Linux | e002e92e88e12457373ed096b18716d97e7bbb20 | Vendor (CNA) |
| Linux Linux | f9f987472f4b8ab177be2b6492a59278ed969479 | Vendor (CNA) |
| debian:linux | 6.19.12-1 · Debian:14 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- git.kernel.org/stable/c/7de4d46be40738c7e48e64b5cc0a34aa1e047b0a
- git.kernel.org/stable/c/7fce959e9be3bf63bb0fdf4b05f9cc42cb289fe2
- git.kernel.org/stable/c/a36e5e800b9c93e3e1ffa42f34d38b36775dbcee
- git.kernel.org/stable/c/e002e92e88e12457373ed096b18716d97e7bbb20
- git.kernel.org/stable/c/f9f987472f4b8ab177be2b6492a59278ed969479
Vendor advisories and official records. Exploit/PoC links are deliberately left out.