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 484393B19A0 for ; Thu, 28 May 2026 09:45:07 +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=1779961508; cv=none; b=QHiL8ogt/2xbSeerrMGbOOX7NvW3h6AsnQbIXcMzzJSCcge9KRIjj4wYdcBopcl1WhEicQAZ8ltTOYGR4m453jU5ELqRE6CWMFduTwZNaBtdxkbhgNOPfREFLQ8INz+Q4psR/cDbYSmRpFYP3lEs3a6IEoJ+L/WwhmNV3jMq6RQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961508; c=relaxed/simple; bh=YH7OjABgWPgv9nqmcMCP5WHVsi5lGdzV1SK0Gm+Ne14=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cp6PbiZyRpd7txvzD6njREz4ubgs70QPo1MRK+aEbxjofz9ldeS9jN6vSjkikhQqkJbBpNXJDrsl8bnMQ6rc5kv/HIN1Q3HjKJpBcNDTHClWKKrBRpYV7PWuDekOYmtj1+38EXN4e7ybow80bgw7bWFXiCNWfPVReKAIE5R5PlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wd7d+z10; 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="wd7d+z10" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92ADB1F000E9; Thu, 28 May 2026 09:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961507; bh=PSKwVujys7HOEMY06fiQnLdjjMPNQIS+MtQgfFUZVvo=; h=From:To:Cc:Subject:Date:Reply-To; b=wd7d+z10J/E31Dw6aHRh3PXX90okOixh4yAvZ9Bj8MVUZEHWm8GWrBrlqXNsms4fY W3R7F/WcNdDXtVHdQ8LX+qslZYEi3zk1EY5DC07UBdlmrZs0A8AL6angbE308prY3V xOkyzdoVNj4dglr2dYDefzmbMnv9nQ1aG6yyKZ70= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46232: HID: playstation: Clamp num_touch_reports Date: Thu, 28 May 2026 11:41:07 +0200 Message-ID: <2026052839-CVE-2026-46232-58cb@gregkh> X-Mailer: git-send-email 2.54.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=2905; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SAWYw9Z5w/H7vY8dhXCgtsiFU+eQgtRTsnaiA+DfOIo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvDN2ZL8pca5etfZPcFwTyzI+Q53vd00yDs06H6K7S jz/prRORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE8SLDgnXrc48e+zmbt21b cUaIWlKUnVJYJ8Nc+QO5eSul1e7c+tI6zfS14/x9FdfTAA== 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: HID: playstation: Clamp num_touch_reports A device would never lie about the number of touch reports would it? If it does the loop in dualshock4_parse_report will read off the end of the touch_reports array, up to about 2 KiB for the maximum number of 256 loop iteraions. The data that is read is emitted via evdev if the DS4_TOUCH_POINT_INACTIVE bit happens to be set. Protect against this by clamping the num_touch_reports value provided by the device to the maximum size of the touch_reports array. The Linux kernel CVE team has assigned CVE-2026-46232 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 752038248808a7ff176bbdb668f19ae7d2a9816b and fixed in 6.6.140 with commit 0bc4cf1a6ba00fb8c074531b179bc7b97502fbc4 Issue introduced in 6.2 with commit 752038248808a7ff176bbdb668f19ae7d2a9816b and fixed in 6.12.90 with commit 9c031b24aed6733b6dcc5d98527875b8654a04e9 Issue introduced in 6.2 with commit 752038248808a7ff176bbdb668f19ae7d2a9816b and fixed in 6.18.32 with commit 7812694752a5f295eaa05a093b90a2c332666051 Issue introduced in 6.2 with commit 752038248808a7ff176bbdb668f19ae7d2a9816b and fixed in 7.0.9 with commit 208f6d5b1dfd6399bc6af9e11f27f1f496243ed0 Issue introduced in 6.2 with commit 752038248808a7ff176bbdb668f19ae7d2a9816b and fixed in 7.1-rc4 with commit cac61b58a3b6340c52afa06bb15eac033158db2f 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-46232 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/hid/hid-playstation.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/0bc4cf1a6ba00fb8c074531b179bc7b97502fbc4 https://git.kernel.org/stable/c/9c031b24aed6733b6dcc5d98527875b8654a04e9 https://git.kernel.org/stable/c/7812694752a5f295eaa05a093b90a2c332666051 https://git.kernel.org/stable/c/208f6d5b1dfd6399bc6af9e11f27f1f496243ed0 https://git.kernel.org/stable/c/cac61b58a3b6340c52afa06bb15eac033158db2f