CVE-2026-46216: drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()
In the Linux kernel, the following vulnerability has been resolved:
drm/xe/hdcp: Add NULL check for mediagt in intelhdcpgsccheckstatus()
When media GT is disabled via configfs, there is no allocation for mediagt, which is kept as NULL. In such scenario, intelhdcpgsccheckstatus() results in a kernel pagefault error due to >->uc.gsc being evaluated as an invalid memory address.
Fix that by introducing a NULL check on mediagt and bailing out early if so.
While at it, also drop the NULL check for gsc, since it can't be NULL if mediagt is not NULL.
v2: - Get address for gsc only after checking that gt is not NULL. (Shuicheng) - Drop the NULL check for gsc. (Shuicheng) v3: - Add "Fixes" and "Cc: <stable...>" tags. (Matt)
(cherry picked from commit bfaf87e84ca3ca3f6e275f9ae56da47a8b55ffd1)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch bfaf87e84ca3ca3f6e275f9ae56da47a8b55ffd1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46216?
The severity of CVE-2026-46216 is rated as 27.
How do I fix CVE-2026-46216?
To fix CVE-2026-46216, ensure you apply the appropriate kernel updates that include the NULL check for media_gt.
What software is affected by CVE-2026-46216?
CVE-2026-46216 affects the Linux kernel, specifically the drm/xe/hdcp component.
What issue does CVE-2026-46216 address?
CVE-2026-46216 addresses a NULL pointer dereference in intel_hdcp_gsc_check_status() when media GT is disabled.
When was CVE-2026-46216 published?
CVE-2026-46216 was published on May 28, 2026.