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

CVE-2023-53840
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 16 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 < e8fb0f13e45cf361fd06593d3cb2d89915cd3bd0 ; affected aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 < 351c8d8650d1ccc006255fa01f98b6c6496a02e5 ; affected aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 < df7c8aba7309f4dc55df94e06b67f576c0f52406 ; affected aeb9dd1de98c1a5f2007ea5d2a154c1244caf8a0 < a4a97ab3db5c081eb6e7dba91306adefb461e0bd
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 5.15.99 ≤ 5.15.* ; unaffected 6.1.16 ≤ 6.1.* ; unaffected 6.2.3 ≤ 6.2.* ; unaffected 6.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD