CVE-2026-31390

Source
https://cve.org/CVERecord?id=CVE-2026-31390
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31390.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31390
Downstream
Published
2026-04-03T15:15:56.035Z
Modified
2026-07-08T08:00:03.323143180Z
Summary
drm/xe: Fix memory leak in xe_vm_madvise_ioctl
Details

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

drm/xe: Fix memory leak in xevmmadvise_ioctl

When checkboargsaresane() 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)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31390.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
293032eec4baa04374d62dd44de61e355296ad32
Fixed
c3aa7b837920c844d5ae0dd3dbaeb465a461de40
Fixed
1c87b48a0ff040723f84a67b32892af7e6a3634f
Fixed
0cfe9c4838f1147713f6b5c02094cd4dc0c598fa

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.20
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.10

Database specific

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