В ядре Linux устранена следующая уязвимость: ASoC: fsl_audmix: rework runtime PM handling in probe After pm_runtime_enable() Блок AUDMIX выключен и остается приостановленным до первого возобновления runtime. Регистр записывает выданные между зондом () и первым резюме (например, с путей управления DAPM или ALSA) целевые аппаратные средства без питания и вызывают зависание системы. Исправьте это, позвонив pm_runtime_resume_and_get() сразу после pm_runtime_enable(), чтобы включить аппаратное обеспечение и включить его часы.
После этого отпустите ссылку с помощью pm_runtime_put(), чтобы позволить фреймворку Runtime PM приостановить работу устройства и переключить regmap в режим только кэша во время простоя. Когда CONFIG_PM отключен или время выполнения PM не включено, вызовы pm_runtime_* являются заглушками, которые не приводят в действие аппаратное обеспечение. Обработайте этот случай явно, вызвав fsl_audmix_runtime_resume (), чтобы аппаратное обеспечение всегда было инициализировано и его часы были включены, обеспечивая доступ к регистру независимо от конфигурации PM.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_audmix: rework runtime PM handling in probe After pm_runtime_enable() the AUDMIX block is powered off and stays suspended until the first runtime resume. Register writes issued between probe() and the first resume (e.g. from DAPM or ALSA control paths) target unpowered hardware and cause a system hang. Fix this by calling pm_runtime_resume_and_get() immediately after pm_runtime_enable() to power the hardware up and enable its clocks. Release the reference afterwards with pm_runtime_put() to allow the runtime PM framework to suspend the device and switch the regmap to cache-only mode when idle. When CONFIG_PM is disabled or runtime PM is not enabled, pm_runtime_* calls are stubs that do not power up the hardware. Handle this case explicitly by calling fsl_audmix_runtime_resume() directly so the hardware is always initialised and its clocks are enabled, ensuring register accesses succeed regardless of PM configuration.
Уязвимые продукты 4
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
6.12.110
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
6.18.52
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
7.2.6
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
5.2
|
7.3-rc1
|