CVE-2026-23149

Source
https://cve.org/CVERecord?id=CVE-2026-23149
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23149.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23149
Downstream
Published
2026-02-14T16:01:18.281Z
Modified
2026-04-02T13:12:08.378850Z
Summary
drm: Do not allow userspace to trigger kernel warnings in drm_gem_change_handle_ioctl()
Details

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

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

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

idralloc(): ... if (WARNON_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23149.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
53096728b8910c6916ecc6c46a5abc5c678b58d9
Fixed
ae8831ee0fb2f5f41f39722e7b3749d65bb78d08
Fixed
12f15d52d38ac53f7c70ea3d4b3d76afed04e064

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23149.json"