4.1

CVE-2024-42158: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings

Modified
AliasesUBUNTU-CVE-2024-42158DEBIAN-CVE-2024-42158
Published 30-07-2024Last modified 30-10-2026

Vulnerability summary

CVE-2024-42158 is a medium (CVSS 4.1) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 28 · Related 28

Timeline

  1. 30-07-2024
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last 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

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu118 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, < f2e43af834fcc652b324384f14b561cf610742d4 | ≥ 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 · 121 products

References

24 links
Show all 24 references