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-02-14T20:07:11.015641Z
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

Affected versions

v6.*
v6.16
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.18
v6.18-rc1
v6.18-rc2
v6.18-rc3
v6.18-rc4
v6.18-rc5
v6.18-rc6
v6.18-rc7
v6.18.1
v6.18.2
v6.18.3
v6.18.4
v6.18.5
v6.18.6
v6.18.7
v6.18.8
v6.19-rc1
v6.19-rc2
v6.19-rc3
v6.19-rc4
v6.19-rc5

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.9

Database specific

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