Bug 2300387 (CVE-2024-41029)

Summary: CVE-2024-41029 kernel: nvmem: core: limit cell sysfs permissions to main attribute ones
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 6.9.10, kernel 6.10 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the `nvmem` subsystem in the Linux kernel. This issue allows excessive permissions for the `cell` sysfs attribute, potentially exposing sensitive data beyond what is permitted for the main attribute.
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: 2301526    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-29 15:22:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

nvmem: core: limit cell sysfs permissions to main attribute ones

The cell sysfs attribute should not provide more access to the nvmem
data than the main attribute itself.
For example if nvme_config::root_only was set, the cell attribute
would still provide read access to everybody.

Mask out permissions not available on the main attribute.

Comment 1 Mauro Matteo Cascella 2024-07-30 08:43:43 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024072921-CVE-2024-41029-18c6@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 08:44:04 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301526]