Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2024-53161

EDAC/bluefield: Fix potential integer overflow

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < 8cc31cfa36ff37aff399b72faa2ded58110112aeaffected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < e0269ea7a628fdeddd65b92fe29c09655dbb80b9affected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < 4ad7033de109d0fec99086f352f58a3412e378b8affected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < 578ca89b04680145d41011e7cec8806fefbb59e7affected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < ac6ebb9edcdb7077e841862c402697c4c48a7c0aaffected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < fdb90006184aa84c7b4e09144ed0936d4e1891a7affected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < 000930193fe5eb79ce5563ee2e9ddb0c6e4e1bb5affected
  • 82413e562ea6eadfb6de946dcc6f74af31d64e7f to < 1fe774a93b46bb029b8f6fa9d1f25affa53f06c6affected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 5.4.287 to ≤ 5.4.*unaffected
  • 5.10.231 to ≤ 5.10.*unaffected
  • 5.15.174 to ≤ 5.15.*unaffected
  • 6.1.120 to ≤ 6.1.*unaffected
  • 6.6.64 to ≤ 6.6.*unaffected
  • 6.11.11 to ≤ 6.11.*unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References