CVE-2024-27057
Last modified
CVE-2024-27057 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 6.6.23 | — |
| Linux | Linux Kernel | >= 6.7, < 6.7.11 | — |
| Linux | Linux Kernel | 6.8 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27057?
How severe is CVE-2024-27057?
How do I fix CVE-2024-27057?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-27051In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-27052In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-27053In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2024-27054In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-27055Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-27056In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-27058In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-27059In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-2706A vulnerability, which was classified as critical, was found…8.8
- CVE-2024-27060In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-27061In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-27062In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2024-27057?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
