CVE-2024-41029 nvmem: core: limit cell sysfs permissions to main attribute ones
Attackers can read restricted nvmem data via sysfs cell attributes if the main attribute was configured as root-only, bypassing intended access controls.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-41029?
CVE-2024-41029 is a medium-severity vulnerability in Linux kernel, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2024-41029?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-41029?
Apply the vendor's patch.
Is CVE-2024-41029 being exploited?
There is no known exploitation of CVE-2024-41029 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-41029, DEBIAN-CVE-2024-41029, GHSA-j6hm-m5rg-qg4g, UBUNTU-CVE-2024-41029.