CVE-2026-53152

MEDIUM

mmc: dw_mmc-rockchip: Add missing private data for very old controllers

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: mmc: dw_mmc-rockchip: Add missing private data for very old controllers The really old controllers (rk2928, rk3066, rk3188) do not support UHS speeds at all, and thus never handled phase data. For that reason it never had a parse_dt callback and no driver private data at all. Commit ff6f0286c896 ("mmc: dw_mmc-rockchip: Add memory clock auto-gating support") makes the private data sort of mandatory, because the init function checks whether phases are configured internally or through the clock controller. This results in the old SoCs then experiencing NULL-pointer dereferences when they try to access that private-data struct. While we could have if (priv) conditionals in all places, it's way less cluttery to just give the old types their private-data struct.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (17)
linux/Kernel < 6.12.94linux
linux/Kernel 6.13.0 - 6.18.36linux
linux/Kernel 6.19.0 - 7.0.13linux
Linux/Linux < 6.19
Linux/Linux 5b58ba042e2379f4c01da3211fd17dbdc983c2ac - 7f8007be13e6cc1e0a508fe461f9a91ba9a28b8c
Linux/Linux 6.12.78 - 6.12.94
Linux/Linux 6.12.94 - 6.12.*
Linux/Linux 6.18.19 - 6.18.36
Linux/Linux 6.18.36 - 6.18.*
Linux/Linux 6.19
... and 7 more
Published Jun 25, 2026
Tracked Since Jun 25, 2026