What’s Vulnerable › Vulnerabilities

CVE-2026-31781: drm/ioc32: stop speculation on the drm_compat_ioctl path

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

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

Get alerted when CVE-2026-31781 or the next vulnerability affects your stack