{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-46215","published":"2026-05-28T10:16:37.147000Z","last_modified":"2026-07-10T05:16:37.103000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.18","version_end_excluding":"6.18.32"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"7.0.9"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-46215/","html_en":"/en/cve/CVE-2026-46215/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46215","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46215"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Set old handle to NULL before prime swap in change_handle\n\nThere was a potential race condition in change_handle. The ioctl\nbriefly had a single object with two idr entries; a concurrent\ngem_close could delete the object and remove one of the handles\nwhile leaving the other one dangling, which could subsequently\nbe dereferenced for a use-after-free.\n\nTo fix this, do the same dance that gem_close itself does.\n(f6cd7daecff5 drm: Release driver references to handle before making it available again)\nFirst idr_replace the old handle to NULL. Later, if the prime\noperations are successful, actually close it.\n\ncreate_tail required a similar dance to avoid a similar problem.\n(bd46cece51a3 drm/gem: Fix race in drm_gem_handle_create_tail())\nIt idr_allocs the new handle with NULL, then swaps in the correct\nobject later to avoid races. We don't need to do that here, since\nthe only operations that could race are drm_prime, and\nchange_handle holds the prime lock for the entire duration.\n\nv2: cleanups of error paths","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/5e28b7b94408897e41c63477aabc9e1db439bc8c","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/61bd96d3e5472c253f9c1ab77608f0c8aaa9d025","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/672464dd53231509c9c771110798c56d4660e19e","tags":["Patch"]},{"url":"https://github.com/0xCyberstan/CVE-2026-46215-POC","tags":[]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:43307","url":"https://access.redhat.com/errata/RHSA-2026:43307","published":"2026-07-23T10:14:23+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:42919","url":"https://access.redhat.com/errata/RHSA-2026:42919","published":"2026-07-23T10:14:18+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"suse","id":"openSUSE-SU-2026:10954-1","url":"https://www.suse.com/support/update/","published":"2026-06-04T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-7.0.11-1.1 on GA media"}}]}