CVE-2024-36931: s390/cio: Ensure the copied buf is NUL terminated
Vulnerability summary
CVE-2024-36931 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15.2% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 24 · Related 22Timeline
- 30-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: s390/cio: Ensure the copied buf is NUL terminated Currently, we allocate a lbuf-sized kernel buffer and copy lbuf from userspace to that buffer. Later, we use scanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using scanf. Fix this issue by using memdup_user_nul instead.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu117 products
- linux< 5.15.0-118.128 | < 6.8.0-40.40
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1067.73 | < 6.8.0-1013.14
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < c9d48ce163305595ae20aee27774192476d5e6a5 | ≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < 10452edd175fcc4fd0f5ac782ed2a002e3e5d65c | ≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < 84b38f48836662c4bfae646c014f4e981e16a2b2 | ≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < 06759ebaf75c19c87b2453a5e130e9e61e9b5d65 | ≥ a4f17cc726712a52122ad38540bc3ff3a052d1a4, < da7c622cddd4fe36be69ca61e8c42e43cde94784 | 5.13
- linux_kernel≥ 5.13, < 5.15.159 | ≥ 5.16, < 6.1.91 | ≥ 6.2, < 6.6.31 | ≥ 6.7, < 6.8.10 | 6.9:rc1 | 6.9:rc2 | 6.9:rc3 | 6.9:rc4 | 6.9:rc5 | 6.9:rc6
Debian1 product
- linux< 6.1.94-1 | < 6.8.11-1
3 vendors · 120 products