CVE-2024-53161: EDAC/bluefield: Fix potential integer overflow
In the Linux kernel, the following vulnerability has been resolved:
EDAC/bluefield: Fix potential integer overflow
The 64-bit argument for the "get DIMM info" SMC call consists of memctrlidx left-shifted 16 bits and OR-ed with DIMM index. With memctrlidx defined as 32-bits wide the left-shift operation truncates the upper 16 bits of information during the calculation of the SMC argument.
The memctrlidx stack variable must be defined as 64-bits wide to prevent any potential integer overflow, i.e. loss of data from upper 16 bits.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53161?
CVE-2024-53161 has been classified as a high severity vulnerability due to its potential for integer overflow in the Linux kernel.
How do I fix CVE-2024-53161?
To fix CVE-2024-53161, update the Linux kernel to a version that includes the fix for this vulnerability.
Which Linux kernel versions are affected by CVE-2024-53161?
CVE-2024-53161 affects Linux kernel versions from 5.4 to 6.12.2, excluding patched versions.
What impact does CVE-2024-53161 have on Linux systems?
CVE-2024-53161 could potentially allow unauthorized access or manipulation of memory through the affected integer overflow.
Is there a workaround for CVE-2024-53161?
There is no official workaround for CVE-2024-53161; updating the kernel is the recommended solution.