{"id":"CVE-2023-53840","aliases":["CVE-2023-53840"],"related":[],"kind":"vulnerability","state":"published","title":"usb: early: xhci-dbc: Fix a potential out-of-bound memory access","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-12-09T01:29:56.848Z","modified":"2026-06-17T06:46:09.820Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0","fixed":"e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0","status":"affected"},{"type":"git","introduced":"aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0","fixed":"351c8d8650d1ccc006255fa01f98b6c6496a02e5","status":"affected"},{"type":"git","introduced":"aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0","fixed":"df7c8aba7309f4dc55df94e06b67f576c0f52406","status":"affected"},{"type":"git","introduced":"aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0","fixed":"a4a97ab3db5c081eb6e7dba91306adefb461e0bd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.15.99","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.16","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.3","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/351c8d8650d1ccc006255fa01f98b6c6496a02e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df7c8aba7309f4dc55df94e06b67f576c0f52406","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4a97ab3db5c081eb6e7dba91306adefb461e0bd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53840","url":"https://www.cve.org/CVERecord?id=CVE-2023-53840","licence":"CVE Terms of Use","modified":"2026-05-11T19:52:32.046Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53840","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53840","licence":"Public domain","modified":"2026-06-17T06:46:09.820Z"}],"updatedAt":"2026-11-25T22:58:35.074Z","epss":{"score":0.00264,"percentile":0.19561,"date":"2026-12-01T12:00:22.000Z"}}