Bug 2439945 (CVE-2026-23149) - CVE-2026-23149 kernel: drm: Do not allow userspace to trigger kernel warnings in drm_gem_change_handle_ioctl()
Summary: CVE-2026-23149 kernel: drm: Do not allow userspace to trigger kernel warnings...
Keywords:
Status: NEW
Alias: CVE-2026-23149
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-14 17:04 UTC by OSIDB Bzimport
Modified: 2026-02-18 03:05 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-02-14 17:04:20 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.