CVE-2026-31650

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

State
Published
Severity
Not scored
Published
Apr 24, 2026
Updated
Oct 21, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 117a9c589ce0cf68065c007a02fd94da01e1181a to before 4b5251eebc2b1dedbb33fedf1b1109fea161b846Affected
  • dcfdd698dc521c6046e9b80c16281575efb25d23 to before ea7468f61be033f4e18b95f2912010ed1d175d75Affected
  • dcfdd698dc521c6046e9b80c16281575efb25d23 to before ef0448c569b37ceabdd038e9faa311e5179127b0Affected
  • dcfdd698dc521c6046e9b80c16281575efb25d23 to before 8f4d20a710225ec7a565f6a0459862d3b1f32330Affected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 6.18.23 through 6.18.*Not affected
  • 6.19.13 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.