# CVE-2024-53161: EDAC/bluefield: Fix potential integer overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-12-24T11:29:01.938Z
- Modified: 2026-06-17T08:08:27.320Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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 mem_ctrl_idx
left-shifted 16 bits and OR-ed with DIMM index.  With mem_ctrl_idx defined as
32-bits wide the left-shift operation truncates the upper 16 bits of
information during the calculation of the SMC argument.

The mem_ctrl_idx stack variable must be defined as 64-bits wide to prevent any
potential integer overflow, i.e. loss of data from upper 16 bits.

(As written by CVE List.)

## Affected

- Linux Linux: from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before 8cc31cfa36ff37aff399b72faa2ded58110112ae; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before e0269ea7a628fdeddd65b92fe29c09655dbb80b9; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before 4ad7033de109d0fec99086f352f58a3412e378b8; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before 578ca89b04680145d41011e7cec8806fefbb59e7; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before ac6ebb9edcdb7077e841862c402697c4c48a7c0a; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before fdb90006184aa84c7b4e09144ed0936d4e1891a7; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5; from 82413e562ea6eadfb6de946dcc6f74af31d64e7f before 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6; 5.4 (not affected: before 5.4; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.4 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/8cc31cfa36ff37aff399b72faa2ded58110112ae> (patch)
- <https://git.kernel.org/stable/c/e0269ea7a628fdeddd65b92fe29c09655dbb80b9> (patch)
- <https://git.kernel.org/stable/c/4ad7033de109d0fec99086f352f58a3412e378b8> (patch)
- <https://git.kernel.org/stable/c/578ca89b04680145d41011e7cec8806fefbb59e7> (patch)
- <https://git.kernel.org/stable/c/ac6ebb9edcdb7077e841862c402697c4c48a7c0a> (patch)
- <https://git.kernel.org/stable/c/fdb90006184aa84c7b4e09144ed0936d4e1891a7> (patch)
- <https://git.kernel.org/stable/c/000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5> (patch)
- <https://git.kernel.org/stable/c/1fe774a93b46bb029b8f6fa9d1f25affa53f06c6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-53161](https://www.cve.org/CVERecord?id=CVE-2024-53161), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-53161](https://nvd.nist.gov/vuln/detail/CVE-2024-53161), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53161 · Whole record: https://cve.day/CVE-2024-53161.json · Rebuilt by cve.day 2026-11-25T22:58:50.349Z
