Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40034

UNSCOREDEPSS 11%

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= a57f2bfb4a5863f83087867c0e671f2418212d23, < 41683624cbff0a26bb7e0627f4a7e1b51a8779a8; >= a57f2bfb4a5863f83087867c0e671f2418212d23, < deb2f228388ff3a9d0623e3b59a053e9235c341d
  • Anyone running Linux 6.16

Vulnerability facts

Affected
Linux >= a57f2bfb4a5863f83087867c0e671f2418212d23, < 41683624cbff0a26bb7e0627f4a7e1b51a8779a8; >= a57f2bfb4a5863f83087867c0e671f2418212d23, < deb2f228388ff3a9d0623e3b59a053e9235c341d; Linux 6.16
Fixed in
Linux 41683624cbff0a26bb7e0627f4a7e1b51a8779a8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
Published
Modified

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+0x141/0x360 aer_recover_work_func+0xb5/0x130 [8086:2020] is an Intel "Sky Lake-E DMI3 Registers" device that claims to be a Root Port but does not advertise an AER Capability. Add a NULL check in aer_ratelimit() to avoid the NULL pointer dereference. Note that this also prevents ratelimiting these events from GHES. [bhelgaas: add crash details to commit log]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a57f2bfb4a5863f83087867c0e671f2418212d23, < 41683624cbff0a26bb7e0627f4a7e1b51a8779a8; >= a57f2bfb4a5863f83087867c0e671f2418212d23, < deb2f228388ff3a9d0623e3b59a053e9235c341d—cvelist
Linux6.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40034. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40034.md
Affected: Linux >= a57f2bfb4a5863f83087867c0e671f2418212d23, < 41683624cbff0a26bb7e0627f4a7e1b51a8779a8; >= a57f2bfb4a5863f83087867c0e671f2418212d23, < deb2f228388ff3a9d0623e3b59a053e9235c341d; Linux 6.16
Fixed in: Linux 41683624cbff0a26bb7e0627f4a7e1b51a8779a8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40034 being exploited?

There is no confirmed exploitation: CVE-2025-40034 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40034?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40034?

Linux >= a57f2bfb4a5863f83087867c0e671f2418212d23, < 41683624cbff0a26bb7e0627f4a7e1b51a8779a8; >= a57f2bfb4a5863f83087867c0e671f2418212d23, < deb2f228388ff3a9d0623e3b59a053e9235c341d; Linux 6.16.

Is there a fix for CVE-2025-40034?

Yes. Fixed in Linux 41683624cbff0a26bb7e0627f4a7e1b51a8779a8. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-40034?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors