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 9DFEF2EC559 for ; Tue, 30 Dec 2025 12:22:59 +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=1767097379; cv=none; b=ieP0cDhlj5Q+AmQscqRv5Pn7HSLr2irpULtviVrTrtOKWxvLA0w0iblDavZkFCq2++AMDvgSJFFZ2MGrrr3KMugZWwG45lGQlBwBOAW/ApJWGfP/DlD5UQzNoKkM9+Q25tEH+0TsJdUIkLIukzxzg/76Te9AD1WuMCM+kcsE6uQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097379; c=relaxed/simple; bh=IeR+FxoCjS3M59b3tvgLy+BynfAnNZiDWZk4gv4vFeQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uB06f5e7JqlmEkYLEs4zCWCsBukuFMGxWtCViXBb0PW2PoSEIlUqp5ZqiuaaHn/Eu3cxYrjIKynOR4yM0Z4SIeMG5+KQ8gj2sgLrzUWHQh1FC9ayTNujmVyoVMNmnNAyOfJLtY/wXKEzmLOokX/ueayWC6cRKAeon72Eo/9+3To= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yf4XMjSw; 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="yf4XMjSw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29E49C4CEFB; Tue, 30 Dec 2025 12:22:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097379; bh=IeR+FxoCjS3M59b3tvgLy+BynfAnNZiDWZk4gv4vFeQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=yf4XMjSwtRx01WPi1+J4DOsiVZKogFBhRe48kyVxLXUH5/NM4sL19+nfgrxxVyOmo HAl13qaHwxYQjX518kDhosCYCUVt4Db0Tidp5hoe9YJ2cSDffTM/1d0TUYdAlbun2s Dubdr8c6D2yCb4G1AQMGliSwOAtes3yaoF3aVLgc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54277: fbdev: udlfb: Fix endpoint check Date: Tue, 30 Dec 2025 13:20:43 +0100 Message-ID: <2025123002-CVE-2023-54277-0970@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=4064; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2ylxghP0eUDLHmvCmPDHLvlCQXONAlcXHcjOVSjvfKY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBh4tl/D5/2Fn9mkU1tem7ejyH6ZQ1XjPucDjILDq37 esJi6UMHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR9rcM810nn8q+ZTjzR3qa hmCKbGTEvEdRBgzzo2/pRskabyqSFUjjaz59+8UPpQ/rAA== 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: fbdev: udlfb: Fix endpoint check The syzbot fuzzer detected a problem in the udlfb driver, caused by an endpoint not having the expected type: usb 1-1: Read EDID byte 0 failed: -71 usb 1-1: Unable to get valid EDID from device/display ------------[ cut here ]------------ usb 1-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 0 PID: 9 at drivers/usb/core/urb.c:504 usb_submit_urb+0xed6/0x1880 drivers/usb/core/urb.c:504 Modules linked in: CPU: 0 PID: 9 Comm: kworker/0:1 Not tainted 6.4.0-rc1-syzkaller-00016-ga4422ff22142 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:usb_submit_urb+0xed6/0x1880 drivers/usb/core/urb.c:504 ... Call Trace: dlfb_submit_urb+0x92/0x180 drivers/video/fbdev/udlfb.c:1980 dlfb_set_video_mode+0x21f0/0x2950 drivers/video/fbdev/udlfb.c:315 dlfb_ops_set_par+0x2a7/0x8d0 drivers/video/fbdev/udlfb.c:1111 dlfb_usb_probe+0x149a/0x2710 drivers/video/fbdev/udlfb.c:1743 The current approach for this issue failed to catch the problem because it only checks for the existence of a bulk-OUT endpoint; it doesn't check whether this endpoint is the one that the driver will actually use. We can fix the problem by instead checking that the endpoint used by the driver does exist and is bulk-OUT. The Linux kernel CVE team has assigned CVE-2023-54277 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4.192 with commit f6db63819db632158647d5bbf4d7d2d90dc1a268 and fixed in 5.4.244 with commit 1522dc58bff87af79461b96d90ec122e9e726004 Issue introduced in 5.10.114 with commit c4fb41bdf4d6ccca850c4af5d707d14a0fb717a7 and fixed in 5.10.181 with commit 58ecc165abdaed85447455e6dc396758e8c6f219 Issue introduced in 5.15.38 with commit 4df1584738f1dc6f0dd854d258bba48591f1ed0e and fixed in 5.15.114 with commit 9e12c58a5ece41be72157cef348576b135c9fc72 Issue introduced in 5.18 with commit aaf7dbe07385e0b8deb7237eca2a79926bbc7091 and fixed in 6.1.31 with commit c8fdf7feca77cd99e25ef0a1e9e72dfc83add8ef Issue introduced in 5.18 with commit aaf7dbe07385e0b8deb7237eca2a79926bbc7091 and fixed in 6.3.5 with commit e19383e5dee5adbf3d19f3f210f440a88d1b7dde Issue introduced in 5.18 with commit aaf7dbe07385e0b8deb7237eca2a79926bbc7091 and fixed in 6.4 with commit ed9de4ed39875706607fb08118a58344ae6c5f42 Issue introduced in 5.17.6 with commit 895ea8a290ba87850bcaf2ecfcddef75a014fa54 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-54277 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/video/fbdev/udlfb.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/1522dc58bff87af79461b96d90ec122e9e726004 https://git.kernel.org/stable/c/58ecc165abdaed85447455e6dc396758e8c6f219 https://git.kernel.org/stable/c/9e12c58a5ece41be72157cef348576b135c9fc72 https://git.kernel.org/stable/c/c8fdf7feca77cd99e25ef0a1e9e72dfc83add8ef https://git.kernel.org/stable/c/e19383e5dee5adbf3d19f3f210f440a88d1b7dde https://git.kernel.org/stable/c/ed9de4ed39875706607fb08118a58344ae6c5f42