VulnerabilityCVE-2024-42236UBUNTU-CVE-2024-42236WID-SEC-W-2024-1788:CVE-2024-42236WID-SEC-W-2025-0612:CVE-2024-42236
usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
Not on CISA KEV
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() Userspace provided string 's' could trivially have the length zero. Left unchecked this will firstly result in an OOB read in the form `if (str[0 - 1] == '\n')
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- BSI CERT-Bund Source: BSI CERT-Bund
- CVE List Source: CVE Program (cve.org)
- Ubuntu Source: Ubuntu