Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C1B03B7769 for ; Wed, 25 Mar 2026 10:31:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434680; cv=none; b=BJeYl//BTVImrW6H/K2vwn95sp4pDkHn2pYz3AvbyrsAZLBmqdqoFhEaAv851qXsR7EQer+l2VRSuRUybjDu1se7QcMlbw+jh65CH0JpakyZ3c+KUM0I9Di8ZUL7UnRcOftiPSt/zUGCllwTyZdrn/vD+240DOGZ49tfCZEWZ80= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434680; c=relaxed/simple; bh=+iB7B8vu7nvofcQFY9sqzNIcwQXep+DSIn1S/zJNONs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QmYHg98QAreyZZAkIMg0xI6WdbREXdjuYL8uoo2aRZJ2hrQ24KOJr7rXMWPs/XpTXaEnRYQLXsIEcEoqy23dEu6sV5WfVIhucMdQcGud89SiIaPE+N1W4lyz2MC1v6Uw5sri+uoh90tI4WL+4lGGOIOOg4qxZEpojeMBzpavJd8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xee8+/M7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xee8+/M7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E5C4C4CEF7; Wed, 25 Mar 2026 10:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434680; bh=+iB7B8vu7nvofcQFY9sqzNIcwQXep+DSIn1S/zJNONs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=xee8+/M7XQLnejUaa+MS7ut1ij8K0NBfXnM4oRlwH5Se1JJzVg2l5uCYR86VhLHRk Z3uVYYimztpAOAZNMnlSPhAIVZPCIO9KzzMX2psPQJ4Rf72N037q99TA+RO3VDeBWm Hw/QwyrXGHwHiGwfV67JzfbcNUh4EQao0oddIEkQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23366: drm/client: Do not destroy NULL modes Date: Wed, 25 Mar 2026 11:27:50 +0100 Message-ID: <2026032540-CVE-2026-23366-a7c4@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2216; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FQ9prCgWtczTGHbCEq2siun2w9c0VX2JdH5qq/YEbwE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdyQczIv86KEgoVHKc9J247LeTsYjqTolesliEvXql 3aK/pzREcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMp+c+wYHafY5S6m2LixL+u qceXKl2aPue6DsM8xbhoSd4X/Hd4OV+e7jaZd3GhlPk9AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/client: Do not destroy NULL modes 'modes' in drm_client_modeset_probe may fail to kcalloc. If this occurs, we jump to 'out', calling modes_destroy on it, which dereferences it. This may result in a NULL pointer dereference in the error case. Prevent that. The Linux kernel CVE team has assigned CVE-2026-23366 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 3039cc0c0653c6e15130a8719c3237329a954670 and fixed in 6.18.17 with commit 4e3ca5f82346cc23c0a71f1ceb006115ff6b0745 Issue introduced in 6.16 with commit 3039cc0c0653c6e15130a8719c3237329a954670 and fixed in 6.19.7 with commit 9aa3e33f0c7f2679ac599a09e3102c8f716a6321 Issue introduced in 6.16 with commit 3039cc0c0653c6e15130a8719c3237329a954670 and fixed in 7.0-rc2 with commit c601fd5414315fc515f746b499110e46272e7243 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23366 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/drm_client_modeset.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/4e3ca5f82346cc23c0a71f1ceb006115ff6b0745 https://git.kernel.org/stable/c/9aa3e33f0c7f2679ac599a09e3102c8f716a6321 https://git.kernel.org/stable/c/c601fd5414315fc515f746b499110e46272e7243