{"id":"CVE-2024-38622","state":"PUBLISHED","title":"drm/msm/dpu: Add callback function pointer check before its call","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add callback function pointer check before its call\n\nIn dpu_core_irq_callback_handler() callback function pointer is compared to NULL,\nbut then callback function is unconditionally called by this pointer.\nFix this bug by adding conditional return.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\nPatchwork: https://patchwork.freedesktop.org/patch/588237/","publishedAt":"2024-06-21T10:18:15.625Z","updatedAt":"2026-10-30T12:18:33.559Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"cefb0a99eddf7dd131121a7b348ffbbe32254ec4","versionType":"git"},{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"873f67699114452c2a996c4e10faac8ff860c241","versionType":"git"},{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f","versionType":"git"},{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"530f272053a5e72243a9cb07bb1296af6c346002","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.33","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.4","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","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/msm/disp/dpu1/dpu_hw_interrupts.c"]}],"references":["https://git.kernel.org/stable/c/cefb0a99eddf7dd131121a7b348ffbbe32254ec4","https://git.kernel.org/stable/c/873f67699114452c2a996c4e10faac8ff860c241","https://git.kernel.org/stable/c/9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f","https://git.kernel.org/stable/c/530f272053a5e72243a9cb07bb1296af6c346002"],"weaknesses":[],"ingestedAt":"2026-10-30T12:34:06.950Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38622.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-38622","state":"PUBLISHED","datePublished":"2024-06-21T10:18:15.625Z","dateUpdated":"2026-10-30T12:18:33.559Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-06-18T19:36:34.945Z"},"containers":{"cna":{"title":"drm/msm/dpu: Add callback function pointer check before its call","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm/dpu: Add callback function pointer check before its call\n\nIn dpu_core_irq_callback_handler() callback function pointer is compared to NULL,\nbut then callback function is unconditionally called by this pointer.\nFix this bug by adding conditional return.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\nPatchwork: https://patchwork.freedesktop.org/patch/588237/"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"cefb0a99eddf7dd131121a7b348ffbbe32254ec4","versionType":"git"},{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"873f67699114452c2a996c4e10faac8ff860c241","versionType":"git"},{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f","versionType":"git"},{"version":"c929ac60b3ed34accd25a052a4833e418900f466","status":"affected","lessThan":"530f272053a5e72243a9cb07bb1296af6c346002","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.33","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.9.4","status":"unaffected","lessThanOrEqual":"6.9.*","versionType":"semver"},{"version":"6.10","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/msm/disp/dpu1/dpu_hw_interrupts.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/cefb0a99eddf7dd131121a7b348ffbbe32254ec4"},{"url":"https://git.kernel.org/stable/c/873f67699114452c2a996c4e10faac8ff860c241"},{"url":"https://git.kernel.org/stable/c/9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f"},{"url":"https://git.kernel.org/stable/c/530f272053a5e72243a9cb07bb1296af6c346002"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:18:33.559Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.9.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.10"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-21T13:23:40.246723Z","id":"CVE-2024-38622","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-21T13:23:53.817Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/873f67699114452c2a996c4e10faac8ff860c241","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/9078630ed7f8f25d65d11823e7f2b11a8e2f4f0f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/530f272053a5e72243a9cb07bb1296af6c346002","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:12:26.011Z"}}]}}}