nvmem: core: limit cell sysfs permissions to main attribute ones
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nvmem cell sysfs attribute can allow more access to nvmem data than the main attribute. When the main attribute is restricted to root, a local user can still read the data through the cell attribute without root access.
Teams running the Linux kernel should check whether their kernel includes the nvmem cell sysfs permissions fix; affected versions were not provided.