# CVE-2026-72311: drm/xe: free madvise VMA array on L2 flush failure

> 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.20% (percentile 5, 2026-11-28)
- **Published:** 2026-08-15T05:55:27.164Z
- **Modified:** 2026-08-17T06:18:34.220Z

## Who should check

- Anyone running Linux \>= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, \< bf126747e7bff55e5ba0b1ec10fc5fce99feaed9; \>= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, \< 14abbed336a2d1bbd726c25d148d2ec0ff928073
- Anyone running Linux 7.1

## Description

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

drm/xe: free madvise VMA array on L2 flush failure

xe\_vm\_madvise\_ioctl() allocates madvise\_range.vmas in get\_vmas().
After get\_vmas() succeeds with at least one VMA, error paths must go
through free\_vmas so the array is released before the madvise details are
destroyed.

The L2 flush validation path added for PAT madvise rejects some
SVM/userptr ranges after get\_vmas() has succeeded, but jumps directly to
madv\_fini. This skips kfree(madvise\_range.vmas), leaking the VMA array on
each failed ioctl.

Jump to free\_vmas instead, matching the other validation failure paths
after get\_vmas() has succeeded.

(cherry picked from commit c3a1c3579b1250060da73507a4acef712974c78a)

## Affected and fixed versions

- Linux: \>= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, \< bf126747e7bff55e5ba0b1ec10fc5fce99feaed9; \>= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, \< 14abbed336a2d1bbd726c25d148d2ec0ff928073 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 14abbed336a2d1bbd726c25d148d2ec0ff928073 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-72311.md
Affected: Linux >= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, < bf126747e7bff55e5ba0b1ec10fc5fce99feaed9; >= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, < 14abbed336a2d1bbd726c25d148d2ec0ff928073; Linux 7.1
Fixed in: Linux 14abbed336a2d1bbd726c25d148d2ec0ff928073

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-72311 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, \< bf126747e7bff55e5ba0b1ec10fc5fce99feaed9; \>= 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73, \< 14abbed336a2d1bbd726c25d148d2ec0ff928073; Linux 7.1.

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

Yes. Fixed in Linux 14abbed336a2d1bbd726c25d148d2ec0ff928073. Upgrade Linux to 14abbed336a2d1bbd726c25d148d2ec0ff928073 or later.

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

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/bf126747e7bff55e5ba0b1ec10fc5fce99feaed9>
- other: <https://git.kernel.org/stable/c/14abbed336a2d1bbd726c25d148d2ec0ff928073>

## 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-72311>

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