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 80A164398EB for ; Wed, 26 Aug 2026 14:40:25 +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=1787755230; cv=none; b=EedC1334+PTAyaBcdYzsBI414GiZxX4fsDhNQZnPdRayQVkD5uFjTn7kPkftmRIsmx4+N2lMkH5R/5SxNtMEHEcxUfI+/m4ZkSYaDSKOy2DBpHN0Iha6kBzj0/KkiQNjy1PAPxxCL5yfTN/nqSWvIlazAbw8D9lIn6DWD8E6Cfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755230; c=relaxed/simple; bh=sI6O7CQEeQZtRgTKJWIVyqfhnnkyeti5/cO9tACf3VY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ojv9uwK/6rfo4qyklUOzH8CYfLzfiOMyDdQHbOKx1enqvkgjYVDRZNCXzEjLT+QcFspBJ9/CiOIOv8pRJ+XH2lRWJwKIFxoPFWXdqdG3mPx+pDVAHxxucXKvDviYxKMkZFyRxEz3MaToHRWF/hJzh12znYV77pqyaqounJ2LfW8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eDcxV0Oz; 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="eDcxV0Oz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7F711F000E9; Wed, 26 Aug 2026 14:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755224; bh=/tNGa/8uqy54JJBw8qdW7njpf38vZXLMBSvHhdxejwQ=; h=From:To:Cc:Subject:Date:Reply-To; b=eDcxV0Oz7NZimWkpVZkc4TcIgrfvBjAyf9cQXCUG2d/lTP2Mh1Rho8exe5X8JYkrm 9z2xGe25PNz6fbfmkRsExV3jtjQvSHFdeLlIz1KfB1pTuqbvf8pVVMInqSLxkgr7yP fmS0Q7R2KrzlrOF9Rv8FW0vpTRLfq83HMPMJ5HFk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80569: Input: synaptics-rmi4 - bound the F54 report size to the allocated buffer Date: Wed, 26 Aug 2026 16:38:05 +0200 Message-ID: <2026082612-CVE-2026-80569-5c4f@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=4514; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sOmeTUM8aP3zLskFeOogPu8jHSnrRrFQ2exjvAicqu8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9vyTWaTfdfn3w7zFVpXsv2eznBj36vcHTN0blf9cLa TeGTMvjHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRk+8YFhz1UL/Ceq2HsyhX j6/CZGW0rmdEFsOCHZO8l/pFbslMfxH1yt6NS+DK5itMAA== 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: Input: synaptics-rmi4 - bound the F54 report size to the allocated buffer rmi_f54_work() reads a diagnostics report from the device into f54->report_data, sizing the transfer with rmi_f54_get_report_size(): report_size = rmi_f54_get_report_size(f54); ... for (i = 0; i < report_size; i += F54_REPORT_DATA_SIZE) { int size = min(F54_REPORT_DATA_SIZE, report_size - i); ... rmi_read_block(.., f54->report_data + i, size); } report_data is allocated once at probe from F54's own electrode counts (array3_size(f54->num_tx_electrodes, f54->num_rx_electrodes, sizeof(u16))), but rmi_f54_get_report_size() computes the size from drv_data->num_*_electrodes when those are set, i.e. from the F55 function's electrode counts. Both counts come straight from device queries (F54 and F55 each report up to 255 electrodes) and nothing constrains the F55 counts to the F54 ones. A malicious or malfunctioning RMI4 device that reports larger F55 electrode counts than its F54 counts makes report_size exceed the allocation, so the read loop writes past report_data (and the V4L2 dequeue memcpy() then reads past it). On conforming hardware the F55 configured electrodes are a subset of the F54 physical electrodes, so report_size never exceeds the buffer and well-behaved devices are unaffected. Record the allocation size and reject a report that does not fit, mirroring the existing zero-size check. The Linux kernel CVE team has assigned CVE-2026-80569 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 5.10.266 with commit 6b3bdd44d4cd7d5e35de1d0f06d4930f3cecd403 Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 5.15.217 with commit b2f596f00d27703ce09167201ba57f55be8d2f9a Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 6.1.184 with commit b3932101c9c457148038392bc977f9b31e125a86 Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 6.6.153 with commit 12be3c6ca9589afd6ade41a59c761866e526634d Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 6.12.105 with commit 42eaf0e6f79c487f419737314cf0760f7331d368 Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 6.18.46 with commit 6b06aab79ff166d5781ce792d91acc2e58b1770b Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 7.1.10 with commit b7b9a8b1c303b62371698e396654d6724c79cb74 Issue introduced in 4.10 with commit c762cc68b6a12eedebefc156ea4838e54804e2eb and fixed in 7.2 with commit 49c5adc2b7d6e43c5cf033e1c86fdb9c16ababb1 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-80569 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/input/rmi4/rmi_f54.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/6b3bdd44d4cd7d5e35de1d0f06d4930f3cecd403 https://git.kernel.org/stable/c/b2f596f00d27703ce09167201ba57f55be8d2f9a https://git.kernel.org/stable/c/b3932101c9c457148038392bc977f9b31e125a86 https://git.kernel.org/stable/c/12be3c6ca9589afd6ade41a59c761866e526634d https://git.kernel.org/stable/c/42eaf0e6f79c487f419737314cf0760f7331d368 https://git.kernel.org/stable/c/6b06aab79ff166d5781ce792d91acc2e58b1770b https://git.kernel.org/stable/c/b7b9a8b1c303b62371698e396654d6724c79cb74 https://git.kernel.org/stable/c/49c5adc2b7d6e43c5cf033e1c86fdb9c16ababb1