CVE-2023-53840

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

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 to before e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0Affected
  • aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 to before 351c8d8650d1ccc006255fa01f98b6c6496a02e5Affected
  • aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 to before df7c8aba7309f4dc55df94e06b67f576c0f52406Affected
  • aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 to before a4a97ab3db5c081eb6e7dba91306adefb461e0bdAffected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.15.99 through 5.15.*Not affected
  • 6.1.16 through 6.1.*Not affected
  • 6.2.3 through 6.2.*Not affected
  • 6.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.