Bug 2373645 (CVE-2022-50115) - CVE-2022-50115 kernel: ASoC: SOF: ipc3-topology: Prevent double freeing of ipc_control_data via load_bytes
Summary: CVE-2022-50115 kernel: ASoC: SOF: ipc3-topology: Prevent double freeing of ip...
Keywords:
Status: NEW
Alias: CVE-2022-50115
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:12 UTC by OSIDB Bzimport
Modified: 2025-06-19 02:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:12:06 UTC
In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: ipc3-topology: Prevent double freeing of ipc_control_data via load_bytes

We have sanity checks for byte controls and if any of the fail the locally
allocated scontrol->ipc_control_data is freed up, but not set to NULL.

On a rollback path of the error the higher level code will also try to free
the scontrol->ipc_control_data which will eventually going to lead to
memory corruption as double freeing memory is not a good thing.

Comment 1 Avinash Hanwate 2025-06-18 22:43:23 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061809-CVE-2022-50115-86c0@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.