Bug 2301529 (CVE-2024-42158)

Summary: CVE-2024-42158 kernel: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.9.9, kernel 6.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2302029    
Bug Blocks:    

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]