CVE-2024-42158: linux
Vulnerability summary
CVE-2024-42158 is a medium (CVSS 4.1) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 7.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 28 · Related 28Timeline
- 30-07-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings Replace memzero_explicit() and kfree() with kfree_sensitive() to fix warnings reported by Coccinelle: WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1506) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1643) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1770)
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
0.00 pp
From 0.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu117 products
- linux< 5.15.0-127.137 | < 6.8.0-48.48
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1073.79 | < 6.8.0-1018.20
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 62151a0acde90823bdfa991d598c85cf4b1d387d | ≥ e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 22e6824622e8a8889df0f8fc4ed5aea0e702a694 | 4.11
- linux_kernel≥ 4.11, < 6.9.9
Debian1 product
- linuxAll versions (No fix recorded) | < 6.9.9-1
3 vendors · 120 products