{"id":"CVE-2026-43337","state":"PUBLISHED","title":"drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()\n\ndcn401_init_hw() assumes that update_bw_bounding_box() is valid when\nentering the update path. However, the existing condition:\n\n  ((!fams2_enable && update_bw_bounding_box) || freq_changed)\n\ndoes not guarantee this, as the freq_changed branch can evaluate to true\nindependently of the callback pointer.\n\nThis can result in calling update_bw_bounding_box() when it is NULL.\n\nFix this by separating the update condition from the pointer checks and\nensuring the callback, dc->clk_mgr, and bw_params are validated before\nuse.\n\nFixes the below:\n../dc/hwss/dcn401/dcn401_hwseq.c:367 dcn401_init_hw() error: we previously assumed 'dc->res_pool->funcs->update_bw_bounding_box' could be null (see line 362)\n\n(cherry picked from commit 86117c5ab42f21562fedb0a64bffea3ee5fcd477)","publishedAt":"2026-05-08T13:31:22.967Z","updatedAt":"2026-10-21T12:40:39.405Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"fcc51c81cb472eb460310c477460356dc4845ff7","versionType":"git"},{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"10c13c111d0d7f8e101c742feff264fc98e3f9f7","versionType":"git"},{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"2d4a6f0702c5211e0be8b688c5fc24f082ec74d6","versionType":"git"},{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"e927b36ae18b66b49219eaa9f46edc7b4fdbb25e","versionType":"git"},{"version":"e13689793b9c0e7b5749954e77f5f85e68fe7138","status":"affected","versionType":"git"},{"version":"6.11.3","status":"affected","lessThan":"6.12","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"]}],"references":["https://git.kernel.org/stable/c/fcc51c81cb472eb460310c477460356dc4845ff7","https://git.kernel.org/stable/c/10c13c111d0d7f8e101c742feff264fc98e3f9f7","https://git.kernel.org/stable/c/2d4a6f0702c5211e0be8b688c5fc24f082ec74d6","https://git.kernel.org/stable/c/e927b36ae18b66b49219eaa9f46edc7b4fdbb25e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43337.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43337","state":"PUBLISHED","datePublished":"2026-05-08T13:31:22.967Z","dateUpdated":"2026-10-21T12:40:39.405Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.002Z"},"containers":{"cna":{"title":"drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()\n\ndcn401_init_hw() assumes that update_bw_bounding_box() is valid when\nentering the update path. However, the existing condition:\n\n  ((!fams2_enable && update_bw_bounding_box) || freq_changed)\n\ndoes not guarantee this, as the freq_changed branch can evaluate to true\nindependently of the callback pointer.\n\nThis can result in calling update_bw_bounding_box() when it is NULL.\n\nFix this by separating the update condition from the pointer checks and\nensuring the callback, dc->clk_mgr, and bw_params are validated before\nuse.\n\nFixes the below:\n../dc/hwss/dcn401/dcn401_hwseq.c:367 dcn401_init_hw() error: we previously assumed 'dc->res_pool->funcs->update_bw_bounding_box' could be null (see line 362)\n\n(cherry picked from commit 86117c5ab42f21562fedb0a64bffea3ee5fcd477)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"fcc51c81cb472eb460310c477460356dc4845ff7","versionType":"git"},{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"10c13c111d0d7f8e101c742feff264fc98e3f9f7","versionType":"git"},{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"2d4a6f0702c5211e0be8b688c5fc24f082ec74d6","versionType":"git"},{"version":"ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4","status":"affected","lessThan":"e927b36ae18b66b49219eaa9f46edc7b4fdbb25e","versionType":"git"},{"version":"e13689793b9c0e7b5749954e77f5f85e68fe7138","status":"affected","versionType":"git"},{"version":"6.11.3","status":"affected","lessThan":"6.12","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.22","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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/amd/display/dc/hwss/dcn401/dcn401_hwseq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fcc51c81cb472eb460310c477460356dc4845ff7"},{"url":"https://git.kernel.org/stable/c/10c13c111d0d7f8e101c742feff264fc98e3f9f7"},{"url":"https://git.kernel.org/stable/c/2d4a6f0702c5211e0be8b688c5fc24f082ec74d6"},{"url":"https://git.kernel.org/stable/c/e927b36ae18b66b49219eaa9f46edc7b4fdbb25e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:40:39.405Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.22"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}