{"id":"CVE-2024-42158","published":"2024-07-30T07:47:00Z","modified":"2026-10-30T12:18:57Z","title":"s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00286,"percentile":0.13822,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f2e43af834fcc652b324384f14b561cf610742d4","tags":[]},{"url":"https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d","tags":[]},{"url":"https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694","tags":[]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":2.76}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < f2e43af834fcc652b324384f14b561cf610742d4",">= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 62151a0acde90823bdfa991d598c85cf4b1d387d",">= e80d4af0a320972aac58e2004d0ba4e44ef4c5c7, < 22e6824622e8a8889df0f8fc4ed5aea0e702a694"]},{"vendor":"Linux","product":"Linux","versions":["4.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:15:02.030879Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39989","exploited":false,"provenance":"source"}}