CVE-2026-72311
publisheddrm/xe: free madvise VMA array on L2 flush failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4f39a194d41e6b8cb61a91a7bb01b17be59a7d73 to < bf126747e7bff55e5ba0b1ec10fc5fce99feaed9 · 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73 to < 14abbed336a2d1bbd726c25d148d2ec0ff928073 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4f39a194d41e6b8cb61a91a7bb01b17be59a7d73 to < bf126747e7bff55e5ba0b1ec10fc5fce99feaed9 (affected · git)4f39a194d41e6b8cb61a91a7bb01b17be59a7d73 to < 14abbed336a2d1bbd726c25d148d2ec0ff928073 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/xe: free madvise VMA array on L2 flush failure
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 474eca4c12def998b483b116849615ce42d6a1d7977dcddcd0aa357ec5944e6a
- Ingested
- 23 Sep 2026, 09:29:56 UTC
- Source record
- Official CVE record