{"api_version":"1","generated_at":"2026-04-23T20:21:17+00:00","cve":"CVE-2026-31390","urls":{"html":"https://cve.report/CVE-2026-31390","api":"https://cve.report/api/cve/CVE-2026-31390.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31390","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31390"},"summary":{"title":"drm/xe: Fix memory leak in xe_vm_madvise_ioctl","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Fix memory leak in xe_vm_madvise_ioctl\n\nWhen check_bo_args_are_sane() validation fails, jump to the new\nfree_vmas cleanup label to properly free the allocated resources.\nThis ensures proper cleanup in this error path.\n\n(cherry picked from commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-03 16:16:36","updated_at":"2026-04-07 13:20:55"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0cfe9c4838f1147713f6b5c02094cd4dc0c598fa","name":"https://git.kernel.org/stable/c/0cfe9c4838f1147713f6b5c02094cd4dc0c598fa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1c87b48a0ff040723f84a67b32892af7e6a3634f","name":"https://git.kernel.org/stable/c/1c87b48a0ff040723f84a67b32892af7e6a3634f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c3aa7b837920c844d5ae0dd3dbaeb465a461de40","name":"https://git.kernel.org/stable/c/c3aa7b837920c844d5ae0dd3dbaeb465a461de40","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31390","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31390","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 293032eec4baa04374d62dd44de61e355296ad32 c3aa7b837920c844d5ae0dd3dbaeb465a461de40 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 293032eec4baa04374d62dd44de61e355296ad32 1c87b48a0ff040723f84a67b32892af7e6a3634f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 293032eec4baa04374d62dd44de61e355296ad32 0cfe9c4838f1147713f6b5c02094cd4dc0c598fa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.20 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.10 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"31390","cve":"CVE-2026-31390","epss":"0.000170000","percentile":"0.039750000","score_date":"2026-04-07","updated_at":"2026-04-08 00:03:39"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/xe/xe_vm_madvise.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c3aa7b837920c844d5ae0dd3dbaeb465a461de40","status":"affected","version":"293032eec4baa04374d62dd44de61e355296ad32","versionType":"git"},{"lessThan":"1c87b48a0ff040723f84a67b32892af7e6a3634f","status":"affected","version":"293032eec4baa04374d62dd44de61e355296ad32","versionType":"git"},{"lessThan":"0cfe9c4838f1147713f6b5c02094cd4dc0c598fa","status":"affected","version":"293032eec4baa04374d62dd44de61e355296ad32","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/xe/xe_vm_madvise.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.20","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.20","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.10","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0-rc3","versionStartIncluding":"6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Fix memory leak in xe_vm_madvise_ioctl\n\nWhen check_bo_args_are_sane() validation fails, jump to the new\nfree_vmas cleanup label to properly free the allocated resources.\nThis ensures proper cleanup in this error path.\n\n(cherry picked from commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965)"}],"providerMetadata":{"dateUpdated":"2026-04-03T15:15:56.035Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c3aa7b837920c844d5ae0dd3dbaeb465a461de40"},{"url":"https://git.kernel.org/stable/c/1c87b48a0ff040723f84a67b32892af7e6a3634f"},{"url":"https://git.kernel.org/stable/c/0cfe9c4838f1147713f6b5c02094cd4dc0c598fa"}],"title":"drm/xe: Fix memory leak in xe_vm_madvise_ioctl","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31390","datePublished":"2026-04-03T15:15:56.035Z","dateReserved":"2026-03-09T15:48:24.084Z","dateUpdated":"2026-04-03T15:15:56.035Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-03 16:16:36","lastModifiedDate":"2026-04-07 13:20:55","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31390","Ordinal":"1","Title":"drm/xe: Fix memory leak in xe_vm_madvise_ioctl","CVE":"CVE-2026-31390","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31390","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Fix memory leak in xe_vm_madvise_ioctl\n\nWhen check_bo_args_are_sane() validation fails, jump to the new\nfree_vmas cleanup label to properly free the allocated resources.\nThis ensures proper cleanup in this error path.\n\n(cherry picked from commit 29bd06faf727a4b76663e4be0f7d770e2d2a7965)","Type":"Description","Title":"drm/xe: Fix memory leak in xe_vm_madvise_ioctl"}]}}}