PatchSiren

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
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-28
Original CVE updated
2026-06-10
Advisory published
2026-05-28
Advisory updated
2026-06-10

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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-46211 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-46211

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-46211 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-46211

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/47cbfe2608314b833ad61a65827d8fb363bc2d2d

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/697e1a9559f6962f999cc4c748c2ffffcc0a7a7a

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/b079e85c91f446f29e808d8291189e897f1884ff

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c57c861956b89f2e2528e6384d51e2dedd915809

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.