CVE-2024-42158s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings
- 4.1MediumCVSS base score
- 0.21%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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)
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.21% · top 88% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.1.
Affected products
- affected e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 – < f2e43af834fcc652b324384f14b561cf610742d4
- affected e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 – < 62151a0acde90823bdfa991d598c85cf4b1d387d
- affected e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 – < 22e6824622e8a8889df0f8fc4ed5aea0e702a694
- affected 4.11
- unaffected < 4.11
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.9.9 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References3
- https://git.kernel.org/stable/c/f2e43af834fcc652b324384f14b561cf610742d4 (opens in a new tab)
- https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-39989 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-42158)Record last updated .