# CVE-2026-23149: drm: Do not allow userspace to trigger kernel warnings in drm_gem_change_handle_ioctl()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-02-14T16:01:18.281Z
- Modified: 2026-11-05T22:18:04.417Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 53096728b8910c6916ecc6c46a5abc5c678b58d9 before ae8831ee0fb2f5f41f39722e7b3749d65bb78d08; from 53096728b8910c6916ecc6c46a5abc5c678b58d9 before 12f15d52d38ac53f7c70ea3d4b3d76afed04e064; 6.18 (not affected: before 6.18; from 6.18.9 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.18 before 6.18.9; 6.19

## References

- <https://git.kernel.org/stable/c/ae8831ee0fb2f5f41f39722e7b3749d65bb78d08> (patch)
- <https://git.kernel.org/stable/c/12f15d52d38ac53f7c70ea3d4b3d76afed04e064> (patch)

## Sources

- CVE List: [CVE-2026-23149](https://www.cve.org/CVERecord?id=CVE-2026-23149), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23149](https://nvd.nist.gov/vuln/detail/CVE-2026-23149), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23149 · Whole record: https://cve.day/CVE-2026-23149.json · Rebuilt by cve.day 2026-11-25T22:59:13.890Z
