CVE-2026-31650

mmc: vub300: fix use-after-free on disconnect

No CVSS score yet EPSS 0.16%

Published 24 Apr 2026 Updated 21 Oct 2026 CNA: Linux

Check your servers for CVE-2026-31650

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31650 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

mmc: vub300: fix use-after-free on disconnect

The vub300 driver maintains an explicit reference count for the controller and its driver data and the last reference can in theory be dropped after the driver has been unbound.

This specifically means that the controller allocation must not be device managed as that can lead to use-after-free.

Note that the lifetime is currently also incorrectly tied the parent USB device rather than interface, which can lead to memory leaks if the driver is unbound without its device being physically disconnected (e.g. on probe deferral).

Fix both issues by reverting to non-managed allocation of the controller.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.17% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 117a9c589ce0cf68065c007a02fd94da01e1181a, before 4b5251eebc2b1dedbb33fedf1b1109fea161b846
affected from dcfdd698dc521c6046e9b80c16281575efb25d23, before ea7468f61be033f4e18b95f2912010ed1d175d75
affected from dcfdd698dc521c6046e9b80c16281575efb25d23, before ef0448c569b37ceabdd038e9faa311e5179127b0
affected from dcfdd698dc521c6046e9b80c16281575efb25d23, before 8f4d20a710225ec7a565f6a0459862d3b1f32330
Other versions: unaffected
Linux
affected 6.17
unaffected before 6.17
unaffected from 6.18.23 up to and including 6.18.*
unaffected from 6.19.13 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31650 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31650

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31650
trivy image --scanners vuln IMAGE | grep CVE-2026-31650

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31650 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.