CVE-2026-31781
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
3.16.63,
4.4.170,
4.9.148,
4.14.91,
4.19.13,
4.20
and later are affected. Fixed in
5.10.253,
5.15.203,
6.1.168,
6.6.134,
6.12.81,
6.18.22,
6.19.12,
7.0
and their respective stable series.
References
The following references provide additional information about CVE-2026-31781 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/46a60ee8956ef1975f00455f614761c7ecedc09d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/489f2ef2b908898d01df697dc4fe1476674be640
Frequently asked questions
-
What is CVE-2026-31781?
CVE-2026-31781 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.16.63 onward and has been patched in 5.10.253, 5.15.203, 6.1.168 and others. CVE-2026-31781 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31781?
CVE-2026-31781 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31781?
Yes — CVE-2026-31781 has been patched. Fixed versions include 5.10.253, 5.15.203, 6.1.168 and others. If you are running Linux kernel 3.16.63 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31781 actively exploited?
No — CVE-2026-31781 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.