{"id":"CVE-2024-49909","state":"PUBLISHED","title":"drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func\n\nThis commit adds a null check for the set_output_gamma function pointer\nin the dcn32_set_output_transfer_func function. Previously,\nset_output_gamma was being checked for null, but then it was being\ndereferenced without any null check. This could lead to a null pointer\ndereference if set_output_gamma is null.\n\nTo fix this, we now ensure that set_output_gamma is not null before\ndereferencing it. We do this by adding a null check for set_output_gamma\nbefore the call to set_output_gamma.","publishedAt":"2024-10-21T18:01:38.803Z","updatedAt":"2026-05-11T20:41:37.557Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"e087c9738ee1cdeebde346f4dfc819e5f7057e90","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"f38b09ba6a335c511eb27920bb9bb4a1b2c20084","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"496486950c3d2aebf46a3be300296ac091da7a2d","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"5298270bdabe97be5b8236e544c9e936415fe1f2","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"28574b08c70e56d34d6f6379326a860b96749051","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","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/dcn32/dcn32_hwseq.c"]}],"references":["https://git.kernel.org/stable/c/e087c9738ee1cdeebde346f4dfc819e5f7057e90","https://git.kernel.org/stable/c/f38b09ba6a335c511eb27920bb9bb4a1b2c20084","https://git.kernel.org/stable/c/496486950c3d2aebf46a3be300296ac091da7a2d","https://git.kernel.org/stable/c/5298270bdabe97be5b8236e544c9e936415fe1f2","https://git.kernel.org/stable/c/28574b08c70e56d34d6f6379326a860b96749051","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49909.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-49909","state":"PUBLISHED","datePublished":"2024-10-21T18:01:38.803Z","dateUpdated":"2026-05-11T20:41:37.557Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T12:17:06.028Z"},"containers":{"cna":{"title":"drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func\n\nThis commit adds a null check for the set_output_gamma function pointer\nin the dcn32_set_output_transfer_func function. Previously,\nset_output_gamma was being checked for null, but then it was being\ndereferenced without any null check. This could lead to a null pointer\ndereference if set_output_gamma is null.\n\nTo fix this, we now ensure that set_output_gamma is not null before\ndereferencing it. We do this by adding a null check for set_output_gamma\nbefore the call to set_output_gamma."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"e087c9738ee1cdeebde346f4dfc819e5f7057e90","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"f38b09ba6a335c511eb27920bb9bb4a1b2c20084","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"496486950c3d2aebf46a3be300296ac091da7a2d","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"5298270bdabe97be5b8236e544c9e936415fe1f2","versionType":"git"},{"version":"235c67634230b0f9ad8c0185272fed36c892b1c4","status":"affected","lessThan":"28574b08c70e56d34d6f6379326a860b96749051","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.64","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","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/dcn32/dcn32_hwseq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e087c9738ee1cdeebde346f4dfc819e5f7057e90"},{"url":"https://git.kernel.org/stable/c/f38b09ba6a335c511eb27920bb9bb4a1b2c20084"},{"url":"https://git.kernel.org/stable/c/496486950c3d2aebf46a3be300296ac091da7a2d"},{"url":"https://git.kernel.org/stable/c/5298270bdabe97be5b8236e544c9e936415fe1f2"},{"url":"https://git.kernel.org/stable/c/28574b08c70e56d34d6f6379326a860b96749051"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:41:37.557Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.10.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.11.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-49909","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:41:51.958050Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:48:46.409Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:41:53.950Z"}}]}}}