CVE-2025-38318
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability identified as CVE-2025-38318 was discovered in the Linux kernel, specifically related to the performance monitoring subsystem (perf) on ARM platforms. The issue involves a missing platformsetdrvdata() call in the armniprobe() function, which causes platformgetdrvdata() to return NULL during removal operations. This vulnerability was disclosed on July 10, 2025 (NVD).

Technical details

The vulnerability stems from a missing platformsetdrvdata() function call in the ARM performance monitoring subsystem. When the armniprobe() function is executed, it fails to properly set the driver data, which subsequently causes platformgetdrvdata() to return NULL during the remove operation. The vulnerability has been assigned a CVSS v3 Base Score of 7.0 by Red Hat, indicating a moderate to high severity, with local attack vector and high attack complexity (Rapid7).

Impact

The vulnerability affects the Linux kernel's performance monitoring functionality on ARM platforms. When exploited, it could lead to system instability or potential crashes during driver removal operations due to NULL pointer dereferencing (Debian).

Mitigation and workarounds

The vulnerability has been fixed in various Linux distributions. Debian has addressed this in version 6.12.35-1 for trixie and 6.12.38-1 for sid. Some versions, such as bullseye and bookworm, are not affected as they don't contain the vulnerable code (Debian).

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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

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