CVE-2026-53325
Analyzed
Analyzed - Analysis Complete
NULL Pointer Dereference in Linux Kernel AMD64 AGP Driver
Vulnerability report for CVE-2026-53325, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-06-29
Last updated on: 2026-07-06
Assigner: kernel.org
Description
Description
In the Linux kernel, the following vulnerability has been resolved:
agp/amd64: Fix broken error propagation in agp_amd64_probe()
A NULL pointer dereference was observed in the AMD64 AGP driver when
running in a virtualized environment (e.g. qemu/kvm) without a physical
AMD northbridge. The crash occurs in amd64_fetch_size() when attempting
to dereference the pointer returned by node_to_amd_nb(0).
The root cause of this crash is broken error propagation in
agp_amd64_probe(): When no AMD northbridges are found, cache_nbs()
correctly returns -ENODEV. However, the probe function erroneously
checks the return value against exactly -1, rather than < 0.
As a result, the hardware absence error is masked, allowing the driver
to improperly proceed with initialization. It eventually calls
agp_add_bridge(), which invokes amd64_fetch_size(). Since the hardware
does not exist, node_to_amd_nb(0) returns NULL, leading to a General
Protection Fault (GPF) when accessing its ->misc member.
Fix the issue by correcting the error check in agp_amd64_probe() to
abort properly when cache_nbs() returns any negative error code. This
prevents the driver from erroneously proceeding without hardware, thereby
avoiding the subsequent NULL pointer dereference at its source.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.16 (inc) to 6.1.177 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.6.144 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.95 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.211 (exc) |
| linux | linux_kernel | From 2.6.18 (inc) to 5.10.260 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.18.37 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 7.0.14 (exc) |
| linux | linux_kernel | From 7.1 (inc) to 7.1.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |