Skip to main content

Linux Kernel CVE-2026-43421

| EUVDEUVD-2026-28727 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-05-08 Linux GHSA-w77g-4c35-prwp
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access low-privilege shell on USB gadget device
  2. Delivery
    Trigger USB cable disconnection event
  3. Exploit
    net_device parent pointer becomes dangling reference
  4. Execution
    Kernel dereferences null/stale sysfs pointer
  5. Impact
    Kernel panic (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the system to be configured and actively operating as a USB NCM gadget (f_ncm function enabled in USB gadget configfs). This is a non-default configuration present primarily on embedded Linux systems, USB tethering hosts, and devices running distributions like postmarketOS. A local user with at least low-privilege access (PR:L per CVSS) must be present on the system, or the trigger may occur automatically through normal USB cable disconnection without any user action - meaning the 'attacker' in practice could simply be the USB disconnect event itself on a shared system. The vulnerability does NOT affect standard desktop or server Linux installations that are not configured as USB gadgets. The null pointer dereference is limited to availability impact (kernel crash/panic); there is no code execution, privilege escalation, or data disclosure pathway identified. Systems running the fixed kernel versions (7.0, 6.19.9, 6.18.19, 6.12.78) are not affected.

Impact

Real-world risk is moderate-to-low despite the High availability impact in the CVSS score. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 5.5) accurately reflects that exploitation is constrained to local access with low privileges, with no confidentiality or integrity impact - only a kernel crash. EPSS at 0.02% (5th percentile) confirms negligible exploitation interest from the threat intelligence community. The vulnerability is not listed in CISA KEV, and no public proof-of-concept exploit has been identified. The trigger condition - USB NCM gadget disconnection - is not universally present; it only affects systems configured as USB gadgets (not typical workstations or servers). The combination of local-only attack vector, low EPSS, absence of KEV listing, and narrow deployment surface (embedded Linux, USB tethering hosts, postmarketOS devices) substantially reduces real-world priority compared to its CVSS availability rating alone. Patching is straightforward given vendor-released fixes across multiple stable branches.

Exploit ScenarioDerived

A local user with low privileges on a Linux system configured as a USB NCM gadget - such as a smartphone running postmarketOS, an embedded Linux device, or a USB tethering host - triggers the vulnerability by repeatedly connecting and disconnecting the USB cable or by causing USB enumeration events. During disconnection, the kernel attempts to access the net_device's parent sysfs pointer, which now references the torn-down gadget device, resulting in a null pointer dereference and kernel panic (denial of service). No public proof-of-concept exists, but the trigger is an inherent part of the USB device lifecycle.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Null pointer dereference in the Linux kernel USB NCM gadget subsystem (f_ncm) causes kernel crashes during USB device disconnection cycles. The vulnerability stems from a net_device lifecycle management flaw where the network device outlives its parent gadget device, leaving dangling sysfs links that trigger null pointer dereferences. Systems acting as USB NCM gadgets - common in embedded Linux, postmarketOS, and USB tethering scenarios - are exposed to local denial-of-service conditions upon USB reconnection. No public exploit exists and EPSS stands at 0.02%, indicating very low exploitation probability; however, the bug can be triggered by any low-privileged local user on an affected configuration.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel version: 7.0, 6.19.9, 6.18.19, or 6.12.78, depending on the stable branch in use. Patches are available directly from the kernel stable tree at https://git.kernel.org/stable/c/ (commits 93f116c339, e584cb58a2, 85acaba2f4, and ec35c19696 for respective branches). Distribution maintainers running RHEL, Debian, Ubuntu, or postmarketOS should monitor their vendor security channels for backported fixes. As a compensating control where immediate kernel upgrade is not feasible, disabling or unloading the f_ncm USB gadget module (modprobe -r usb_f_ncm) will eliminate the attack surface entirely, at the cost of losing USB NCM tethering or gadget networking functionality. Systems not using USB gadget mode (i.e., standard workstations and servers) are unaffected and require no action. No workaround addresses the root cause; module removal is the only effective interim mitigation.

Affected VersionsENISA

Linux patch: 7.0
Linux 3.11
Linux patch: 6.18.19
Linux 40d133d7f542616cf9538508a372306e626a16e9 <e584cb58a2ea7ff4d3a4bc43d5ca512ed3ecb77d
Linux 40d133d7f542616cf9538508a372306e626a16e9 <ec35c1969650e7cb6c8a91020e568ed46e3551b0
Linux 40d133d7f542616cf9538508a372306e626a16e9 <85acaba2f42b557499bab3608307f17bf13beb69
Linux 40d133d7f542616cf9538508a372306e626a16e9 <93f116c3393a22acab96ad1bef12b2572eb80ca4
Linux patch: 6.19.9
Linux patch: 6.12.78
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in drivers/usb/gadget/function/f_ncm.c, the kernel's USB Network Control Model gadget implementation (CWE-476: NULL Pointer Dereference). When a USB gadget device is disconnected and reconnected, the net_device (representing the network interface) must be correctly reparented between the gadget device node and /sys/devices/virtual/. Prior fixes either removed SET_NETDEV_DEV (causing power management regressions) or deferred net_device allocation to bind time (breaking configfs interface name reporting and causing DHCP failures on pmOS). The root cause is a use-after-free/dangling pointer scenario: the net_device kobject retains a sysfs reference to the parent gadget device after that device is torn down, and subsequent access dereferences the now-invalid pointer. The fix uses device_move() to atomically reparent the net_device, introduces gether_attach_gadget()/gether_detach_gadget() lifecycle helpers, and uses a bind_count guard to ensure device_move executes only on the first bind. Affected CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:* across multiple stable branches from commit 40d133d7f542616cf9538508a372306e626a16e9.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector and low privileges required to trigger USB gadget disconnect; purely availability impact with no confidentiality or integrity exposure.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jun 19, 2026 - 13:52 NVD
5.5 (MEDIUM)
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 14:21 nvd
UNKNOWN (no severity yet)
CVE Published
May 08, 2026 - 14:21 nvd
MEDIUM 5.5

DescriptionNVD

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/

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy