CVE-2023-53840

Source
https://cve.org/CVERecord?id=CVE-2023-53840
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53840.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53840
Downstream
Related
Published
2025-12-09T01:29:56.848Z
Modified
2026-03-20T12:33:22.436119Z
Summary
usb: early: xhci-dbc: Fix a potential out-of-bound memory access
Details

In the Linux kernel, the following vulnerability has been resolved:

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

If xdbcbulkwrite() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53840.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0
Fixed
e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0
Fixed
351c8d8650d1ccc006255fa01f98b6c6496a02e5
Fixed
df7c8aba7309f4dc55df94e06b67f576c0f52406
Fixed
a4a97ab3db5c081eb6e7dba91306adefb461e0bd

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53840.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
5.15.99
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.16
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53840.json"