# CVE-2023-53840: usb: early: xhci-dbc: Fix a potential out-of-bound memory access

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-12-09T01:29:56.848Z
- Modified: 2026-06-17T06:46:09.820Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 before e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0; from aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 before 351c8d8650d1ccc006255fa01f98b6c6496a02e5; from aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 before df7c8aba7309f4dc55df94e06b67f576c0f52406; from aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 before a4a97ab3db5c081eb6e7dba91306adefb461e0bd; 4.12 (not affected: before 4.12; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0>
- <https://git.kernel.org/stable/c/351c8d8650d1ccc006255fa01f98b6c6496a02e5>
- <https://git.kernel.org/stable/c/df7c8aba7309f4dc55df94e06b67f576c0f52406>
- <https://git.kernel.org/stable/c/a4a97ab3db5c081eb6e7dba91306adefb461e0bd>

## Sources

- CVE List: [CVE-2023-53840](https://www.cve.org/CVERecord?id=CVE-2023-53840), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53840](https://nvd.nist.gov/vuln/detail/CVE-2023-53840), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53840 · Whole record: https://cve.day/CVE-2023-53840.json · Rebuilt by cve.day 2026-11-25T22:58:35.074Z
