s390/uv: Prevent potential out-of-bounds read
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 |
|
|
6.18.557.2.97.3In the Linux kernel, the following vulnerability has been resolved:
s390/uv: Prevent potential out-of-bounds read
When the system has more than 85 secrets, the uv_secret_list struct array only holds up to 85 items per page, resulting in an out of bounds read in find_secret_in_page if the targeted secret is in the next page or not stored at all.
Fix this by looping over the number of stored secrets which is the per sub-list count of stored secrets and not the overall count.
From the CVE record · Linux
The Linux kernel's s390/uv secret lookup can read out of bounds when a system has more than 85 secrets and the targeted secret is on another page or is not stored. The input does not describe an attacker path, authentication requirements, or user interaction.
Operators running the Linux kernel on s390 systems with more than 85 secrets should check their exposure; affected versions are not specified.