CVE-2024-53161

EDAC/bluefield: Fix potential integer overflow

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 82413e562ea6eadfb6de946dcc6f74af31d64e7f < 8cc31cfa36ff37aff399b72faa2ded58110112ae ; affected 82413e562ea6eadfb6de946dcc6f74af31d64e7f < e0269ea7a628fdeddd65b92fe29c09655dbb80b9 ; affected 82413e562ea6eadfb6de946dcc6f74af31d64e7f < 4ad7033de109d0fec99086f352f58a3412e378b8 ; affected 82413e562ea6eadfb6de946dcc6f74af31d64e7f < 578ca89b04680145d41011e7cec8806fefbb59e7 ; affected 82413e562ea6eadfb6de946dcc6f74af31d64e7f < ac6ebb9edcdb7077e841862c402697c4c48a7c0a ; affected 82413e562ea6eadfb6de946dcc6f74af31d64e7f < fdb90006184aa84c7b4e09144ed0936d4e1891a7
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 5.4.287 ≤ 5.4.* ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD