Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-38056

7.8 · HIGH
Published Jun 18, 2025 linux CWE-416 EPSS 0.17% (6th pctl)

Overview

CVE-2025-38056 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: SOF: Intel: hda: Fix UAF when reloading module

hda_generic_machine_select() appends -idisp to the tplg filename by

allocating a new string with devm_kasprintf(), then stores the string

right back into the global variable snd_soc_acpi_intel_hda_machines.

When the module is unloaded, this memory is freed, resulting in a global

variable pointing to freed memory. Reloading the module then triggers

a use-after-free:

BUG: KFENCE: use-after-free read in string+0x48/0xe0

Use-after-free read at 0x00000000967e0109 (in kfence-#99):

string+0x48/0xe0

vsnprintf+0x329/0x6e0

devm_kvasprintf+0x54/0xb0

devm_kasprintf+0x58/0x80

hda_machine_select.cold+0x198/0x17a2 [snd_sof_intel_hda_generic]

sof_probe_work+0x7f/0x600 [snd_sof]

process_one_work+0x17b/0x330

worker_thread+0x2ce/0x3f0

kthread+0xcf/0x100

ret_from_fork+0x31/0x50

ret_from_fork_asm+0x1a/0x30

kfence-#99: 0x00000000198a940f-0x00000000ace47d9d, size=64, cache

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.12, < 6.12.31 Affected

Frequently Asked Questions

What is CVE-2025-38056?

CVE-2025-38056 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38056?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38056?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38056?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38056 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.