Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U N N H 5.5 .0024 15.5 —
AFFECTED
Product Versions Fixed
Linux 88af8bbe4ef781031ad3370847553f3b42ba0076 – —
Linux 3.10 – 4.19.318
TIMELINE
Jul 30 Reserved by Linux
Aug 7 Published (CNA: Linux)
Aug 4 RESCORED — CVE-2024-42236 (Linux). CVSS 7.8 → 5.5 (NVD).
Description
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') followed closely by an OOB write in the form
`str[0 - 1] = '\0'`.
There is already a validating check to catch strings that are too long.
Let's supply an additional check for invalid strings that are too short.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| July 30, 2024 | Reserved | Reserved by Linux |
| August 7, 2024 | Published | Published (CNA: Linux) |
| August 4, 2026 | RESCORED | RESCORED — CVE-2024-42236 (Linux). CVSS 7.8 → 5.5 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 88af8bbe4ef781031ad3370847553f3b42ba0076 | — |
| Linux | Linux | — | 3.10 | 4.19.318 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-42236 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.