{"id":"CVE-2023-53840","summary":"usb: early: xhci-dbc: Fix a potential out-of-bound memory access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: early: xhci-dbc: Fix a potential out-of-bound memory access\n\nIf xdbc_bulk_write() fails, the values in 'buf' can be anything. So the\nstring is not guaranteed to be NULL terminated when xdbc_trace() is called.\n\nReserve an extra byte, which will be zeroed automatically because 'buf' is\na static variable, in order to avoid troubles, should it happen.","modified":"2026-03-20T12:33:22.436119Z","published":"2025-12-09T01:29:56.848Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53840.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/351c8d8650d1ccc006255fa01f98b6c6496a02e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4a97ab3db5c081eb6e7dba91306adefb461e0bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df7c8aba7309f4dc55df94e06b67f576c0f52406"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53840.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53840"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}