{"id":"CVE-2025-71141","state":"PUBLISHED","title":"drm/tilcdc: Fix removal actions in case of failed probe","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/tilcdc: Fix removal actions in case of failed probe\n\nThe drm_kms_helper_poll_fini() and drm_atomic_helper_shutdown() helpers\nshould only be called when the device has been successfully registered.\nCurrently, these functions are called unconditionally in tilcdc_fini(),\nwhich causes warnings during probe deferral scenarios.\n\n[    7.972317] WARNING: CPU: 0 PID: 23 at drivers/gpu/drm/drm_atomic_state_helper.c:175 drm_atomic_helper_crtc_duplicate_state+0x60/0x68\n...\n[    8.005820]  drm_atomic_helper_crtc_duplicate_state from drm_atomic_get_crtc_state+0x68/0x108\n[    8.005858]  drm_atomic_get_crtc_state from drm_atomic_helper_disable_all+0x90/0x1c8\n[    8.005885]  drm_atomic_helper_disable_all from drm_atomic_helper_shutdown+0x90/0x144\n[    8.005911]  drm_atomic_helper_shutdown from tilcdc_fini+0x68/0xf8 [tilcdc]\n[    8.005957]  tilcdc_fini [tilcdc] from tilcdc_pdev_probe+0xb0/0x6d4 [tilcdc]\n\nFix this by rewriting the failed probe cleanup path using the standard\ngoto error handling pattern, which ensures that cleanup functions are\nonly called on successfully initialized resources. Additionally, remove\nthe now-unnecessary is_registered flag.","publishedAt":"2026-01-14T15:07:54.456Z","updatedAt":"2026-10-21T12:38:35.452Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"69f03be1fa08a66735d53d92d3429c052540e3bf","status":"affected","lessThan":"21e52dc7762908c3d499cfb493d1b8281fc1d3ab","versionType":"git"},{"version":"3c4babae3c4a1ae05f8f3f5f3d50c440ead7ca6a","status":"affected","lessThan":"28138ea7180c382b449ba9dce12fdec68880dea4","versionType":"git"},{"version":"3c4babae3c4a1ae05f8f3f5f3d50c440ead7ca6a","status":"affected","lessThan":"71be8825e83c90c1e020feb77b29e6a99629e642","versionType":"git"},{"version":"3c4babae3c4a1ae05f8f3f5f3d50c440ead7ca6a","status":"affected","lessThan":"a585c7ef9cabda58088916baedc6573e9a5cd2a7","versionType":"git"},{"version":"84021fa4cf190e257ae8b66d284cdb92e3fabe33","status":"affected","versionType":"git"},{"version":"6.6.2","status":"affected","lessThan":"6.6.120","versionType":"semver"},{"version":"6.5.12","status":"affected","lessThan":"6.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/tilcdc/tilcdc_crtc.c","drivers/gpu/drm/tilcdc/tilcdc_drv.c","drivers/gpu/drm/tilcdc/tilcdc_drv.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.4","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","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/tilcdc/tilcdc_crtc.c","drivers/gpu/drm/tilcdc/tilcdc_drv.c","drivers/gpu/drm/tilcdc/tilcdc_drv.h"]}],"references":["https://git.kernel.org/stable/c/21e52dc7762908c3d499cfb493d1b8281fc1d3ab","https://git.kernel.org/stable/c/28138ea7180c382b449ba9dce12fdec68880dea4","https://git.kernel.org/stable/c/71be8825e83c90c1e020feb77b29e6a99629e642","https://git.kernel.org/stable/c/a585c7ef9cabda58088916baedc6573e9a5cd2a7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/71xxx/CVE-2025-71141.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-71141","state":"PUBLISHED","datePublished":"2026-01-14T15:07:54.456Z","dateUpdated":"2026-10-21T12:38:35.452Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:30:19.661Z"},"containers":{"cna":{"title":"drm/tilcdc: Fix removal actions in case of failed probe","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/tilcdc: Fix removal actions in case of failed probe\n\nThe drm_kms_helper_poll_fini() and drm_atomic_helper_shutdown() helpers\nshould only be called when the device has been successfully registered.\nCurrently, these functions are called unconditionally in tilcdc_fini(),\nwhich causes warnings during probe deferral scenarios.\n\n[    7.972317] WARNING: CPU: 0 PID: 23 at drivers/gpu/drm/drm_atomic_state_helper.c:175 drm_atomic_helper_crtc_duplicate_state+0x60/0x68\n...\n[    8.005820]  drm_atomic_helper_crtc_duplicate_state from drm_atomic_get_crtc_state+0x68/0x108\n[    8.005858]  drm_atomic_get_crtc_state from drm_atomic_helper_disable_all+0x90/0x1c8\n[    8.005885]  drm_atomic_helper_disable_all from drm_atomic_helper_shutdown+0x90/0x144\n[    8.005911]  drm_atomic_helper_shutdown from tilcdc_fini+0x68/0xf8 [tilcdc]\n[    8.005957]  tilcdc_fini [tilcdc] from tilcdc_pdev_probe+0xb0/0x6d4 [tilcdc]\n\nFix this by rewriting the failed probe cleanup path using the standard\ngoto error handling pattern, which ensures that cleanup functions are\nonly called on successfully initialized resources. Additionally, remove\nthe now-unnecessary is_registered flag."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"69f03be1fa08a66735d53d92d3429c052540e3bf","status":"affected","lessThan":"21e52dc7762908c3d499cfb493d1b8281fc1d3ab","versionType":"git"},{"version":"3c4babae3c4a1ae05f8f3f5f3d50c440ead7ca6a","status":"affected","lessThan":"28138ea7180c382b449ba9dce12fdec68880dea4","versionType":"git"},{"version":"3c4babae3c4a1ae05f8f3f5f3d50c440ead7ca6a","status":"affected","lessThan":"71be8825e83c90c1e020feb77b29e6a99629e642","versionType":"git"},{"version":"3c4babae3c4a1ae05f8f3f5f3d50c440ead7ca6a","status":"affected","lessThan":"a585c7ef9cabda58088916baedc6573e9a5cd2a7","versionType":"git"},{"version":"84021fa4cf190e257ae8b66d284cdb92e3fabe33","status":"affected","versionType":"git"},{"version":"6.6.2","status":"affected","lessThan":"6.6.120","versionType":"semver"},{"version":"6.5.12","status":"affected","lessThan":"6.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/tilcdc/tilcdc_crtc.c","drivers/gpu/drm/tilcdc/tilcdc_drv.c","drivers/gpu/drm/tilcdc/tilcdc_drv.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.4","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","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/tilcdc/tilcdc_crtc.c","drivers/gpu/drm/tilcdc/tilcdc_drv.c","drivers/gpu/drm/tilcdc/tilcdc_drv.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/21e52dc7762908c3d499cfb493d1b8281fc1d3ab"},{"url":"https://git.kernel.org/stable/c/28138ea7180c382b449ba9dce12fdec68880dea4"},{"url":"https://git.kernel.org/stable/c/71be8825e83c90c1e020feb77b29e6a99629e642"},{"url":"https://git.kernel.org/stable/c/a585c7ef9cabda58088916baedc6573e9a5cd2a7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:38:35.452Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.2","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}