# CVE-2026-46216: drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-05-28T09:40:32.891Z
- Modified: 2026-11-06T17:17:44.763Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 before cad210d2851f3a7d9573bdfc02aa61d9287bbe8c; from 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 before 814326e86e929b865020ff44f4576dbdfe3f7ff3; from 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 before d8ab4b47edf4578dbfbe5e95817107a514fa34cc; from 4af50beb4e0f9e6aed9cd53436c099f1dba826f1 before 60a1e131a811b68703da58fd805ab359b704ab03; 6.10 (not affected: before 6.10; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.10 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.9; 7.1

## References

- <https://git.kernel.org/stable/c/cad210d2851f3a7d9573bdfc02aa61d9287bbe8c> (patch)
- <https://git.kernel.org/stable/c/814326e86e929b865020ff44f4576dbdfe3f7ff3> (patch)
- <https://git.kernel.org/stable/c/d8ab4b47edf4578dbfbe5e95817107a514fa34cc> (patch)
- <https://git.kernel.org/stable/c/60a1e131a811b68703da58fd805ab359b704ab03> (patch)

## Sources

- CVE List: [CVE-2026-46216](https://www.cve.org/CVERecord?id=CVE-2026-46216), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46216](https://nvd.nist.gov/vuln/detail/CVE-2026-46216), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46216 · Whole record: https://cve.day/CVE-2026-46216.json · Rebuilt by cve.day 2026-11-25T22:59:22.879Z
