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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Use-After-Free in kernel USB serial drivers
Action: Update Kernel
AI Analysis

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 lack of an EPSS score and absence from the KEV catalog suggest 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.

Generated by OpenCVE AI on October 18, 2026 at 19:33 UTC.

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 18, 2026 at 19:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 16:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:46:20.399Z

Reserved: 2026-09-25T10:25:14.365Z

Link: CVE-2026-98696

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:23.070

Modified: 2026-10-18T16:17:23.070

Link: CVE-2026-98696

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T20:00:12Z

Weaknesses