Menu

Star on GitHub · 3.2k

CVE-2025-40034

In the Linux kernel, the following vulnerability has been resolved: PCI/AER: Avoid NULL pointer dereference in aer_ratelimit() When platform firmware supplies error information to the OS, e.g., v…

Published Oct 28, 2025EPSS 0.20%

Overview

CVE-2025-40034 is a known-severity vulnerability. It was published on October 28, 2025.

Technical description

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

PCI/AER: Avoid NULL pointer dereference in aer_ratelimit()

When platform firmware supplies error information to the OS, e.g., via the

ACPI APEI GHES mechanism, it may identify an error source device that

doesn't advertise an AER Capability and therefore dev->aer_info, which

contains AER stats and ratelimiting data, is NULL.

pci_dev_aer_stats_incr() already checks dev->aer_info for NULL, but

aer_ratelimit() did not, leading to NULL pointer dereferences like this one

from the URL below:

{1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 0

{1}[Hardware Error]: event severity: corrected

{1}[Hardware Error]: device_id: 0000:00:00.0

{1}[Hardware Error]: vendor_id: 0x8086, device_id: 0x2020

{1}[Hardware Error]: aer_cor_status: 0x00001000, aer_cor_mask: 0x00002000

BUG: kernel NULL pointer dereference, address: 0000000000000264

RIP: 0010:___ratelimit+0xc/0x1b0

pci_print_aer+0x

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2025-40034?

CVE-2025-40034 is a known-severity vulnerability. It was published on October 28, 2025.

How severe is CVE-2025-40034?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

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

Check the references section for vendor advisories, patches, and mitigation guidance. 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-40034?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40034 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.