CVE-2026-98696

USB: serial: fix driver deregistration order

Published Oct 18, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

USB: serial: fix driver deregistration order

USB serial driver modules register one driver for the USB bus and one or
more drivers for the ports on the USB serial bus.

When unloading a driver module, the USB driver must be deregistered
before the USB serial bus drivers so that I/O is stopped before
unbinding the ports to avoid use-after-free in completion handlers
accessing port data.

Note that the "new_id" attributes must first be removed to prevent new
ids from being added and triggering a probe of the USB driver after it
has been deregistered.

Analysis

AI-generated

Technical impact

The vulnerability is a use‑after‑free issue in the Linux kernel USB serial subsystem. When a driver module is unloaded, the USB bus driver was deregistered after the serial bus drivers, allowing completion handlers to access freed port data. The fix ensures drivers are deregistered in the correct order and removes the new_id attributes before probing, preventing a malicious device from triggering a probe after the driver has been removed. This defect could lead to memory corruption if a malicious USB device is connected during module unload.

Affected Systems

The flaw exists in the Linux kernel's USB serial subsystem. It affects all Linux distributions running kernel versions in which the bug was present, prior to the commit that fixed the deregistration order. The vendors affected are those that ship the Linux kernel, such as Red Hat, Ubuntu, Debian, SUSE, Fedora, and any custom kernel builds that incorporate this driver interface. No specific product names are listed beyond the kernel itself.

Risk and Exploitability

A local attacker with physical access to a USB port and the ability to load or unload kernel modules could exploit the use‑after‑free to cause a kernel crash or possibly elevate privileges. The CVSS score is 4.1, indicating low severity. The EPSS score is < 1% and the KEV catalog lists it as not listed, indicating that exploitation is not widely observed, but the nature of a kernel memory corruption indicates a high impact if an exploit is crafted. The CWE involved is CWE‑416. Because the hardware interaction is required, the attack vector is local rather than remote. The vulnerability is mitigated by applying the kernel patch that reorders deregistration and removes new IDs before probing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that includes the fix (the commit that reorders deregistration, e.g., commits 428d479a0d3146, 646e5b28b4fdbc1, 9b085a06a0a411b, or a1aa474768f69ea3). This is available in all recent kernel releases; update your kernel through your distribution’s package manager.
  • If an immediate kernel upgrade is not feasible, unload all USB serial driver modules and disconnect any USB serial devices. Do not load these modules until the system is patched.
  • Use your distribution’s package manager (apt, yum, dnf, zypper, etc.) to check for the latest kernel packages and perform an unattended upgrade to the patched kernel.

Generated by OpenCVE AI on October 22, 2026 at 21:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-4 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: USB: serial: fix driver deregistration order USB serial driver modules register one driver for the USB bus and one or more drivers for the ports on the USB serial bus. When unloading a driver module, the USB driver must be deregistered before the USB serial bus drivers so that I/O is stopped before unbinding the ports to avoid use-after-free in completion handlers accessing port data. Note that the "new_id" attributes must first be removed to prevent new ids from being added and triggering a probe of the USB driver after it has been deregistered.
Title USB: serial: fix driver deregistration order
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:38 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 18, 2026, 3:46 PM