A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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 products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
References
- git.kernel.org /stable/c/12f15d52d38ac53f7c70ea3d4b3d76afed04e064
- git.kernel.org /stable/c/ae8831ee0fb2f5f41f39722e7b3749d65bb78d08
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning