PatchSiren cyber security CVE debrief
CVE-2026-46211 Linux CVE debrief
A vulnerability in the Linux kernel's DRM/MSM GEM subsystem allows `msm_ioctl_gem_info_get_metadata()` to unconditionally return success (0) even when errors occur. The function fails to propagate error codes from `copy_to_user()` failures or undersized user buffers, misleading userspace into believing the ioctl succeeded. Additionally, a missing NULL check on `kmemdup()` return values permits NULL pointer dereference when memory allocation fails. The fix adds proper NULL validation and returns the actual error code `ret` rather than hardcoded 0.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-28
- Original CVE updated
- 2026-05-28
- Advisory published
- 2026-05-28
- Advisory updated
- 2026-05-28
Who should care
Linux kernel maintainers, mobile/embedded device vendors using Qualcomm Adreno GPUs, DRM subsystem developers, security teams tracking kernel graphics driver vulnerabilities
Technical summary
The `msm_ioctl_gem_info_get_metadata()` function in `drivers/gpu/drm/msm/msm_gem.c` contains two defects: (1) unconditional `return 0` at function exit ignores the `ret` variable populated by `copy_to_user()` error checks, causing false success reporting to userspace when copy operations fail or buffers are too small; (2) unchecked `kmemdup()` return value permits NULL pointer dereference in subsequent `copy_to_user()` call when kernel memory is exhausted. The patch adds `if (!metadata)` NULL check after `kmemdup()` and changes final return from `return 0` to `return ret`.
Defensive priority
medium
Recommended defensive actions
- Apply kernel patches from stable tree commits when available for your distribution
- Monitor vendor security advisories for kernel updates addressing CVE-2026-46211
- Validate DRM/MSM driver error handling in custom kernel builds
- Review application-level handling of GEM metadata ioctls for unexpected success responses
Evidence notes
The vulnerability description is sourced from the official CVE record published 2026-05-28. The fix is confirmed by kernel.org stable tree commits. The SET counterpart function correctly returns `ret`, highlighting the GET function's omission.
Official resources
-
CVE-2026-46211 CVE record
CVE.org
-
CVE-2026-46211 NVD detail
NVD
-
Source item URL
nvd_modified
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
2026-05-28