{"id":"CVE-2026-23366","state":"PUBLISHED","title":"drm/client: Do not destroy NULL modes","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/client: Do not destroy NULL modes\n\n'modes' in drm_client_modeset_probe may fail to kcalloc.  If this\noccurs, we jump to 'out', calling modes_destroy on it, which\ndereferences it.  This may result in a NULL pointer dereference in the\nerror case.  Prevent that.","publishedAt":"2026-03-25T10:27:48.311Z","updatedAt":"2026-05-11T22:05:28.991Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3039cc0c0653c6e15130a8719c3237329a954670","status":"affected","lessThan":"4e3ca5f82346cc23c0a71f1ceb006115ff6b0745","versionType":"git"},{"version":"3039cc0c0653c6e15130a8719c3237329a954670","status":"affected","lessThan":"9aa3e33f0c7f2679ac599a09e3102c8f716a6321","versionType":"git"},{"version":"3039cc0c0653c6e15130a8719c3237329a954670","status":"affected","lessThan":"c601fd5414315fc515f746b499110e46272e7243","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_client_modeset.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.17","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.7","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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_client_modeset.c"]}],"references":["https://git.kernel.org/stable/c/4e3ca5f82346cc23c0a71f1ceb006115ff6b0745","https://git.kernel.org/stable/c/9aa3e33f0c7f2679ac599a09e3102c8f716a6321","https://git.kernel.org/stable/c/c601fd5414315fc515f746b499110e46272e7243"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23366.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23366","state":"PUBLISHED","datePublished":"2026-03-25T10:27:48.311Z","dateUpdated":"2026-05-11T22:05:28.991Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:46.002Z"},"containers":{"cna":{"title":"drm/client: Do not destroy NULL modes","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/client: Do not destroy NULL modes\n\n'modes' in drm_client_modeset_probe may fail to kcalloc.  If this\noccurs, we jump to 'out', calling modes_destroy on it, which\ndereferences it.  This may result in a NULL pointer dereference in the\nerror case.  Prevent that."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3039cc0c0653c6e15130a8719c3237329a954670","status":"affected","lessThan":"4e3ca5f82346cc23c0a71f1ceb006115ff6b0745","versionType":"git"},{"version":"3039cc0c0653c6e15130a8719c3237329a954670","status":"affected","lessThan":"9aa3e33f0c7f2679ac599a09e3102c8f716a6321","versionType":"git"},{"version":"3039cc0c0653c6e15130a8719c3237329a954670","status":"affected","lessThan":"c601fd5414315fc515f746b499110e46272e7243","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/drm_client_modeset.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.17","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.7","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","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_client_modeset.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4e3ca5f82346cc23c0a71f1ceb006115ff6b0745"},{"url":"https://git.kernel.org/stable/c/9aa3e33f0c7f2679ac599a09e3102c8f716a6321"},{"url":"https://git.kernel.org/stable/c/c601fd5414315fc515f746b499110e46272e7243"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:05:28.991Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.17"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.19.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}