Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C2D914EA397 for ; Wed, 16 Sep 2026 10:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554817; cv=none; b=YgtGFs+l9LUucrGqHrs/AjuFoUxxDHI4F37nTXA33zotWZsMH/UdHNA6XaJkFi5MY4zdU5/ZWfEeOFsLkC6ZIqmDveSRQ3Zm2ICCxu6cUKF80qlgWuMBeTHxkGClxnXqh8HAiOIyB8rzL/CKbZjdbatv0xuS34fQVjrN/iGCSpw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554817; c=relaxed/simple; bh=DHUNnd2MKnWfr5y1jJ/PreQDszCyvhLkLtwgV7i5o0Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HFG1QMMJ9Mxzm8m93q9Kx6M5eE41wnxzfsAgp4m7UyCNin9Ojol6RjIGI8kCf33dwCwYYO0Rg+HkJsp1/qwurGxPhVBnCmJDdGHGgrL3MF7WqDV1HA0jKk5QHOENdfHcJS6fjO2nkfZfKGozX89y/9CZPveyngD4ufdm5WzVbd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jyPGcXRC; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jyPGcXRC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E5BB1F0089D; Wed, 16 Sep 2026 10:33:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554789; bh=RCBp07Uqm62xPaiR8moGpiZBPHfWAgjDnkLOqXHjQes=; h=From:To:Cc:Subject:Date:Reply-To; b=jyPGcXRClQSXcVemeI2zmmrrj8JgfsFytNXJlfBsm4jlwwRMEGUl9Y8QR9806FIKo T5TNrU5A0UM5bwUGcn4l8/NnJflsOChud4Iagn4HN+71GtW+LpohKqG96/KKHRpPRU c8xfaaFW0dPf+xa++Ae7xQy2A0L97IDvo+2macWc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89806: drm/sysfb: ofdrm: Fix integer overflow in fb_size calculation Date: Wed, 16 Sep 2026 11:28:56 +0100 Message-ID: <2026091653-CVE-2026-89806-d723@gregkh> X-Mailer: git-send-email 2.55.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=2417; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fki79SlvipoLKAgNaZdQenQ32KZSlJgaOtviScb8gkw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8lPr0/o2eLi0NVTsNzi2+fj2vp1NsexnKmNu8AUaX fnbfGdzRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkgxDD/NqMWcoOn7nsC+sd PxTJcVY1WFj5MswvMj3v6J9b8UWj2v3vzhNFpQr7T8kCAA== 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/sysfb: ofdrm: Fix integer overflow in fb_size calculation The framebuffer size calculation `fb_size = linebytes * height` can overflow when both values are large (e.g., 46341 * 46341 > INT_MAX). Since linebytes and height are both int types, the multiplication is performed as int * int, which results in undefined behavior on overflow. Use check_mul_overflow() to detect and prevent this overflow, consistent with the approach used in simpledrm.c and corebootdrm.c. The Linux kernel CVE team has assigned CVE-2026-89806 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 and fixed in 6.18.51 with commit ded6ad826fe0fd059333d3a3b3e1742c8e45ff41 Issue introduced in 6.2 with commit c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 and fixed in 7.2.5 with commit d9daf9a6e7a6f82ef338a09386eefc6807100d3f Issue introduced in 6.2 with commit c8a17756c42581ba1a567d1dd3b69e8f5619a7d8 and fixed in 7.3-rc2 with commit c6f48e59ece0123f6a11527ad4d89b21c2d65b87 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-89806 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/sysfb/ofdrm.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/ded6ad826fe0fd059333d3a3b3e1742c8e45ff41 https://git.kernel.org/stable/c/d9daf9a6e7a6f82ef338a09386eefc6807100d3f https://git.kernel.org/stable/c/c6f48e59ece0123f6a11527ad4d89b21c2d65b87