{"id":"CVE-2026-46216","state":"PUBLISHED","title":"drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()\n\nWhen media GT is disabled via configfs, there is no allocation for\nmedia_gt, which is kept as NULL.  In such scenario,\nintel_hdcp_gsc_check_status() results in a kernel pagefault error due to\n&gt->uc.gsc being evaluated as an invalid memory address.\n\nFix that by introducing a NULL check on media_gt and bailing out early\nif so.\n\nWhile at it, also drop the NULL check for gsc, since it can't be NULL if\nmedia_gt is not NULL.\n\nv2:\n  - Get address for gsc only after checking that gt is not NULL.\n    (Shuicheng)\n  - Drop the NULL check for gsc. (Shuicheng)\nv3:\n  - Add \"Fixes\" and \"Cc: <stable...>\" tags. (Matt)\n\n(cherry picked from commit bfaf87e84ca3ca3f6e275f9ae56da47a8b55ffd1)","publishedAt":"2026-05-28T09:40:32.891Z","updatedAt":"2026-06-14T18:03:22.909Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"cad210d2851f3a7d9573bdfc02aa61d9287bbe8c","versionType":"git"},{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"814326e86e929b865020ff44f4576dbdfe3f7ff3","versionType":"git"},{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"d8ab4b47edf4578dbfbe5e95817107a514fa34cc","versionType":"git"},{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"60a1e131a811b68703da58fd805ab359b704ab03","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/display/xe_hdcp_gsc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.9","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/display/xe_hdcp_gsc.c"]}],"references":["https://git.kernel.org/stable/c/cad210d2851f3a7d9573bdfc02aa61d9287bbe8c","https://git.kernel.org/stable/c/814326e86e929b865020ff44f4576dbdfe3f7ff3","https://git.kernel.org/stable/c/d8ab4b47edf4578dbfbe5e95817107a514fa34cc","https://git.kernel.org/stable/c/60a1e131a811b68703da58fd805ab359b704ab03"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46216.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46216","state":"PUBLISHED","datePublished":"2026-05-28T09:40:32.891Z","dateUpdated":"2026-06-14T18:03:22.909Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-13T15:03:33.105Z"},"containers":{"cna":{"title":"drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()\n\nWhen media GT is disabled via configfs, there is no allocation for\nmedia_gt, which is kept as NULL.  In such scenario,\nintel_hdcp_gsc_check_status() results in a kernel pagefault error due to\n&gt->uc.gsc being evaluated as an invalid memory address.\n\nFix that by introducing a NULL check on media_gt and bailing out early\nif so.\n\nWhile at it, also drop the NULL check for gsc, since it can't be NULL if\nmedia_gt is not NULL.\n\nv2:\n  - Get address for gsc only after checking that gt is not NULL.\n    (Shuicheng)\n  - Drop the NULL check for gsc. (Shuicheng)\nv3:\n  - Add \"Fixes\" and \"Cc: <stable...>\" tags. (Matt)\n\n(cherry picked from commit bfaf87e84ca3ca3f6e275f9ae56da47a8b55ffd1)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"cad210d2851f3a7d9573bdfc02aa61d9287bbe8c","versionType":"git"},{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"814326e86e929b865020ff44f4576dbdfe3f7ff3","versionType":"git"},{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"d8ab4b47edf4578dbfbe5e95817107a514fa34cc","versionType":"git"},{"version":"4af50beb4e0f9e6aed9cd53436c099f1dba826f1","status":"affected","lessThan":"60a1e131a811b68703da58fd805ab359b704ab03","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/display/xe_hdcp_gsc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.9","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/xe/display/xe_hdcp_gsc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/cad210d2851f3a7d9573bdfc02aa61d9287bbe8c"},{"url":"https://git.kernel.org/stable/c/814326e86e929b865020ff44f4576dbdfe3f7ff3"},{"url":"https://git.kernel.org/stable/c/d8ab4b47edf4578dbfbe5e95817107a514fa34cc"},{"url":"https://git.kernel.org/stable/c/60a1e131a811b68703da58fd805ab359b704ab03"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-14T18:03:22.909Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.92"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.0.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}