CVE-2026-72311

Source
https://cve.org/CVERecord?id=CVE-2026-72311
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72311.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72311
Downstream
Published
2026-08-15T05:55:27.164Z
Modified
2026-08-16T03:48:39.837524132Z
Summary
drm/xe: free madvise VMA array on L2 flush failure
Details

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

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

xevmmadviseioctl() allocates madviserange.vmas in getvmas(). After getvmas() 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 getvmas() has succeeded, but jumps directly to madvfini. This skips kfree(madvise_range.vmas), leaking the VMA array on each failed ioctl.

Jump to freevmas instead, matching the other validation failure paths after getvmas() has succeeded.

(cherry picked from commit c3a1c3579b1250060da73507a4acef712974c78a)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72311.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4f39a194d41e6b8cb61a91a7bb01b17be59a7d73
Fixed
bf126747e7bff55e5ba0b1ec10fc5fce99feaed9
Fixed
14abbed336a2d1bbd726c25d148d2ec0ff928073

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72311.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72311.json"