{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-42158","id":"CVE-2024-42158","title":"s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings","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","descriptionLong":"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)","published":"2024-07-30T07:47:00.343Z","updated":"2026-11-01T02:30:44.200732459Z","reserved":"2024-07-29T15:50:41.195Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","lessThan":"f2e43af834fcc652b324384f14b561cf610742d4","status":"affected","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","lessThan":"62151a0acde90823bdfa991d598c85cf4b1d387d","status":"affected","versionType":"git"},{"version":"e80d4af0a320972aac58e2004d0ba4e44ef4c5c7","lessThan":"22e6824622e8a8889df0f8fc4ed5aea0e702a694","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","lessThan":"4.11","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.9.9","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-669"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f2e43af834fcc652b324384f14b561cf610742d4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42158.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42158","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00214,"epssPercentile":0.11861,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-42158","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42158","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-42158","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-42158","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}