Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-53145

published high CVSS 3.1 · 7.8

drm/gem: Try to fix change_handle ioctl, attempt 4

Published
25 Jun 2026, 08:38:32 UTC
Updated
19 Oct 2026, 19:57:25 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux672464dd53231509c9c771110798c56d4660e19e to < c0639ede2f24ac224b2079cd35ecd5fd8ad4e3cd · 61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 to < 1d9b93df7fc768228906e24220591ec1cddad391 · 5e28b7b94408897e41c63477aabc9e1db439bc8c to < 1a4f03d22fb655e5f192244fb2c87d8066fcfca2 · 318b995cffcfcaa69a234d28123a3f4ae186a9df · 38f12d0e10d83b66fa1466400d876a3a8da31542 · 0dfa42cfe4dbe114533480503934f43e33c1e83d · cde2c9257cbe8463b9dcf7b1075177b72b5fd938 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.18.32 to < 6.18.36 · 7.0.9 to < 7.0.13 · Other versions: unaffected Affected Not stated Linux
Red Hat Enterprise Linux 7, 8, 9, 10 kernel Affected Not stated redhat-SADP
Red Hat Enterprise Linux 6 kernel Unknown Not stated redhat-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1012 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux 7, 8, 9 kernel-rt Affected Not stated redhat-SADP
Amazon Linux AL2023 Release evaluationALAS2023-2026-1925 Fixed Not stated Amazon Linux assessment
Ubuntu noble linux-aws-7.0-headers-7.0.0-1012 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-aws-7.0-tools-7.0.0-1012 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-buildinfo-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-buildinfo-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-cloud-tools-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-cloud-tools-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-cloud-tools-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-headers-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-headers-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-31 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-31 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-31 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-image-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-image-unsigned-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-image-unsigned-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-lib-rust-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-evdi-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-ipu6-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-ipu7-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-usbio-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-vision-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-nvidia-7.0 Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-nvidia-7.0-headers-7.0.0-1018 Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-nvidia-7.0-tools-7.0.0-1018 Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-tools-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-tools-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-tools-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-tools-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-tools-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-tools-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-31.31 USN-8726-1
Ubuntu resolute linux Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1012 Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-aws-headers-7.0.0-1012 Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-aws-tools-7.0.0-1012 Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1014 Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-azure-headers-7.0.0-1014 Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-azure-tools-7.0.0-1014 Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-buildinfo-7.0.0-1006-gke Advisory build 7.0.0-1006.7 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-1006-gke-64k Advisory build 7.0.0-1006.7 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-1011-gcp Advisory build 7.0.0-1011.11 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-1011-oracle Advisory build 7.0.0-1011.11 USN-8726-4
Ubuntu resolute linux-buildinfo-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11 USN-8726-4
Ubuntu resolute linux-buildinfo-7.0.0-1012-aws Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-1013-ibm Advisory build 7.0.0-1013.13 USN-8726-3
Ubuntu resolute linux-buildinfo-7.0.0-1013-oem Advisory build 7.0.0-1013.13 USN-8727-1
Ubuntu resolute linux-buildinfo-7.0.0-1014-azure Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-buildinfo-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18 USN-8760-2
Ubuntu resolute linux-buildinfo-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18 USN-8760-2
Ubuntu resolute linux-buildinfo-7.0.0-1019-raspi Advisory build 7.0.0-1019.19 USN-8726-2
Ubuntu resolute linux-buildinfo-7.0.0-1019-raspi-realtime Advisory build 7.0.0-1019.19 USN-8726-2
Ubuntu resolute linux-buildinfo-7.0.0-2018-nvidia-bos Advisory build 7.0.0-2018.18 USN-8800-1
Ubuntu resolute linux-buildinfo-7.0.0-2018-nvidia-bos-64k Advisory build 7.0.0-2018.18 USN-8800-1
Ubuntu resolute linux-buildinfo-7.0.0-31-generic Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-31-generic-64k Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-31-realtime Advisory build 7.0.0-31.31.1 USN-8726-1
Ubuntu resolute linux-buildinfo-7.0.0-31-realtime-64k Advisory build 7.0.0-31.31.1 USN-8726-1
Ubuntu resolute linux-cloud-tools-7.0.0-1012-aws Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-cloud-tools-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-cloud-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-cloud-tools-7.0.0-31 Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-cloud-tools-7.0.0-31-generic Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-cloud-tools-7.0.0-31-realtime Advisory build 7.0.0-31.31.1 USN-8726-1
Ubuntu resolute linux-cloud-tools-common Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-gcp Advisory build 7.0.0-1011.11 USN-8726-1
Ubuntu resolute linux-gcp-headers-7.0.0-1011 Advisory build 7.0.0-1011.11 USN-8726-1
Ubuntu resolute linux-gcp-tools-7.0.0-1011 Advisory build 7.0.0-1011.11 USN-8726-1
Ubuntu resolute linux-gke Advisory build 7.0.0-1006.7 USN-8726-1
Ubuntu resolute linux-gke-headers-7.0.0-1006 Advisory build 7.0.0-1006.7 USN-8726-1
Ubuntu resolute linux-gke-tools-7.0.0-1006 Advisory build 7.0.0-1006.7 USN-8726-1
Ubuntu resolute linux-headers-7.0.0-1006-gke Advisory build 7.0.0-1006.7 USN-8726-1
Ubuntu resolute linux-headers-7.0.0-1006-gke-64k Advisory build 7.0.0-1006.7 USN-8726-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/gem: Try to fix change_handle ioctl, attempt 4 [airlied: just added some comments on how to reenable] On-list because the cat is out of the bag and we're clearly not good enough to figure this out in private. The story thus far: 5e28b7b94408 ("drm: Set old handle to NULL before prime swap in change_handle") tried to fix a race condition between the gem_close and gem_change_handle ioctls, but got a few things wrong: - There's a confusion with the local variable handle, which is actually the new handle, and so the two-stage trick was actually applied to the wrong idr slot. 7164d78559b0 ("drm/gem: fix race between change_handle and handle_delete") tried to fix that by adding yet another code block, but forgot to add the error handling. Which meant we now have two paths, both kinda wrong. - dc366607c41c ("drm: Replace old pointer to new idr") tried to apply another fix, but inconsistently, again because of the handle confusion - this would be the right fix (kinda, somewhat, it's a mess) if we'd do the two-stage approach for the new handle. Except that wasn't the intent of the original fix. We also didn't have an igt merged for the original ioctl, which is a big no-go. This was attempted to address off-list in the original bugfix, and amd QA people claimed the bug was fixed now. Very clearly that's not the case. Here's my attempt to sort this out: - Rename the local variable to new_handle, the old aliasing with args->handle is just too dangerously confusing. - Merge the gem obj lookup with the two-stage idr_replace so that we avoid getting ourselves confused there. - This means we don't have a surplus temporary reference anymore, only an inherited from the idr. A concurrent gem_close on the new_handle could steal that. Fix that with the same two-stage approach create_tail uses. This is a bit overkill as documented in the comment, but I also don't trust my ability to understand this all correctly, so go with the established pattern we have from other ioctls instead for maximum paranoia. - Adjust error paths. I've tried to make the error and success paths common, because they are identical except for which handle is removed and on which we call idr_replace to (re)install the object again. But that made things messier to read, so I've left it at the more verbose version, which unfortunately hides the symmetry in the entire code flow a bit. - While at it, also replace the 7 space indent with 1 tab. And finally, because I flat out don't trust my abilities here at all anymore: - Disable the ioctl until we have the igt situation and everything else sorted out on-list and with full consensus. v2: Sashiko noticed that I didn't handle the error path for idr_replace correctly, it must be checked with IS_ERR_OR_NULL like in gem_handle_delete. So yeah, definitely should just the existing paths 1:1 because this is endless amounts of tricky. Also add the Fixes: line for the original ioctl, I forgot that too.

en · Linux · cna

en · redhat-SADP · adp

A flaw was found in the Linux kernel's Direct Rendering Manager (DRM) Graphics Execution Manager (GEM) subsystem. A race condition exists within the `change_handle` ioctl between `gem_close` and `gem_change_handle` operations. This could lead to incorrect handling of graphics memory, potentially resulting in system instability or unexpected behavior. The `change_handle` ioctl has been temporarily disabled to mitigate this issue.

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through the local DRM core ioctl DRM_IOCTL_GEM_CHANGE_HANDLE on a DRM device file, not through network or physical input. Render nodes expose this ioctl path to local userspace. AC:L - The bug is a race between GEM_CHANGE_HANDLE and GEM_CLOSE on attacker-controlled handles, and the attacker can drive both sides with concurrent ioctl calls. Repetition and handle selection are under attacker control. PR:L - The ioctl was registered with DRM_RENDER_ALLOW, so it does not require DRM master, authentication, or CAP_SYS_ADMIN on a render node. It requires local unprivileged access to the DRM device file. UI:N - No victim action is required after the attacker has local execution and device access. The attacker triggers the race directly with ioctl calls. S:U - The impact remains within the kernel security authority of the same host. This is not a VM escape, IOMMU bypass, or cross-scope boundary violation. C:H - The race can leave a dangling GEM object pointer in the per-file IDR, producing a use-after-free. Under the required kernel guidance, UAF memory corruption is scored as high confidentiality impact. I:H - The dangling drm_gem_object can be reused and later dereferenced through driver callbacks, making function pointer hijack or arbitrary kernel write/code execution defensible. Under the required kernel guidance, UAF is high integrity impact. A:H - The UAF and handle-count corruption can trigger kernel warnings, crashes, or panics through later GEM close/lookup paths. Kernel crash availability impact is high.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.0 high redhat-SADP · adp CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 672464dd53231509c9c771110798c56d4660e19e to < c0639ede2f24ac224b2079cd35ecd5fd8ad4e3cd (affected · git)61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 to < 1d9b93df7fc768228906e24220591ec1cddad391 (affected · git)5e28b7b94408897e41c63477aabc9e1db439bc8c to < 1a4f03d22fb655e5f192244fb2c87d8066fcfca2 (affected · git)318b995cffcfcaa69a234d28123a3f4ae186a9df (affected · git)38f12d0e10d83b66fa1466400d876a3a8da31542 (affected · git)0dfa42cfe4dbe114533480503934f43e33c1e83d (affected · git)cde2c9257cbe8463b9dcf7b1075177b72b5fd938 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.18.32 to < 6.18.36 (affected · semver)7.0.9 to < 7.0.13 (affected · semver)Default: unaffected Linux · cna
Red Hat Red Hat Enterprise Linux 10 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 6 Default: unknown redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 7 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 7 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 8 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: affected redhat-SADP · adp
Red Hat Red Hat Enterprise Linux 9 Default: affected redhat-SADP · adp

Weaknesses

2
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition (redhat-SADP · adp)
  • CWE-367 CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition (CISA-ADP · adp)

References

6

Provider assertions

3

Linux · cna

drm/gem: Try to fix change_handle ioctl, attempt 4

redhat-SADP · adp

kernel: drm/gem: Try to fix change_handle ioctl, attempt 4

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1176312a151299cdb4314a80c0334e6f50220787f80f09c3ff8a45a8d8b0b464
Ingested
19 Oct 2026, 20:03:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected