{"cve":"CVE-2024-42158","nvd":{"published":"2024-07-30T08:15:07.227","modified":"2026-10-30T13:17:32.527","status":"Modified","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/pkey: Use kfree_sensitive() to fix Coccinelle warnings\n\nReplace memzero_explicit() and kfree() with kfree_sensitive() to fix\nwarnings reported by Coccinelle:\n\nWARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1506)\nWARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1643)\nWARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1770)","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.1},"cwes":["CWE-669"],"references":["https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694","https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d","https://git.kernel.org/stable/c/f2e43af834fcc652b324384f14b561cf610742d4","https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694","https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d"],"products":["linux:linux_kernel"],"source":"nvd","synced_at":"2026-10-30T13:47:47.119061695+00:00"},"epss":{"cve":"CVE-2024-42158","score":0.00187,"percentile":0.08372,"date":"2026-10-30"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}