CVE-2026-31781
JSON

5.5medium

drm/ioc32: stop speculation on the drm_compat_ioctl path

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 505b5240329b922f21f91d5b5d1e535c805eca6d before 46a60ee8956ef1975f00455f614761c7ecedc09d, from 505b5240329b922f21f91d5b5d1e535c805eca6d before 5bb398991f378ef74d90b14a6ea8b61ff96cc03a, from 505b5240329b922f21f91d5b5d1e535c805eca6d before d59c5d8539662d95887b4564f3f72ad38076a2d5, from 505b5240329b922f21f91d5b5d1e535c805eca6d before 489f2ef2b908898d01df697dc4fe1476674be640, from 505b5240329b922f21f91d5b5d1e535c805eca6d before 4a41c2b18fc05d30b718d2602cac339eae710b34, from 505b5240329b922f21f91d5b5d1e535c805eca6d before f0e441be08a2eab10b2d06fccfa267ee599dd6b3, from 505b5240329b922f21f91d5b5d1e535c805eca6d before 27ef84bba9b9d7b03418c60fbc6069ea0e87b13c, from 505b5240329b922f21f91d5b5d1e535c805eca6d before f8995c2df519f382525ca4bc90553ad2ec611067 and 11 more
Not affected: before 4.20, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.168 up to 6.1.*, from 6.6.134 up to 6.6.*, from 6.12.81 up to 6.12.*
CVE List
linux linux_kernelfrom 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, from 5.11 before 5.15.203, from 5.16 before 6.1.168 and 6 moreNVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/ioc32: detener la especulación en la ruta drm_compat_ioctl La ruta drm compat ioctl toma un puntero controlado por el usuario y luego lo desreferencia en una tabla de punteros de función, el método característico de los problemas de Spectre. Soluciona esto llamando a array_index_nospec() en el índice de la lista de punteros de función.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31781 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-31781 changed 2026-11-11Public domain