VDB

DEBIAN-CVE-2024-42236

DEBIAN-CVE-2024-42236 PUBLISHED CVSS 5.5 MEDIUM

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.

Risk Scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Debian:11linux-6.16.1.112-1, 0, 6.1.106-3
Debian:14linux0, 0
Debian:13linux0, 0
Debian:12linux6.1.67-1, 6.1.69-1, 6.1.69-1
Debian:11linux5.10.197-1, 5.10.205-1, 5.10.205-2

Timeline

  • Aug 7, 2024 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›