CVE-2026-31781
drm/ioc32: stop speculation on the drm_compat_ioctl path
Check your servers for CVE-2026-31781
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31781 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.62% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before 46a60ee8956ef1975f00455f614761c7ecedc09d affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before 5bb398991f378ef74d90b14a6ea8b61ff96cc03a affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before d59c5d8539662d95887b4564f3f72ad38076a2d5 affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before 489f2ef2b908898d01df697dc4fe1476674be640 affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before 4a41c2b18fc05d30b718d2602cac339eae710b34 affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before f0e441be08a2eab10b2d06fccfa267ee599dd6b3 affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before 27ef84bba9b9d7b03418c60fbc6069ea0e87b13c affected from 505b5240329b922f21f91d5b5d1e535c805eca6d, before f8995c2df519f382525ca4bc90553ad2ec611067 affected abc60edcfc87771ff244763d4d19c67766f5dd0f affected a2a840d6dcae960c2dfdf3fcb1b759e1b7d90663 affected 00279b505289f7529d9be2e78915d0483ffbd314 affected d04e6ea0cec9e7d6cba806508f657d2d0dc6cacf affected 7f3ebea19795eb38438cd3709fabf2afd53cf447 affected from 3.16.63, before 3.17 affected from 4.4.170, before 4.5 affected from 4.9.148, before 4.10 affected from 4.14.91, before 4.15 affected from 4.19.13, before 4.20
Other versions: unaffected
|
| Linux |
affected 4.20 unaffected before 4.20 unaffected from 5.10.253 up to and including 5.10.* unaffected from 5.15.203 up to and including 5.15.* unaffected from 6.1.168 up to and including 6.1.* unaffected from 6.6.134 up to and including 6.6.* unaffected from 6.12.81 up to and including 6.12.* unaffected from 6.18.22 up to and including 6.18.* unaffected from 6.19.12 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31781 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31781
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-31781
trivy image --scanners vuln IMAGE | grep CVE-2026-31781
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/46a60ee8956ef1975f00455f614761c7ecedc09d git.kernel.org
- https://git.kernel.org/stable/c/5bb398991f378ef74d90b14a6ea8b61ff96cc03a git.kernel.org
- https://git.kernel.org/stable/c/d59c5d8539662d95887b4564f3f72ad38076a2d5 git.kernel.org
- https://git.kernel.org/stable/c/489f2ef2b908898d01df697dc4fe1476674be640 git.kernel.org
- https://git.kernel.org/stable/c/4a41c2b18fc05d30b718d2602cac339eae710b34 git.kernel.org
- https://git.kernel.org/stable/c/f0e441be08a2eab10b2d06fccfa267ee599dd6b3 git.kernel.org
- https://git.kernel.org/stable/c/27ef84bba9b9d7b03418c60fbc6069ea0e87b13c git.kernel.org
- https://git.kernel.org/stable/c/f8995c2df519f382525ca4bc90553ad2ec611067 git.kernel.org
Source: the record CVE-2026-31781 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse