CVE-2026-23149
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.18 before 6.18.9, 6.19NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm: No permitir que el espacio de usuario active advertencias del kernel en drm_gem_change_handle_ioctl() Dado que los identificadores GEM bo son u32 en la uapi y la implementación interna utiliza idr_alloc() que usa rangos int, pasar un nuevo identificador mayor que INT_MAX desencadena trivialmente una advertencia del kernel: idr_alloc(): ... if (WARN_ON_ONCE(start &lt; 0)) return -EINVAL; ... Se soluciona rechazando los nuevos identificadores superiores a INT_MAX y al mismo tiempo haciendo más obvio el cálculo del límite final al moverlo al dominio int.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23149 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-23149 changed 2026-11-05Public domain