CVE-2026-46216

drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()

State
Published
Severity
Not scored
Published
May 28, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()

When media GT is disabled via configfs, there is no allocation for media_gt, which is kept as NULL. In such scenario, intel_hdcp_gsc_check_status() results in a kernel pagefault error due to &gt->uc.gsc being evaluated as an invalid memory address.

Fix that by introducing a NULL check on media_gt and bailing out early if so.

While at it, also drop the NULL check for gsc, since it can't be NULL if media_gt 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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 to before cad210d2851f3a7d9573bdfc02aa61d9287bbe8cAffected
  • 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 to before 814326e86e929b865020ff44f4576dbdfe3f7ff3Affected
  • 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 to before d8ab4b47edf4578dbfbe5e95817107a514fa34ccAffected
  • 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 to before 60a1e131a811b68703da58fd805ab359b704ab03Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.9 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.