{"id":"CVE-2024-53161","summary":"EDAC/bluefield: Fix potential integer overflow","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/bluefield: Fix potential integer overflow\n\nThe 64-bit argument for the \"get DIMM info\" SMC call consists of mem_ctrl_idx\nleft-shifted 16 bits and OR-ed with DIMM index.  With mem_ctrl_idx defined as\n32-bits wide the left-shift operation truncates the upper 16 bits of\ninformation during the calculation of the SMC argument.\n\nThe mem_ctrl_idx stack variable must be defined as 64-bits wide to prevent any\npotential integer overflow, i.e. loss of data from upper 16 bits.","modified":"2026-04-02T12:22:54.944339Z","published":"2024-12-24T11:29:01.938Z","related":["SUSE-SU-2025:0117-1","SUSE-SU-2025:0153-1","SUSE-SU-2025:0154-1","SUSE-SU-2025:0201-1","SUSE-SU-2025:0201-2","SUSE-SU-2025:0229-1","SUSE-SU-2025:0289-1","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7276-1","USN-7277-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53161.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1fe774a93b46bb029b8f6fa9d1f25affa53f06c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4ad7033de109d0fec99086f352f58a3412e378b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/578ca89b04680145d41011e7cec8806fefbb59e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cc31cfa36ff37aff399b72faa2ded58110112ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac6ebb9edcdb7077e841862c402697c4c48a7c0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e0269ea7a628fdeddd65b92fe29c09655dbb80b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdb90006184aa84c7b4e09144ed0936d4e1891a7"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53161.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53161"},{"type":"PACKAGE","url":"https://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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53161.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}