← CVE Intelligence

CVE-2026-31781

drm/ioc32: stop speculation on the drm_compat_ioctl path PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 505b5240329b922f21f91d5b5d1e535c805eca6d before 46a60ee8956ef1975f00455f614761c7ecedc09d; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before 5bb398991f378ef74d90b14a6ea8b61ff96cc03a; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before d59c5d8539662d95887b4564f3f72ad38076a2d5; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before 489f2ef2b908898d01df697dc4fe1476674be640; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before 4a41c2b18fc05d30b718d2602cac339eae710b34; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before f0e441be08a2eab10b2d06fccfa267ee599dd6b3; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before 27ef84bba9b9d7b03418c60fbc6069ea0e87b13c; affected 505b5240329b922f21f91d5b5d1e535c805eca6d before f8995c2df519f382525ca4bc90553ad2ec611067; affected abc60edcfc87771ff244763d4d19c67766f5dd0f; affected a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663; affected 00279b505289f7529d9be2e78915d0483ffbd314; affected d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf; affected 7f3ebea19795eb38438cd3709fabf2afd53cf447; affected 3.16.63 before 3.17; affected 4.4.170 before 4.5; affected 4.9.148 before 4.10; affected 4.14.91 before 4.15; affected 4.19.13 before 4.20
Linux / Linuxaffected 4.20; unaffected 0 before 4.20; unaffected 5.10.253 through 5.10.*; unaffected 5.15.203 through 5.15.*; unaffected 6.1.168 through 6.1.*; unaffected 6.6.134 through 6.6.*; unaffected 6.12.81 through 6.12.*; unaffected 6.18.22 through 6.18.*; unaffected 6.19.12 through 6.19.*; unaffected 7.0 through *

CWE

No CWE identifiers supplied.

References