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 1BD65383C65 for ; Thu, 25 Jun 2026 08:46:13 +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=1782377174; cv=none; b=ZntXZUhZQDpQJ8JQOQHAtQlk4uPde5QTdsCCz485pLxawUPaGLzsHWYGO0CYquIr43BuInkaxrlahpoMwmmB1bnyChD7BK7oCKxGoybxPbwQadkPyxYRtSnBK8UW0rEnnt//VHAeQdLy0sfGGt6fRux1vMX3QCrJxVGPfPCDUUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377174; c=relaxed/simple; bh=9vzlbOVRSry2Y0J6InJrMj/0crvIPo9GOoLJe1+1168=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pLEHezMLIV2ep6rWJBOsJ+Rl9IxMBeEzghF2pnE1UJAW0dRRpYpdRsqkNSsAOW++pxmsre1n0zg4Nx5ftQHLdOJ6gR4kWxRkyDCyYYXmwvhmaInEyMbelvEMOquvtqvQb4VYi/kzQ0p1oJ+SukxIjJKVOMUcoBxJTcU+NeUEdKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Vie7Nd3+; 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="Vie7Nd3+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6028F1F000E9; Thu, 25 Jun 2026 08:46:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377173; bh=HrZr2wyI1IYMKLtCpdOqCNMxeeKVZMY2QTVmtYY4uvk=; h=From:To:Cc:Subject:Date:Reply-To; b=Vie7Nd3+mWGYUyfA+weDKaQum1B9J6BCSbr53P3O51cC5JKRIiQzlOLUFO+5PZJDT nNVuLwu9AT4utYFPB3Mlal4BCYu1EnrwMVEzR2z0L2BdmvXE2f5a5CNsMQ8cuSPvhI AAJvqijgpyZZaQuOURiNd5rKd1mc/6+BZrXUUZRA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53195: USB: serial: io_ti: fix heap overflow in build_i2c_fw_hdr() Date: Thu, 25 Jun 2026 09:40:43 +0100 Message-ID: <2026062559-CVE-2026-53195-5300@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=3700; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qNoWi6/SIkkQQThM0xgCdigPVuT8R+dRk2WwcKJlfng=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L+MfnP/7Z3vFv6txnfNmfXY0nSb4y8rggHdef8TFy 76HO97O64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJvNdlWLDF4se9zbvnXDn8 K23fxk1Trp0xb97KsGD7Jq7aTResLl+KVfy1UTh8yhatv64A 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: USB: serial: io_ti: fix heap overflow in build_i2c_fw_hdr() build_i2c_fw_hdr() allocates a fixed-size buffer of (16*1024 - 512) + sizeof(struct ti_i2c_firmware_rec) bytes, then copies le16_to_cpu(img_header->Length) bytes into it without validating that Length fits within the available space after the firmware record header. img_header->Length is a __le16 from the firmware file and can be up to 65535. check_fw_sanity() validates the total firmware size but not img_header->Length specifically. Fix by rejecting images where img_header->Length exceeds the available destination space. The Linux kernel CVE team has assigned CVE-2026-53195 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.259 with commit 3e187152f44d76d7633a3855ffd0099e1588b82a Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.210 with commit b7faf660eefa2047ebc2959ff76da2b6eae2e9e3 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.176 with commit 2fd64bf0ad66ab5de0c73524591d879427ba5aba Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.143 with commit 4cb722747ed25971f35cc47ce5c0e79d7f717713 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.94 with commit 130d6567eb148040eed1b73e1414ad6c27d22bd5 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.36 with commit 294692d3296eee3391c348d7ea6401916d27806c Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0.13 with commit 5a79b634ee58786ca627268daefa7744f2af2e14 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1 with commit 0fd2b00b2d3d05e3eaa13342b3dfb0fa85c226ae 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-53195 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/usb/serial/io_ti.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/3e187152f44d76d7633a3855ffd0099e1588b82a https://git.kernel.org/stable/c/b7faf660eefa2047ebc2959ff76da2b6eae2e9e3 https://git.kernel.org/stable/c/2fd64bf0ad66ab5de0c73524591d879427ba5aba https://git.kernel.org/stable/c/4cb722747ed25971f35cc47ce5c0e79d7f717713 https://git.kernel.org/stable/c/130d6567eb148040eed1b73e1414ad6c27d22bd5 https://git.kernel.org/stable/c/294692d3296eee3391c348d7ea6401916d27806c https://git.kernel.org/stable/c/5a79b634ee58786ca627268daefa7744f2af2e14 https://git.kernel.org/stable/c/0fd2b00b2d3d05e3eaa13342b3dfb0fa85c226ae