Bug 2301529 (CVE-2024-42158) - CVE-2024-42158 kernel: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings
Summary: CVE-2024-42158 kernel: s390/pkey: Use kfree_sensitive() to fix Coccinelle war...
Keywords:
Status: NEW
Alias: CVE-2024-42158
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2302029
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:50 UTC by OSIDB Bzimport
Modified: 2024-08-14 05:38 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.9, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:50:42 UTC
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)

Comment 1 Mauro Matteo Cascella 2024-07-31 11:22:27 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073035-CVE-2024-42158-3d50@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-31 11:22:49 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2302029]


Note You need to log in before you can comment on or make changes to this bug.