Skip to main content
Network Thinking Solutions Logo

CVE-2024-27057

Linux kernel: ASoC: SOF: ipc4-pcm: Workaround for crashed firmware on system suspend

All CVEs
CVE-2024-27057Published 5/1/2024

Linux kernel: ASoC: SOF: ipc4-pcm: Workaround for crashed firmware on system suspend

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc4-pcm: Workaround for crashed firmware on system suspend When the system is suspended while audio is active, the sof_ipc4_pcm_hw_free() is invoked to reset the pipelines since during suspend the DSP is turned off, streams will be re-started after resume. If the firmware crashes during while audio is running (or when we reset the stream before suspend) then the sof_ipc4_set_multi_pipeline_state() will fail with IPC error and the state change is interrupted. This will cause misalignment between the kernel and firmware state on next DSP boot resulting errors returned by firmware for IPC messages, eventually failing the audio resume. On stream close the errors are ignored so the kernel state will be corrected on the next DSP boot, so the second boot after the DSP panic. If sof_ipc4_trigger_pipelines() is called from sof_ipc4_pcm_hw_free() then state parameter is SOF_IPC4_PIPE_RESET and only in this case. Treat a forced pipeline reset similarly to how we treat a pcm_free by ignoring error on state sending to allow the kernel's state to be consistent with the state the firmware will have after the next boot.

Published
5/1/2024
Last modified
10/30/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.19, < 6.6.23

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.7.11

Verify advisory

Source
linux kernel
linux
6.8

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ ceb89acc4dc8f071f63f8d64442c7a5d768e4c9d, < 6ee66295542f88e5179439f60053de792df3f90e

Verify advisory

Source
Linux
Linux
≥ ceb89acc4dc8f071f63f8d64442c7a5d768e4c9d, < 3cac6eebea9b4bc5f041e157e45c76e212ad6759

Verify advisory

Source
Linux
Linux
≥ ceb89acc4dc8f071f63f8d64442c7a5d768e4c9d, < d153e8b154f9746ac969c85a4e6474760453647c

Verify advisory

Source
Linux
Linux
≥ ceb89acc4dc8f071f63f8d64442c7a5d768e4c9d, < c40aad7c81e5fba34b70123ed7ce3397fa62a4d2

Verify advisory

Source
Linux
Linux
5.19

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.