Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-54277

fbdev: udlfb: Fix endpoint check

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f6db63819db632158647d5bbf4d7d2d90dc1a268 to < 1522dc58bff87af79461b96d90ec122e9e726004affected
  • c4fb41bdf4d6ccca850c4af5d707d14a0fb717a7 to < 58ecc165abdaed85447455e6dc396758e8c6f219affected
  • 4df1584738f1dc6f0dd854d258bba48591f1ed0e to < 9e12c58a5ece41be72157cef348576b135c9fc72affected
  • aaf7dbe07385e0b8deb7237eca2a79926bbc7091 to < c8fdf7feca77cd99e25ef0a1e9e72dfc83add8efaffected
  • aaf7dbe07385e0b8deb7237eca2a79926bbc7091 to < e19383e5dee5adbf3d19f3f210f440a88d1b7ddeaffected
  • aaf7dbe07385e0b8deb7237eca2a79926bbc7091 to < ed9de4ed39875706607fb08118a58344ae6c5f42affected
  • 895ea8a290ba87850bcaf2ecfcddef75a014fa54affected
  • 5.4.192 to < 5.4.244affected
  • 5.10.114 to < 5.10.181affected
  • 5.15.38 to < 5.15.114affected
  • 5.17.6 to < 5.18affected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 5.4.244 to ≤ 5.4.*unaffected
  • 5.10.181 to ≤ 5.10.*unaffected
  • 5.15.114 to ≤ 5.15.*unaffected
  • 6.1.31 to ≤ 6.1.*unaffected
  • 6.3.5 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References