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 дети OF в обратном порядке, прежде чем отключить родительские часы на обоих путях. Используйте of_platform_device_destroy(), потому что ручное создание детей не устанавливает флаг, требуемый of_platform_depopulate().
Эта проблема была выявлена в ходе нашего продолжающегося исследования статического анализа при анализе кода ядра.
Показать оригинальное описание (EN)
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.