Bug 2301528 (CVE-2024-42157)

Summary: CVE-2024-42157 kernel: s390/pkey: Wipe sensitive data on failure
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.19.318, kernel 5.4.280, kernel 5.10.222, kernel 5.15.163, kernel 6.1.98, kernel 6.6.39, kernel 6.9.9, kernel 6.10 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's s390 crypto driver, where improper secret management can lead to a situation where sensitive key material is not wiped from the stack when the copy_to_user() function fails. This could lead to sensitive information disclosure.
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: 2302027    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-30 08:50:30 UTC
In the Linux kernel, the following vulnerability has been resolved:

s390/pkey: Wipe sensitive data on failure

Wipe sensitive data from stack also if the copy_to_user() fails.

Comment 1 Mauro Matteo Cascella 2024-07-31 11:20:38 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073035-CVE-2024-42157-ca67@gregkh/T

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

Affects: fedora-all [bug 2302027]