CVEvulnerability
CVE-2024-42158
4.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-07-30
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 4.1 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-669
Description
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)
Affected configurations
• linux linux kernel (>= 4.11 < 6.9.9)
Related
Weakness · CWE (1)
- CWE-669 Incorrect Resource Transfer Between Spheres weakness
References
- https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694 Patch
- https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d Patch
- https://git.kernel.org/stable/c/22e6824622e8a8889df0f8fc4ed5aea0e702a694 Patch
- https://git.kernel.org/stable/c/62151a0acde90823bdfa991d598c85cf4b1d387d Patch