{"id":"CVE-2026-23366","summary":"drm/client: Do not destroy NULL modes","details":"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.","modified":"2026-04-02T13:12:22.980688Z","published":"2026-03-25T10:27:48.311Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23366.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e3ca5f82346cc23c0a71f1ceb006115ff6b0745"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9aa3e33f0c7f2679ac599a09e3102c8f716a6321"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c601fd5414315fc515f746b499110e46272e7243"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23366.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23366"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3039cc0c0653c6e15130a8719c3237329a954670"},{"fixed":"4e3ca5f82346cc23c0a71f1ceb006115ff6b0745"},{"fixed":"9aa3e33f0c7f2679ac599a09e3102c8f716a6321"},{"fixed":"c601fd5414315fc515f746b499110e46272e7243"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23366.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.18.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23366.json"}}],"schema_version":"1.7.5"}