CVEvulnerability
CVE-2026-31650
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-24
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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.
Affected configurations
• linux linux kernel (>= 6.17.1 < 6.18.23)
• linux linux kernel (>= 6.19 < 6.19.13)
• linux linux kernel 6.17
• linux linux kernel 7.0
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/4b5251eebc2b1dedbb33fedf1b1109fea161b846 git.kernel.org
- https://git.kernel.org/stable/c/8f4d20a710225ec7a565f6a0459862d3b1f32330 Patch
- https://git.kernel.org/stable/c/ea7468f61be033f4e18b95f2912010ed1d175d75 Patch
- https://git.kernel.org/stable/c/ef0448c569b37ceabdd038e9faa311e5179127b0 Patch