CVE-2025-38056
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a use-after-free vulnerability was discovered in the ASoC SOF Intel HDA component. The issue occurs when hda_generic_machine_select() appends -idisp to the tplg filename by allocating a new string with devm_kasprintf() and storing it in the global variable snd_soc_acpi_intel_hda_machines. The vulnerability was disclosed on June 18, 2025 (NVD).

Technical details

The vulnerability is triggered when reloading the module, which causes a use-after-free read condition in the string+0x48/0xe0 function. When the module is unloaded, the memory is freed, resulting in a global variable pointing to freed memory. The bug was detected by KFENCE (Kernel Electric-Fence) showing the memory was allocated by task 333 on cpu 8 and later freed by task 1543 on cpu 4 (NVD, Wiz).

Impact

This use-after-free vulnerability could lead to memory corruption in the Linux kernel. When exploited, it could potentially result in system crashes, information leaks, or possible privilege escalation in the context of the kernel (Wiz).

Mitigation and workarounds

The vulnerability has been patched by modifying the code to copy the match array with devm_kmemdup_array() before any modifications are made. Users should update their Linux kernel to a version containing this fix (Wiz).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • linux-ibm-5.15
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management