Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 66FD52E092E for ; Tue, 30 Dec 2025 12:14:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096889; cv=none; b=iZua/t3DzCC2iPzFumIrzPlLjt8BeJXSCt942TLezfa0x/PSK/lX2UMGgBDLw+Q1W3/w5+Cfqzm0YitRBOF4NoPPxR+rUivNUM66OmuP9iVdtEpPIEDrfD5+rH0Ty2OvOGX1zkvdlaHfPdCRBr3XVqhr67uVVRC9z05P019D0x8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096889; c=relaxed/simple; bh=6prLMFQlZSkFBz8Fg3YsZ+1izpusLjRv5M80MTjr+D8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JZ7/yVKKsMuYT//EJAJQ6VokJM5m0BjMv9IAw7T5Q/aU6Nv4nVb8l+ShTerAJ91QrZ7EcUU+N328mpvrwadf1M4rB+QItHz3MXEdDPhWCiFInoKb91B/DW23/B/EhmaW95fj0y0BBsfi4mnJirS10sD1uFfEwExNrD/vPOmFzEw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lZSAb3/T; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lZSAb3/T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0E44C4CEFB; Tue, 30 Dec 2025 12:14:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096889; bh=6prLMFQlZSkFBz8Fg3YsZ+1izpusLjRv5M80MTjr+D8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=lZSAb3/TrSvBDfrd2nE/Uf77RL889QIcBCJLuouxZsPk0Hv03vLLMITy5AROfi1Av ylilOKlqFgP+ZWvMy6cOp/eAwBXmqP0rqVQP8x2Ey2utMtMAwMXoggiZdSlZWsZ6Vv aW8ilcIj11Y50wkzPwy2ogI/Ua/aP0CCT2BkQIXw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54213: USB: sisusbvga: Add endpoint checks Date: Tue, 30 Dec 2025 13:13:43 +0100 Message-ID: <2025123024-CVE-2023-54213-098b@gregkh> X-Mailer: git-send-email 2.52.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=4673; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EE2wfcZf3zOL9+deAbX3imu681vTXGFSAqjG9v8n9f0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB596q5Slvlik4Tk3OlllFovdxzcN2ptEFk+Pv/yJ1 4qz9gVrRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk8CTD/JLzS9cm3vVmulNv 9WaqEW+EyqJrggwLWu/WBxquXdsqaSzP/8u0Pdk1PU8AAA== 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: sisusbvga: Add endpoint checks The syzbot fuzzer was able to provoke a WARNING from the sisusbvga driver: ------------[ cut here ]------------ usb 1-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 1 PID: 26 at drivers/usb/core/urb.c:504 usb_submit_urb+0xed6/0x1880 drivers/usb/core/urb.c:504 Modules linked in: CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.2.0-rc5-syzkaller-00199-g5af6ce704936 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:usb_submit_urb+0xed6/0x1880 drivers/usb/core/urb.c:504 Code: 7c 24 18 e8 6c 50 80 fb 48 8b 7c 24 18 e8 62 1a 01 ff 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 60 b1 fa 8a e8 84 b0 be 03 <0f> 0b e9 58 f8 ff ff e8 3e 50 80 fb 48 81 c5 c0 05 00 00 e9 84 f7 RSP: 0018:ffffc90000a1ed18 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888012783a80 RSI: ffffffff816680ec RDI: fffff52000143d95 RBP: ffff888079020000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000003 R13: ffff888017d33370 R14: 0000000000000003 R15: ffff888021213600 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005592753a60b0 CR3: 0000000022899000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sisusb_bulkout_msg drivers/usb/misc/sisusbvga/sisusbvga.c:224 [inline] sisusb_send_bulk_msg.constprop.0+0x904/0x1230 drivers/usb/misc/sisusbvga/sisusbvga.c:379 sisusb_send_bridge_packet drivers/usb/misc/sisusbvga/sisusbvga.c:567 [inline] sisusb_do_init_gfxdevice drivers/usb/misc/sisusbvga/sisusbvga.c:2077 [inline] sisusb_init_gfxdevice+0x87b/0x4000 drivers/usb/misc/sisusbvga/sisusbvga.c:2177 sisusb_probe+0x9cd/0xbe2 drivers/usb/misc/sisusbvga/sisusbvga.c:2869 ... The problem was caused by the fact that the driver does not check whether the endpoints it uses are actually present and have the appropriate types. This can be fixed by adding a simple check of the endpoints. The Linux kernel CVE team has assigned CVE-2023-54213 to this issue. Affected and fixed versions =========================== Fixed in 4.14.316 with commit bccb2ccb65515dc66a8001f99f4dcba8a45987f9 Fixed in 4.19.284 with commit a8f980ecb0112100366c64e0404d9dd1dcbd2fcd Fixed in 5.4.244 with commit a730feb672c7d7c5f7414c3715f8e3fa844e5a9b Fixed in 5.10.181 with commit ccef03c5113506d27dd6530d3a9ef5715c068e13 Fixed in 5.15.114 with commit 43f569fd0699c4240a5c96e5ba1a0844a595afca Fixed in 6.1.31 with commit d5dba4b7bf904143702fb4be641802ee2e9c95aa Fixed in 6.3.5 with commit 0f9028b6ffaa98bff7c479cccf2558247e295534 Fixed in 6.4 with commit df05a9b05e466a46725564528b277d0c570d0104 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-2023-54213 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/misc/sisusbvga/sisusbvga.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/bccb2ccb65515dc66a8001f99f4dcba8a45987f9 https://git.kernel.org/stable/c/a8f980ecb0112100366c64e0404d9dd1dcbd2fcd https://git.kernel.org/stable/c/a730feb672c7d7c5f7414c3715f8e3fa844e5a9b https://git.kernel.org/stable/c/ccef03c5113506d27dd6530d3a9ef5715c068e13 https://git.kernel.org/stable/c/43f569fd0699c4240a5c96e5ba1a0844a595afca https://git.kernel.org/stable/c/d5dba4b7bf904143702fb4be641802ee2e9c95aa https://git.kernel.org/stable/c/0f9028b6ffaa98bff7c479cccf2558247e295534 https://git.kernel.org/stable/c/df05a9b05e466a46725564528b277d0c570d0104