What’s Vulnerable › Vulnerabilities
CVE-2026-31781: drm/ioc32: stop speculation on the drm_compat_ioctl path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-01 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: drm/ioc32: stop speculation on the drm_compat_ioctl path The drm compat ioctl path takes a user controlled pointer, and then dereferences it into a table of function pointers, the signature method of spectre problems. Fix this up by calling array_index_nospec() on the index to the function pointer list.
Affected products
- Linux kernel: from 3.16.63 before 3.17; from 4.4.170 before 4.5; from 4.9.148 before 4.10; from 4.14.91 before 4.15; from 4.19.13 before 4.20; from 4.20.1 before 5.10.253 — fixed in 3.17, 4.10, 4.15, 4.20, 4.5, 5.10.253
How to fix
Upgrade to a fixed version: Linux kernel 3.17, 4.10, 4.15, 4.20. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c
- https://git.kernel.org/stable/c/46a60ee8956ef1975f00455f614761c7ecedc09d
- https://git.kernel.org/stable/c/489f2ef2b908898d01df697dc4fe1476674be640
- https://git.kernel.org/stable/c/4a41c2b18fc05d30b718d2602cac339eae710b34
- https://git.kernel.org/stable/c/5bb398991f378ef74d90b14a6ea8b61ff96cc03a
- https://git.kernel.org/stable/c/d59c5d8539662d95887b4564f3f72ad38076a2d5
- https://git.kernel.org/stable/c/f0e441be08a2eab10b2d06fccfa267ee599dd6b3
- https://git.kernel.org/stable/c/f8995c2df519f382525ca4bc90553ad2ec611067
Get alerted when CVE-2026-31781 or the next vulnerability affects your stack