{"id":"CVE-2026-80658","state":"PUBLISHED","title":"drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()\n\nAttempting to access driver data in the platform driver ->remove()\ncallback may lead to a null pointer dereference since there is no\nguaranty that the component ->bind() callback invoking\nplatform_set_drvdata() was executed.\n\nA common scenario is when Rockchip DRM driver didn't manage to run\ncomponent_bind_all() because of an (unrelated) error causing early\nreturn from rockchip_drm_bind().\n\nDrop the unnecessary call to platform_get_drvdata() and, instead,\nreference the target device structure via platform_device.","publishedAt":"2026-08-28T06:49:03.796Z","updatedAt":"2026-08-28T06:49:03.796Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","status":"affected","lessThan":"b3ec263a719e0d499bd95d20012d90d7e8641655","versionType":"git"},{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","status":"affected","lessThan":"33bc9fba3ae05863fabe3436ddca2ca4f4939c5e","versionType":"git"},{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","status":"affected","lessThan":"9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/rockchip/dw_dp-rockchip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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/rockchip/dw_dp-rockchip.c"]}],"references":["https://git.kernel.org/stable/c/b3ec263a719e0d499bd95d20012d90d7e8641655","https://git.kernel.org/stable/c/33bc9fba3ae05863fabe3436ddca2ca4f4939c5e","https://git.kernel.org/stable/c/9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80658.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80658","state":"PUBLISHED","datePublished":"2026-08-28T06:49:03.796Z","dateUpdated":"2026-08-28T06:49:03.796Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.780Z"},"containers":{"cna":{"title":"drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()\n\nAttempting to access driver data in the platform driver ->remove()\ncallback may lead to a null pointer dereference since there is no\nguaranty that the component ->bind() callback invoking\nplatform_set_drvdata() was executed.\n\nA common scenario is when Rockchip DRM driver didn't manage to run\ncomponent_bind_all() because of an (unrelated) error causing early\nreturn from rockchip_drm_bind().\n\nDrop the unnecessary call to platform_get_drvdata() and, instead,\nreference the target device structure via platform_device."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","status":"affected","lessThan":"b3ec263a719e0d499bd95d20012d90d7e8641655","versionType":"git"},{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","status":"affected","lessThan":"33bc9fba3ae05863fabe3436ddca2ca4f4939c5e","versionType":"git"},{"version":"d68ba7bac9555d05e2f5b310c898b2a5c7eff174","status":"affected","lessThan":"9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/rockchip/dw_dp-rockchip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","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/rockchip/dw_dp-rockchip.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b3ec263a719e0d499bd95d20012d90d7e8641655"},{"url":"https://git.kernel.org/stable/c/33bc9fba3ae05863fabe3436ddca2ca4f4939c5e"},{"url":"https://git.kernel.org/stable/c/9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-28T06:49:03.796Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}