drm/xe: Fix memory leak in xe_vm_madvise_ioctl
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.206.19.107.0In 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)
From the CVE record · Linux
The Linux kernel's drm/xe xe_vm_madvise_ioctl can leak allocated resources when check_bo_args_are_sane() validation fails. The input does not specify how an attacker could trigger this path or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with drm/xe should check their versions; affected versions are not specified.