CVE-2025-40034
Linux Kernel vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability was discovered in the Linux kernel's PCI/AER (Advanced Error Reporting) functionality, specifically in the aer_ratelimit() function. The vulnerability was disclosed on October 28, 2025. This issue affects the Linux kernel when platform firmware supplies error information to the OS through the ACPI APEI GHES mechanism (NVD, RedHat).

Technical details

The vulnerability occurs when platform firmware identifies an error source device that doesn't advertise an AER Capability, resulting in dev->aerinfo being NULL. While pcidevaerstatsincr() includes a NULL check for dev->aerinfo, the aer_ratelimit() function did not implement this check, leading to NULL pointer dereferences. The issue specifically affects Intel 'Sky Lake-E DMI3 Registers' devices that claim to be Root Ports but do not advertise an AER Capability. The vulnerability has been assigned a CVSS v3.1 score of 7.0 (HIGH) with vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (RedHat).

Impact

When exploited, this vulnerability can lead to a kernel NULL pointer dereference, potentially resulting in a system crash or denial of service condition. The impact is particularly relevant when the system processes hardware error information through the ACPI APEI GHES mechanism (NVD).

Mitigation and workarounds

The vulnerability has been patched by adding a NULL check in the aerratelimit() function. The fix prevents NULL pointer dereference by validating dev->aerinfo before access. Note that this also affects the ratelimiting of events from GHES (NVD).

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-40085N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoNoOct 29, 2025
CVE-2025-40083N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-internal
NoYesOct 29, 2025
CVE-2023-7324N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesOct 29, 2025
CVE-2025-40082N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-selftests-internal
NoNoOct 28, 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