CVE-2026-46211
drm/msm/gem: fix error handling in msm_ioctl_gem_info_get_metadata()
Check your servers for CVE-2026-46211
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-46211 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/msm/gem: fix error handling in msm_ioctl_gem_info_get_metadata()
msm_ioctl_gem_info_get_metadata() always returns 0 regardless of errors. When copy_to_user() fails or the user buffer is too small, the error code stored in ret is ignored because the function unconditionally returns 0. This causes userspace to believe the ioctl succeeded when it did not.
Additionally, kmemdup() can return NULL on allocation failure, but the return value is not checked. This leads to a NULL pointer dereference in the subsequent copy_to_user() call.
Add the missing NULL check for kmemdup() and return ret instead of 0.
Note that the SET counterpart (msm_ioctl_gem_info_set_metadata) correctly returns ret.
Patchwork: https://patchwork.freedesktop.org/patch/714478/
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.88% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9902cb999e4e913d98e8afe4b36c08e4a793e1ce, before 697e1a9559f6962f999cc4c748c2ffffcc0a7a7a affected from 9902cb999e4e913d98e8afe4b36c08e4a793e1ce, before c57c861956b89f2e2528e6384d51e2dedd915809 affected from 9902cb999e4e913d98e8afe4b36c08e4a793e1ce, before b079e85c91f446f29e808d8291189e897f1884ff affected from 9902cb999e4e913d98e8afe4b36c08e4a793e1ce, before 47cbfe2608314b833ad61a65827d8fb363bc2d2d
Other versions: unaffected
|
| Linux |
affected 6.8 unaffected before 6.8 unaffected from 6.12.90 up to and including 6.12.* unaffected from 6.18.32 up to and including 6.18.* unaffected from 7.0.9 up to and including 7.0.* unaffected 7.1 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-46211 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46211
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-46211
trivy image --scanners vuln IMAGE | grep CVE-2026-46211
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/697e1a9559f6962f999cc4c748c2ffffcc0a7a7a git.kernel.org
- https://git.kernel.org/stable/c/c57c861956b89f2e2528e6384d51e2dedd915809 git.kernel.org
- https://git.kernel.org/stable/c/b079e85c91f446f29e808d8291189e897f1884ff git.kernel.org
- https://git.kernel.org/stable/c/47cbfe2608314b833ad61a65827d8fb363bc2d2d git.kernel.org
Source: the record CVE-2026-46211 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse