Use-after-free in Linux kernel - CVE-2025-38056
Published: June 20, 2025
Vulnerability identifier: #VU111535
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-38056
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the hda_generic_machine_select() function in sound/soc/sof/intel/hda.c. A local user can escalate privileges on the system.
Affected software
Linux kernel
Ubuntu
linux (Ubuntu package)
linux-hwe-6.14 (Ubuntu package)
Ubuntu
linux (Ubuntu package)
linux-hwe-6.14 (Ubuntu package)
How to mitigate CVE-2025-38056
Install update from vendor's repository.
linux (Ubuntu package) - addressed in versions 6.14.0-28.28, 6.14.0-1010.10~24.04.1, 6.14.0-1011.11, 6.14.0-1011.11~24.04.1, 6.14.0-1012.12~24.04.1, 6.14.0-1014.15, 6.14.0-1014.15~24.04.1
linux-hwe-6.14 (Ubuntu package) - addressed in versions 6.14.0-28.28~24.04.1, 6.14.0-1010.10
linux-hwe-6.14 (Ubuntu package) - addressed in versions 6.14.0-28.28~24.04.1, 6.14.0-1010.10