CVE-2026-23149

drm: Do not allow userspace to trigger kernel warnings in drm_gem_change_handle_ioctl()

State
Published
Severity
Not scored
Published
Feb 14, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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

drm: Do not allow userspace to trigger kernel warnings in drm_gem_change_handle_ioctl()

Since GEM bo handles are u32 in the uapi and the internal implementation uses idr_alloc() which uses int ranges, passing a new handle larger than INT_MAX trivially triggers a kernel warning:

idr_alloc(): ... if (WARN_ON_ONCE(start < 0)) return -EINVAL; ...

Fix it by rejecting new handles above INT_MAX and at the same time make the end limit calculation more obvious by moving into int domain.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 53096728b8910c6916ecc6c46a5abc5c678b58d9 to before ae8831ee0fb2f5f41f39722e7b3749d65bb78d08Affected
  • 53096728b8910c6916ecc6c46a5abc5c678b58d9 to before 12f15d52d38ac53f7c70ea3d4b3d76afed04e064Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.9 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.