CVE-2024-53161

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53161
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53161.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53161
Downstream
Related
Published
2024-12-24T11:29:01.938Z
Modified
2025-11-28T02:35:14.651824Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
EDAC/bluefield: Fix potential integer overflow
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53161.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
82413e562ea6eadfb6de946dcc6f74af31d64e7f
Fixed
8cc31cfa36ff37aff399b72faa2ded58110112ae
Fixed
e0269ea7a628fdeddd65b92fe29c09655dbb80b9
Fixed
4ad7033de109d0fec99086f352f58a3412e378b8
Fixed
578ca89b04680145d41011e7cec8806fefbb59e7
Fixed
ac6ebb9edcdb7077e841862c402697c4c48a7c0a
Fixed
fdb90006184aa84c7b4e09144ed0936d4e1891a7
Fixed
000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5
Fixed
1fe774a93b46bb029b8f6fa9d1f25affa53f06c6

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.4.0
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.64
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.11
Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2