CVE-2023-54277
fbdev: udlfb: Fix endpoint check
Check your servers for CVE-2023-54277
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54277 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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: <TASK> 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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f6db63819db632158647d5bbf4d7d2d90dc1a268, before 1522dc58bff87af79461b96d90ec122e9e726004 affected from c4fb41bdf4d6ccca850c4af5d707d14a0fb717a7, before 58ecc165abdaed85447455e6dc396758e8c6f219 affected from 4df1584738f1dc6f0dd854d258bba48591f1ed0e, before 9e12c58a5ece41be72157cef348576b135c9fc72 affected from aaf7dbe07385e0b8deb7237eca2a79926bbc7091, before c8fdf7feca77cd99e25ef0a1e9e72dfc83add8ef affected from aaf7dbe07385e0b8deb7237eca2a79926bbc7091, before e19383e5dee5adbf3d19f3f210f440a88d1b7dde affected from aaf7dbe07385e0b8deb7237eca2a79926bbc7091, before ed9de4ed39875706607fb08118a58344ae6c5f42 affected 895ea8a290ba87850bcaf2ecfcddef75a014fa54 affected from 5.4.192, before 5.4.244 affected from 5.10.114, before 5.10.181 affected from 5.15.38, before 5.15.114 affected from 5.17.6, before 5.18
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 unaffected from 5.4.244 up to and including 5.4.* unaffected from 5.10.181 up to and including 5.10.* unaffected from 5.15.114 up to and including 5.15.* unaffected from 6.1.31 up to and including 6.1.* unaffected from 6.3.5 up to and including 6.3.* unaffected 6.4 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54277 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54277
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54277
trivy image --scanners vuln IMAGE | grep CVE-2023-54277
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/1522dc58bff87af79461b96d90ec122e9e726004 git.kernel.org
- https://git.kernel.org/stable/c/58ecc165abdaed85447455e6dc396758e8c6f219 git.kernel.org
- https://git.kernel.org/stable/c/9e12c58a5ece41be72157cef348576b135c9fc72 git.kernel.org
- https://git.kernel.org/stable/c/c8fdf7feca77cd99e25ef0a1e9e72dfc83add8ef git.kernel.org
- https://git.kernel.org/stable/c/e19383e5dee5adbf3d19f3f210f440a88d1b7dde git.kernel.org
- https://git.kernel.org/stable/c/ed9de4ed39875706607fb08118a58344ae6c5f42 git.kernel.org
Source: the record CVE-2023-54277 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse