{"id":"CVE-2026-72311","aliases":["CVE-2026-72311"],"related":[],"kind":"vulnerability","state":"published","title":"drm/xe: free madvise VMA array on L2 flush failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: free madvise VMA array on L2 flush failure\n\nxe_vm_madvise_ioctl() allocates madvise_range.vmas in get_vmas().\nAfter get_vmas() succeeds with at least one VMA, error paths must go\nthrough free_vmas so the array is released before the madvise details are\ndestroyed.\n\nThe L2 flush validation path added for PAT madvise rejects some\nSVM/userptr ranges after get_vmas() has succeeded, but jumps directly to\nmadv_fini. This skips kfree(madvise_range.vmas), leaking the VMA array on\neach failed ioctl.\n\nJump to free_vmas instead, matching the other validation failure paths\nafter get_vmas() has succeeded.\n\n(cherry picked from commit c3a1c3579b1250060da73507a4acef712974c78a)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: free madvise VMA array on L2 flush failure\n\nxe_vm_madvise_ioctl() allocates madvise_range.vmas in get_vmas().\nAfter get_vmas() succeeds with at least one VMA, error paths must go\nthrough free_vmas so the array is released before the madvise details are\ndestroyed.\n\nThe L2 flush validation path added for PAT madvise rejects some\nSVM/userptr ranges after get_vmas() has succeeded, but jumps directly to\nmadv_fini. This skips kfree(madvise_range.vmas), leaking the VMA array on\neach failed ioctl.\n\nJump to free_vmas instead, matching the other validation failure paths\nafter get_vmas() has succeeded.\n\n(cherry picked from commit c3a1c3579b1250060da73507a4acef712974c78a)","source":"cvelist"}],"published":"2026-08-15T05:55:27.164Z","modified":"2026-08-17T06:18:34.220Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4f39a194d41e6b8cb61a91a7bb01b17be59a7d73","fixed":"bf126747e7bff55e5ba0b1ec10fc5fce99feaed9","status":"affected"},{"type":"git","introduced":"4f39a194d41e6b8cb61a91a7bb01b17be59a7d73","fixed":"14abbed336a2d1bbd726c25d148d2ec0ff928073","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bf126747e7bff55e5ba0b1ec10fc5fce99feaed9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/14abbed336a2d1bbd726c25d148d2ec0ff928073","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72311","url":"https://www.cve.org/CVERecord?id=CVE-2026-72311","licence":"CVE Terms of Use","modified":"2026-08-17T05:12:16.211Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72311","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72311","licence":"Public domain","modified":"2026-08-17T06:18:34.220Z"}],"updatedAt":"2026-11-25T22:59:33.077Z","epss":{"score":0.00198,"percentile":0.10019,"date":"2026-12-01T12:00:22.000Z"}}