CVE-2023-53840
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.
Affected versions
Linux kernel versions
4.12
and later are affected. Fixed in
5.15.99,
6.1.16,
6.2.3,
6.3
and their respective stable series.
References
The following references provide additional information about CVE-2023-53840 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/351c8d8650d1ccc006255fa01f98b6c6496a02e5
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a4a97ab3db5c081eb6e7dba91306adefb461e0bd
-
PatchKernel patch commithttps://git.kernel.org/stable/c/df7c8aba7309f4dc55df94e06b67f576c0f52406
Frequently asked questions
-
What is CVE-2023-53840?
CVE-2023-53840 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.12 onward and has been patched in 5.15.99, 6.1.16, 6.2.3 and others. CVE-2023-53840 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-53840?
Yes — CVE-2023-53840 has been patched. Fixed versions include 5.15.99, 6.1.16, 6.2.3 and others. If you are running Linux kernel 4.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53840 actively exploited?
No — CVE-2023-53840 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.