drm/xe: Fix memory leak in xe_vm_madvise_ioctl
Summary
| CVE | CVE-2026-31390 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-03 16:16:36 UTC |
| Updated | 2026-04-03 16:16:36 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Fix memory leak in xe_vm_madvise_ioctl
When check_bo_args_are_sane() validation fails, jump to the new
free_vmas cleanup label to properly free the allocated resources.
This ensures proper cleanup in this error path.
(cherry picked from commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965) |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 293032eec4baa04374d62dd44de61e355296ad32 c3aa7b837920c844d5ae0dd3dbaeb465a461de40 git |
Not specified |
| CNA |
Linux |
Linux |
affected 293032eec4baa04374d62dd44de61e355296ad32 1c87b48a0ff040723f84a67b32892af7e6a3634f git |
Not specified |
| CNA |
Linux |
Linux |
affected 293032eec4baa04374d62dd44de61e355296ad32 0cfe9c4838f1147713f6b5c02094cd4dc0c598fa git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.18 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.20 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.19.10 6.19.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0-rc3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/0cfe9c4838f1147713f6b5c02094cd4dc0c598fa |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1c87b48a0ff040723f84a67b32892af7e6a3634f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c3aa7b837920c844d5ae0dd3dbaeb465a461de40 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.