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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2024-12-24T11:29:01.938Z
- **Modified:** 2026-06-17T08:08:27.320Z

## Who should check

- Anyone running Linux \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 8cc31cfa36ff37aff399b72faa2ded58110112ae; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< e0269ea7a628fdeddd65b92fe29c09655dbb80b9; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 4ad7033de109d0fec99086f352f58a3412e378b8; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 578ca89b04680145d41011e7cec8806fefbb59e7; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< ac6ebb9edcdb7077e841862c402697c4c48a7c0a; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< fdb90006184aa84c7b4e09144ed0936d4e1891a7; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6
- Anyone running Linux 5.4

## 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.

## Affected and fixed versions

- Linux: \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 8cc31cfa36ff37aff399b72faa2ded58110112ae; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< e0269ea7a628fdeddd65b92fe29c09655dbb80b9; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 4ad7033de109d0fec99086f352f58a3412e378b8; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 578ca89b04680145d41011e7cec8806fefbb59e7; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< ac6ebb9edcdb7077e841862c402697c4c48a7c0a; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< fdb90006184aa84c7b4e09144ed0936d4e1891a7; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53161. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53161.md
Affected: Linux >= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, < 8cc31cfa36ff37aff399b72faa2ded58110112ae; >= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, < e0269ea7a628fdeddd65b92fe29c09655dbb80b9; >= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, < 4ad7033de109d0fec99086f352f58a3412e378b8; >= 82413e562ea6eadfb6de946…
Fixed in: Linux 8cc31cfa36ff37aff399b72faa2ded58110112ae, Linux 4ad7033de109d0fec99086f352f58a3412e378b8, Linux 578ca89b04680145d41011e7cec8806fefbb59e7, Linux 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5, Linux 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53161 being exploited?

There is no confirmed exploitation: CVE-2024-53161 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53161?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53161?

Linux \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 8cc31cfa36ff37aff399b72faa2ded58110112ae; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< e0269ea7a628fdeddd65b92fe29c09655dbb80b9; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 4ad7033de109d0fec99086f352f58a3412e378b8; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 578ca89b04680145d41011e7cec8806fefbb59e7; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< ac6ebb9edcdb7077e841862c402697c4c48a7c0a; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< fdb90006184aa84c7b4e09144ed0936d4e1891a7; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5; \>= 82413e562ea6eadfb6de946dcc6f74af31d64e7f, \< 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6; Linux 5.4.

### Is there a fix for CVE-2024-53161?

Yes. Fixed in Linux 8cc31cfa36ff37aff399b72faa2ded58110112ae, Linux 4ad7033de109d0fec99086f352f58a3412e378b8, Linux 578ca89b04680145d41011e7cec8806fefbb59e7, Linux 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5, Linux 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6. Upgrade Linux to 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6 or later.

### How do I check if I'm affected by CVE-2024-53161?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53161>

HTML: <https://flawdb.com/CVE-2024-53161> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53161>
