Bug 2420348 (CVE-2023-53840) - CVE-2023-53840 kernel: usb: early: xhci-dbc: Fix a potential out-of-bound memory access
Summary: CVE-2023-53840 kernel: usb: early: xhci-dbc: Fix a potential out-of-bound mem...
Keywords:
Status: NEW
Alias: CVE-2023-53840
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-09 02:04 UTC by OSIDB Bzimport
Modified: 2025-12-16 15:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-09 02:04:43 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: early: xhci-dbc: Fix a potential out-of-bound memory access

If xdbc_bulk_write() fails, the values in 'buf' can be anything. So the
string is not guaranteed to be NULL terminated when xdbc_trace() is called.

Reserve an extra byte, which will be zeroed automatically because 'buf' is
a static variable, in order to avoid troubles, should it happen.


Note You need to log in before you can comment on or make changes to this bug.