CVE-2026-31781 Details
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.
A vulnerability related to speculative execution has been addressed in the Linux kernel's DRM compatibility IOCTL handling. The issue arose because a user-controlled pointer was dereferenced into a table of function pointers, creating a potential Spectre v1 vulnerability. This has been fixed by adding a non-speculative array index calculation before accessing the function pointer list. The vulnerability affects the Linux kernel through version 6.4.0.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c | kernel.org | Patch |
| https://git.kernel.org/stable/c/46a60ee8956ef1975f00455f614761c7ecedc09d | kernel.org | Patch |
| https://git.kernel.org/stable/c/489f2ef2b908898d01df697dc4fe1476674be640 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4a41c2b18fc05d30b718d2602cac339eae710b34 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5bb398991f378ef74d90b14a6ea8b61ff96cc03a | kernel.org | Patch |
| https://git.kernel.org/stable/c/d59c5d8539662d95887b4564f3f72ad38076a2d5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f0e441be08a2eab10b2d06fccfa267ee599dd6b3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f8995c2df519f382525ca4bc90553ad2ec611067 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.16.63, < 3.17 >= 4.4.170, < 4.5 >= 4.9.148, < 4.10 >= 4.14.91, < 4.15 >= 4.19.13, < 4.20 >= 4.20.1, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.168 >= 6.2, < 6.6.134 >= 6.7, < 6.12.81 >= 6.13, < 6.18.22 >= 6.19, < 6.19.12 4.20 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 11, 2026 | Initial Analysis | [email protected] |
| May 1, 2026 | New CVE Received | kernel.org |