7.8

CVE-2024-42236: linux Out-of-bounds Write

CVSS: 7.8v3.1HighModified
AliasesUBUNTU-CVE-2024-42236DEBIAN-CVE-2024-42236
Published 07-08-2024Last modified 05-08-2026

Vulnerability summary

CVE-2024-42236 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 14.2% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 35 · Related 33

Timeline

  1. 07-08-2024
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

0.00 pp

From 0.24% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.24%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu129 products
  • linuxAll versions (No fix recorded) | < 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-48.48
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1018.20
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < a444c3fc264119801575ab086e03fb4952f23fd0 | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < c95fbdde87e39e5e0ae27f28bf6711edfb985caa | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < e8474a10c535e6a2024c3b06e37e4a3a23beb490 | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < 72b8ee0d9826e8ed00e0bdfce3e46b98419b37ce | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < 2d16f63d8030903e5031853e79d731ee5d474e70 | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < d1205033e912f9332c1dbefa812e6ceb0575ce0a | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < eecfefad0953b2f31aaefa058f7f348ff39c4bba | ≥ 88af8bbe4ef781031ad3370847553f3b42ba0076, < 6d3c721e686ea6c59e18289b400cc95c76e927e0 | 3.10
  • linux_kernel< 4.19.318 | ≥ 4.20, < 5.4.280 | ≥ 5.5, < 5.10.222 | ≥ 5.11, < 5.15.163 | ≥ 5.16, < 6.1.100 | ≥ 6.2, < 6.6.41 | ≥ 6.7, < 6.9.10
Debian1 product
  • linux< 6.1.106-1 | < 6.9.10-1

3 vendors · 132 products

References

36 links
Show all 36 references