CVE-2026-31781

published 1 May 2026 · updated 13 Nov 2026

drm/ioc32: stop speculation on the drm_compat_ioctl path

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f8995c2df519f382525ca4bc90553ad2ec611067, Kernel 4.15, Kernel 4.20 and 17 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=505b5240329b922f21f91d5b5d1e535c805eca6d <f8995c2df519f382525ca4bc90553ad2ec611067, >=4.14.91 <4.15, >=4.19.13 <4.20, >=4.20.1 <5.10.253, >=4.4.170 <4.5, >=4.9.148 <4.10, >=5.11 <5.15.203, >=5.16 <6.1.168, >=6.13 <6.18.22, >=6.19 <6.19.12, >=6.2 <6.6.134, >=6.7 <6.12.81, =4.20, =7.0, >=505b5240329b922f21f91d5b5d1e535c805eca6d <46a60ee8956ef1975f00455f614761c7ecedc09d, >=505b5240329b922f21f91d5b5d1e535c805eca6d <489f2ef2b908898d01df697dc4fe1476674be640, >=505b5240329b922f21f91d5b5d1e535c805eca6d <4a41c2b18fc05d30b718d2602cac339eae710b34, >=505b5240329b922f21f91d5b5d1e535c805eca6d <5bb398991f378ef74d90b14a6ea8b61ff96cc03a, >=505b5240329b922f21f91d5b5d1e535c805eca6d <d59c5d8539662d95887b4564f3f72ad38076a2d5, >=505b5240329b922f21f91d5b5d1e535c805eca6d <f0e441be08a2eab10b2d06fccfa267ee599dd6b3, >=3.16.63 <3.17, =00279b505289f7529d9be2e78915d0483ffbd314, =7f3ebea19795eb38438cd3709fabf2afd53cf447, =a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663, =abc60edcfc87771ff244763d4d19c67766f5dd0f, =d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf, >=505b5240329b922f21f91d5b5d1e535c805eca6d <27ef84bba9b9d7b03418c60fbc6069ea0e87b13cf8995c2df519f382525ca4bc90553ad2ec611067, 4.15, 4.20, 5.10.253, 4.5, 4.10, 5.15.203, 6.1.168, 6.18.22, 6.19.12, 6.6.134, 6.12.81, 46a60ee8956ef1975f00455f614761c7ecedc09d, 489f2ef2b908898d01df697dc4fe1476674be640, 4a41c2b18fc05d30b718d2602cac339eae710b34, 5bb398991f378ef74d90b14a6ea8b61ff96cc03a, d59c5d8539662d95887b4564f3f72ad38076a2d5, f0e441be08a2eab10b2d06fccfa267ee599dd6b3, 3.17, 27ef84bba9b9d7b03418c60fbc6069ea0e87b13c
linux-kernel: Kernel>=4.20.0 <5.10.253, >=5.11.0 <5.15.203, >=5.16.0 <6.1.168, >=6.13.0 <6.18.22, >=6.19.0 <6.19.12, >=6.2.0 <6.6.134, >=6.7.0 <6.12.815.10.253, 5.15.203, 6.1.168, 6.18.22, 6.19.12, 6.6.134, 6.12.81

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31781 severity on Zeptric[![CVE-2026-31781](https://zeptric.io/badge/cve/CVE-2026-31781.svg)](https://zeptric.io/cve/CVE-2026-31781)