CVE-2024-42158
mediumIn the Linux kernel, the following vulnerability has been resolved: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings Replace memzero_explicit() an…
Vendor / product: Linux — linux kernel
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
4.1
4.1 (CVSS v3.1)
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2024-07-30 08:15
Modified: 2026-10-30 13:17
NVD status: Modified
Last synced 3 days ago
Verified against the source API 2026-10-30 13:38 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
linux / linux_kernel ≥4.11 <6.9.9
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Patch / mitigation: https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694
Patch / mitigation: https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d
Patch / mitigation: https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694
Patch / mitigation: https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d
References
- https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/f2e43af834fcc652b324384f14b561cf610742d4 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694 af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d af854a3a-2127-422b-91ae-364da2661108
Data sources
NVD CVE API 2.0 — fetched 2026-10-30 13:38 UTC · record ↗
