# CVE-2026-68102: drm/amdgpu: fix aperture mapping leak

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-08-10T11:58:18.093Z
- **Modified:** 2026-10-30T13:19:40.003Z

## Who should check

- Anyone running Linux \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 8cf4724ea4f23c438af87a6cd0582a3372d30da9; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 67bc3647e418e23dc0d17604bdba634a73de809f; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< a343d028ad6c174da8dc6af560c51e6d140a6727; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< f5988b5c300a32ff751724ffd33d5a8d5873e4a7; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< ea772a440d56b285f4d491affac50ecd41f6b402
- Anyone running Linux 5.13

## Description

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

drm/amdgpu: fix aperture mapping leak

amdgpu\_pci\_remove() calls drm\_dev\_unplug() before invoking the driver
fini routines. This causes drm\_dev\_enter() in amdgpu\_ttm\_fini() to
always return false, so iounmap(aper\_base\_kaddr) never runs on normal
driver unload, leaving an orphaned entry in the x86 PAT interval tree.

On connected\_to\_cpu hardware, the aperture is mapped write-back (WB) via
ioremap\_cache(). On reload, IP discovery calls memremap(..., MEMREMAP\_WC)
over the same range. The WC vs WB conflict causes:

  ioremap error for 0x..., requested 0x1, got 0x0
  amdgpu: discovery failed: -2

Fix by switching to devres-managed mappings so cleanup is guaranteed
regardless of drm\_dev\_enter() state:

- connected\_to\_cpu path: devm\_memremap(MEMREMAP\_WB). For
  IORESOURCE\_SYSTEM\_RAM ranges this takes the try\_ram\_remap() shortcut,
  returning \_\_va(offset) from the existing kernel direct map. No new
  ioremap VA or PAT entry is created, so there is nothing to orphan.

- dGPU path: devm\_ioremap\_wc() registers iounmap() as a devres action,
  guaranteeing cleanup at device\_del() time.

Also remove iounmap(aper\_base\_kaddr) from amdgpu\_device\_unmap\_mmio()
since the mapping is now devres-owned.

v2: Remove redundant x86\_64 guard (Lijo)

(cherry picked from commit d871e99879cb5fd1fa798b006b4888887e63a17a)

## Affected and fixed versions

- Linux: \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 8cf4724ea4f23c438af87a6cd0582a3372d30da9; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 67bc3647e418e23dc0d17604bdba634a73de809f; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< a343d028ad6c174da8dc6af560c51e6d140a6727; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< f5988b5c300a32ff751724ffd33d5a8d5873e4a7; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< ea772a440d56b285f4d491affac50ecd41f6b402 (cvelist)
- Linux: 5.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68102. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68102.md
Affected: Linux >= 9d0af8b4def0de6b734ec8db08e96da0458facb6, < 8cf4724ea4f23c438af87a6cd0582a3372d30da9; >= 9d0af8b4def0de6b734ec8db08e96da0458facb6, < 67bc3647e418e23dc0d17604bdba634a73de809f; >= 9d0af8b4def0de6b734ec8db08e96da0458facb6, < a343d028ad6c174da8dc6af560c51e6d140a6727; >= 9d0af8b4def0de6b734ec8d…
Fixed in: Linux 8cf4724ea4f23c438af87a6cd0582a3372d30da9, Linux 67bc3647e418e23dc0d17604bdba634a73de809f, Linux 6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa

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.
```

## FAQ

### Is CVE-2026-68102 being exploited?

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

### How serious is CVE-2026-68102?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68102?

Linux \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 8cf4724ea4f23c438af87a6cd0582a3372d30da9; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 67bc3647e418e23dc0d17604bdba634a73de809f; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< a343d028ad6c174da8dc6af560c51e6d140a6727; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< 6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< f5988b5c300a32ff751724ffd33d5a8d5873e4a7; \>= 9d0af8b4def0de6b734ec8db08e96da0458facb6, \< ea772a440d56b285f4d491affac50ecd41f6b402; Linux 5.13.

### Is there a fix for CVE-2026-68102?

Yes. Fixed in Linux 8cf4724ea4f23c438af87a6cd0582a3372d30da9, Linux 67bc3647e418e23dc0d17604bdba634a73de809f, Linux 6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68102?

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.

## References

- other: <https://git.kernel.org/stable/c/8cf4724ea4f23c438af87a6cd0582a3372d30da9>
- other: <https://git.kernel.org/stable/c/67bc3647e418e23dc0d17604bdba634a73de809f>
- other: <https://git.kernel.org/stable/c/a343d028ad6c174da8dc6af560c51e6d140a6727>
- other: <https://git.kernel.org/stable/c/6405c4e75b3bcf0e72bd7a0ff5f1ed0c475e23aa>
- other: <https://git.kernel.org/stable/c/f5988b5c300a32ff751724ffd33d5a8d5873e4a7>
- other: <https://git.kernel.org/stable/c/ea772a440d56b285f4d491affac50ecd41f6b402>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68102>

HTML: <https://flawdb.com/CVE-2026-68102> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68102>
