CVE-2024-42158
MEDIUM 4.1CVSS 3.1In 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)
- Published
- 30 Jul 2024
- Last modified
- 30 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-669
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.11, < 6.9.9 | 6.9.9 |
References
- https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694 · Patch
- https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d · Patch
- https://git.kernel.org/stable/c/f2e43af834fcc652b324384f14b561cf610742d4
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 30 Jul 2024)