{"id":"CVE-2026-23039","state":"PUBLISHED","title":"drm/gud: fix NULL fb and crtc dereferences on USB disconnect","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gud: fix NULL fb and crtc dereferences on USB disconnect\n\nOn disconnect drm_atomic_helper_disable_all() is called which\nsets both the fb and crtc for a plane to NULL before invoking a commit.\n\nThis causes a kernel oops on every display disconnect.\n\nAdd guards for those dereferences.","publishedAt":"2026-01-31T11:42:33.377Z","updatedAt":"2026-05-11T21:58:49.153Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73cfd166e045769a1b42d36897accaa6e06b8102","status":"affected","lessThan":"a255ec07f91d4c73a361a28b7a3d82f5710245f1","versionType":"git"},{"version":"73cfd166e045769a1b42d36897accaa6e06b8102","status":"affected","lessThan":"dc2d5ddb193e363187bae2ad358245642d2721fb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/gud/gud_pipe.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.7","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/gud/gud_pipe.c"]}],"references":["https://git.kernel.org/stable/c/a255ec07f91d4c73a361a28b7a3d82f5710245f1","https://git.kernel.org/stable/c/dc2d5ddb193e363187bae2ad358245642d2721fb"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23039.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23039","state":"PUBLISHED","datePublished":"2026-01-31T11:42:33.377Z","dateUpdated":"2026-05-11T21:58:49.153Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.943Z"},"containers":{"cna":{"title":"drm/gud: fix NULL fb and crtc dereferences on USB disconnect","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gud: fix NULL fb and crtc dereferences on USB disconnect\n\nOn disconnect drm_atomic_helper_disable_all() is called which\nsets both the fb and crtc for a plane to NULL before invoking a commit.\n\nThis causes a kernel oops on every display disconnect.\n\nAdd guards for those dereferences."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"73cfd166e045769a1b42d36897accaa6e06b8102","status":"affected","lessThan":"a255ec07f91d4c73a361a28b7a3d82f5710245f1","versionType":"git"},{"version":"73cfd166e045769a1b42d36897accaa6e06b8102","status":"affected","lessThan":"dc2d5ddb193e363187bae2ad358245642d2721fb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/gud/gud_pipe.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.7","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/gud/gud_pipe.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a255ec07f91d4c73a361a28b7a3d82f5710245f1"},{"url":"https://git.kernel.org/stable/c/dc2d5ddb193e363187bae2ad358245642d2721fb"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:58:49.153Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}