{"id":"CVE-2026-89816","state":"PUBLISHED","title":"drm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used\n\nCommit 1c6ceeee6ebb (\"drm/atomic: Fix memleak on ERESTARTSYS during\nnon-blocking commits\") fixed a very similar issue when the event was\nallocated by drm_atomic_helper_setup_commit() itself.\n\nHowever, if the event is allocated in prepare_signaling(), it will also be\nset to NULL in complete_signaling(), which prevents drm_crtc_commit from\nbeing put in __drm_atomic_helper_crtc_destroy_state().\n\nDropping the reference when the event is set to NULL at\ncomplete_signaling() fixes the leak.\n\nThe leak can be reproduced by sending a signal to the thread using\nDRM_MODE_PAGE_FLIP_EVENT and using a sw_sync fence to cause the atomic\nioctl to block at drm_atomic_helper_wait_for_fences(). It happened both\nwith amdgpu and vkms.","publishedAt":"2026-09-16T10:30:49.052Z","updatedAt":"2026-10-19T08:53:10.436Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"c5517b71101f61a45144e3cf77a19626355272de","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"866a04137dac7e82a3848851061ff7ed15c2847e","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"6a6a7aae4681a20cd32789fea9a487aaafa0e7a3","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"e2f27b5ed9084feb7bae9ef2bc80de37c92280b1","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"ff73f5f43d032c3da3c534c517f661e8dfeb358a","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"66b1b309886337745d395bbc158440ab196305ce","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"e6195b941fdc8d81fc431c9f25539cf6c6234b51","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"4d4be202165e832d74849b4a68e289a2a377039c","versionType":"git"},{"version":"c75fe7899538890109aad7bbf92b2f304389e825","status":"affected","versionType":"git"},{"version":"2a3241044b1c4ecc13f73b7158881881fb7534a1","status":"affected","versionType":"git"},{"version":"4.9.19","status":"affected","lessThan":"4.10","versionType":"semver"},{"version":"4.10.7","status":"affected","lessThan":"4.11","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_atomic_uapi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","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/drm_atomic_uapi.c"]}],"references":["https://git.kernel.org/stable/c/c5517b71101f61a45144e3cf77a19626355272de","https://git.kernel.org/stable/c/866a04137dac7e82a3848851061ff7ed15c2847e","https://git.kernel.org/stable/c/6a6a7aae4681a20cd32789fea9a487aaafa0e7a3","https://git.kernel.org/stable/c/e2f27b5ed9084feb7bae9ef2bc80de37c92280b1","https://git.kernel.org/stable/c/ff73f5f43d032c3da3c534c517f661e8dfeb358a","https://git.kernel.org/stable/c/66b1b309886337745d395bbc158440ab196305ce","https://git.kernel.org/stable/c/e6195b941fdc8d81fc431c9f25539cf6c6234b51","https://git.kernel.org/stable/c/4d4be202165e832d74849b4a68e289a2a377039c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89816.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89816","state":"PUBLISHED","datePublished":"2026-09-16T10:30:49.052Z","dateUpdated":"2026-10-19T08:53:10.436Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.768Z"},"containers":{"cna":{"title":"drm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Fix drm_crtc_commit leak if signaled when PAGE_FLIP_EVENT is used\n\nCommit 1c6ceeee6ebb (\"drm/atomic: Fix memleak on ERESTARTSYS during\nnon-blocking commits\") fixed a very similar issue when the event was\nallocated by drm_atomic_helper_setup_commit() itself.\n\nHowever, if the event is allocated in prepare_signaling(), it will also be\nset to NULL in complete_signaling(), which prevents drm_crtc_commit from\nbeing put in __drm_atomic_helper_crtc_destroy_state().\n\nDropping the reference when the event is set to NULL at\ncomplete_signaling() fixes the leak.\n\nThe leak can be reproduced by sending a signal to the thread using\nDRM_MODE_PAGE_FLIP_EVENT and using a sw_sync fence to cause the atomic\nioctl to block at drm_atomic_helper_wait_for_fences(). It happened both\nwith amdgpu and vkms."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"c5517b71101f61a45144e3cf77a19626355272de","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"866a04137dac7e82a3848851061ff7ed15c2847e","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"6a6a7aae4681a20cd32789fea9a487aaafa0e7a3","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"e2f27b5ed9084feb7bae9ef2bc80de37c92280b1","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"ff73f5f43d032c3da3c534c517f661e8dfeb358a","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"66b1b309886337745d395bbc158440ab196305ce","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"e6195b941fdc8d81fc431c9f25539cf6c6234b51","versionType":"git"},{"version":"24835e442f289813aa568d142a755672a740503c","status":"affected","lessThan":"4d4be202165e832d74849b4a68e289a2a377039c","versionType":"git"},{"version":"c75fe7899538890109aad7bbf92b2f304389e825","status":"affected","versionType":"git"},{"version":"2a3241044b1c4ecc13f73b7158881881fb7534a1","status":"affected","versionType":"git"},{"version":"4.9.19","status":"affected","lessThan":"4.10","versionType":"semver"},{"version":"4.10.7","status":"affected","lessThan":"4.11","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_atomic_uapi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","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/drm_atomic_uapi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c5517b71101f61a45144e3cf77a19626355272de"},{"url":"https://git.kernel.org/stable/c/866a04137dac7e82a3848851061ff7ed15c2847e"},{"url":"https://git.kernel.org/stable/c/6a6a7aae4681a20cd32789fea9a487aaafa0e7a3"},{"url":"https://git.kernel.org/stable/c/e2f27b5ed9084feb7bae9ef2bc80de37c92280b1"},{"url":"https://git.kernel.org/stable/c/ff73f5f43d032c3da3c534c517f661e8dfeb358a"},{"url":"https://git.kernel.org/stable/c/66b1b309886337745d395bbc158440ab196305ce"},{"url":"https://git.kernel.org/stable/c/e6195b941fdc8d81fc431c9f25539cf6c6234b51"},{"url":"https://git.kernel.org/stable/c/4d4be202165e832d74849b4a68e289a2a377039c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:53:10.436Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.18.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.2.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10.7"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}