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 5B1BC4ACC92 for ; Fri, 11 Sep 2026 19:46:36 +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=1789156024; cv=none; b=COurW5gdq7TBAQXL/WskqQH3bR0l+o4lbaNzbFlUIHAnF1UWXKxh3Yfc9a76GqmeGzA6RP5pbf8JkaVuT6cSYC/vjPUaCBhudqHQnjzdH5eQ03Joo+eiMvuHB8ZgmL7G6wuI3OdOVcegxhJKxQ77VAWiUcnbC2cwK5/MdzAlpiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156024; c=relaxed/simple; bh=KRf+QzR6y3gtUCL6gnaCPcLL1BQLcJgOcpiwypYW7G4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mi+pmNTEoUvh8G5dk6Ufl5toHeD/QT9IBBtt75mgPh4glOI4dNLYFIAl+IxmZPqp+5B/xLnmnOtjC2zY5+AfRBmN1NL4fp5VnkD8mfwVk0QTs6X/AP8M0KGGMmYCp0PHPy8enzir6qiLCSl/oF8Mm7n70iaFpz/MORnhiaZULps= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NhVkqC5N; 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="NhVkqC5N" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89CD41F000FF; Fri, 11 Sep 2026 19:46:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789155994; bh=tZTBcWw4C3qNSg3FqYEfEHu68GF129p1Zw2ZDRV+t+c=; h=From:To:Cc:Subject:Date:Reply-To; b=NhVkqC5NB3a1uFx8/yPbAtGQIrT8s+CBtTUYWeJnXD6cqgaKTAHPaR1U0EUAnIuH1 4+sY4kHNJiIPQfGPtMzWkZslJzIx8J2AbHtmWI6FWYAKtp3Dy1E5TFUtXFWBjuRqZt Ygih30TmObCtdr4RuwZY9+cUrPHU0wunTDAwRZhw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80951: i3c: master: svc: bound IBI payload to the requested max_payload_len Date: Fri, 11 Sep 2026 21:40:57 +0200 Message-ID: <2026091139-CVE-2026-80951-3112@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=3181; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Zj0VgWcyZWLe6dPpzNXPm6JdtDZgp6H+epjjopQ8F6w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIs2jJizmsHl2YcfajxPP89fz3aidk3NhV1jGY7maR 2f4q+N0O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAirpkMC254r/49m79O4m6V tNYN4wnbVRgPMTAsODZzzwRhq2uCe47/cv4aLrvtlfFqVgA= 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: i3c: master: svc: bound IBI payload to the requested max_payload_len svc_i3c_master_handle_ibi() reads the IBI payload from the RX FIFO into the IBI slot. The loop is bounded by the hardware FIFO size (SVC_I3C_FIFO_SIZE), not by the slot size. slot->data points into the IBI pool, which i3c_generic_ibi_alloc_pool() sizes at max_payload_len per slot. svc_i3c_master_request_ibi() only rejects a max_payload_len larger than SVC_I3C_FIFO_SIZE, so a driver can request a smaller one. mctp-i3c requests 1. Each readsb() then copies the controller RXCOUNT bytes (up to 31) with no check against the slot size. A device that sends more bytes than the slot holds writes past slot->data, an out-of-bounds write into the IBI pool. Bound the loop by dev->ibi->max_payload_len and clamp each read to the space left in the slot, the same way dw-i3c does. A device can still send more than the requested payload. Flush the leftover bytes from the RX FIFO so they do not leak into the next transfer. The Linux kernel CVE team has assigned CVE-2026-80951 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit dd3c52846d5954acd43f0e771689302f27dadc28 and fixed in 6.12.109 with commit f296a0d5907bf88314dfda67245f7f69d1552470 Issue introduced in 5.12 with commit dd3c52846d5954acd43f0e771689302f27dadc28 and fixed in 6.18.50 with commit 5697d779577e2786ff3348ae9b77020ac0cf0aab Issue introduced in 5.12 with commit dd3c52846d5954acd43f0e771689302f27dadc28 and fixed in 7.2.4 with commit aac3c5aababc7fb69d5bf5b0cc52d308574e3a8c Issue introduced in 5.12 with commit dd3c52846d5954acd43f0e771689302f27dadc28 and fixed in 7.3-rc1 with commit e2bda39d7f9f285ec803e200b5c1f17143d0b483 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-80951 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/i3c/master/svc-i3c-master.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/f296a0d5907bf88314dfda67245f7f69d1552470 https://git.kernel.org/stable/c/5697d779577e2786ff3348ae9b77020ac0cf0aab https://git.kernel.org/stable/c/aac3c5aababc7fb69d5bf5b0cc52d308574e3a8c https://git.kernel.org/stable/c/e2bda39d7f9f285ec803e200b5c1f17143d0b483