PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2025-38340: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38340 is an out-of-bounds memory read vulnerability in the Linux kernel's firmware component, specifically within the cs_dsp (Cirrus Logic Digital Signal Processor) module. The flaw was identified via KASAN (Kernel Address Sanitizer) reporting an out-of-bounds access in cs_dsp_mock_bin_add_name_or_info() during a KUnit test, caused by the source string length being incorrectly rounded up to the allocation size. It affects Linux kernel versions from 6.14 up to (but not including) 6.15.4. The vulnerability was published on July 10, 2025, and carries a CVSS v3.1 base score of 7.1 (High) (Feedly).

Technical details

The root cause is an out-of-bounds read (CWE-125) in the cs_dsp KUnit test helper function cs_dsp_mock_bin_add_name_or_info(), where the source string length is rounded up to match the allocation size rather than the actual string length. This causes a memory read operation to access memory beyond the intended buffer boundary. Exploitation requires local, low-privileged access to the affected system (attack vector: local, privileges required: low, no user interaction needed). No public proof-of-concept or technical write-up beyond the kernel patch commits is currently available (Feedly, Kernel Patch 1, Kernel Patch 2).

Impact

Successful exploitation of this vulnerability by a local low-privileged attacker could result in unauthorized reading of sensitive kernel memory contents (high confidentiality impact) and potential system instability or crashes (high availability impact). There is no integrity impact associated with this vulnerability. The scope is limited to the affected system, with no evidence of lateral movement potential beyond local privilege abuse (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. No threat actor attribution has been reported (Feedly).

Mitigation and workarounds

The primary remediation is to update the Linux kernel to version 6.15.4 or later, which includes the fix. Two specific patch commits address the issue: commit 8f4cc454 and commit fe644621. Ubuntu has issued security notices (USN-7833-1 through USN-7833-4) addressing this CVE for various kernel flavors. As a general hardening measure, restrict local user access and apply the principle of least privilege on affected systems (Feedly, Ubuntu USN-7833-1).

Community reactions

Ubuntu issued multiple security notices (USN-7833-1, USN-7833-2, USN-7833-3, USN-7833-4) addressing this and related kernel vulnerabilities across different kernel flavors and cloud variants (Azure, GCP). No notable independent researcher commentary or significant social media discussion has been observed for this vulnerability (Ubuntu USN-7833-1).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux

Fixed

trixie

linux

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99082HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesOct 23, 2026
CVE-2026-99081HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-docs
NoYesOct 23, 2026
CVE-2026-99087NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 23, 2026
CVE-2026-99086NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesOct 23, 2026
CVE-2026-99085NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoNoOct 23, 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