CVE-2026-53152 PUBLISHED

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

Assigner: Linux
Reserved: 09.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7457b35afafef5195a498d13b3e05f4258beeecc to b1180ff50cca48807893ecde7d1f81d573c88c85 (excl.)
  • affected from 5b58ba042e2379f4c01da3211fd17dbdc983c2ac to 7f8007be13e6cc1e0a508fe461f9a91ba9a28b8c (excl.)
  • affected from ff6f0286c896f062853552097220dd93961be9c4 to 8d9eca906e76d3dd40e5f2c79701f066678f2e62 (excl.)
  • affected from ff6f0286c896f062853552097220dd93961be9c4 to 1e9a4850afa0ceb63984fb1a9f3e86d0fc4fd18f (excl.)
  • affected from 6.12.78 to 6.12.94 (excl.)
  • affected from 6.18.19 to 6.18.36 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.19 is affected
  • unaffected from 0 to 6.19 (excl.)
  • unaffected from 6.12.94 to 6.12.* (incl.)
  • unaffected from 6.18.36 to 6.18.* (incl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References