CVE-2026-98209: mmc: sdhci-of-aspeed: Remove children before releasing SDC resources
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mmc: sdhci-of-aspeed: Remove children before releasing SDC resources
Probe failure and removal leave SDHCI child devices registered after the parent clock and managed resources are released.
Unregister the OF children in reverse order before disabling the parent clock on both paths. Use of_platform_device_destroy() because manual child creation does not set the flag required by of_platform_depopulate().
This issue was identified during our ongoing static-analysis research while reviewing kernel code.
The Linux kernel CVE team has assigned CVE-2026-98209 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 5.10.271 with commit 6b22b4d29e4fc1d2de2e4d7174925d68220165fb Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 5.15.222 with commit 67e8117df8547433989a6ac1545a68848d0a289f Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 6.1.189 with commit bc5e79a5a5651588f3a93bef7815e4e86f78962c Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 6.6.158 with commit b84d29f2541c8adb768e468388dbaa4bc25ef157 Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 6.12.112 with commit 7eb896617a6db846b18596c10ca9f8900a73013e Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 6.18.54 with commit 15b5ffd8af2dd46856da57467eb6e0f90d8ada51 Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 7.2.8 with commit 356b4b3b28a8ecd2a6c66d3b9666686315337df1 Issue introduced in 5.4 with commit bb7b8ec62dfb9b255027c3a54d01f12fc3bd1d2c and fixed in 7.3-rc4 with commit 4396d70bb7fec531bcf934fed016b2f3300c670b
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98209
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/mmc/host/sdhci-of-aspeed.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/6b22b4d29e4fc1d2de2e4d7174925d68220165fb https://git.kernel.org/stable/c/67e8117df8547433989a6ac1545a68848d0a289f https://git.kernel.org/stable/c/bc5e79a5a5651588f3a93bef7815e4e86f78962c https://git.kernel.org/stable/c/b84d29f2541c8adb768e468388dbaa4bc25ef157 https://git.kernel.org/stable/c/7eb896617a6db846b18596c10ca9f8900a73013e https://git.kernel.org/stable/c/15b5ffd8af2dd46856da57467eb6e0f90d8ada51 https://git.kernel.org/stable/c/356b4b3b28a8ecd2a6c66d3b9666686315337df1 https://git.kernel.org/stable/c/4396d70bb7fec531bcf934fed016b2f3300c670b