CVE-2022-49451

firmware: arm_scmi: Fix list protocols enumeration in the base protocol

State
Published
Severity
8.4 High
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

firmware: arm_scmi: Fix list protocols enumeration in the base protocol

While enumerating protocols implemented by the SCMI platform using BASE_DISCOVER_LIST_PROTOCOLS, the number of returned protocols is currently validated in an improper way since the check employs a sum between unsigned integers that could overflow and cause the check itself to be silently bypassed if the returned value 'loop_num_ret' is big enough.

Fix the validation avoiding the addition.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before 444a2d27fe9867d0da4b28fc45b793f32e099ab8Affected
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before b0e4bafac8963c2d85ee18d3d01f393735acceecAffected
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before 1052f22e127d0c34c3387bb389424ba1c61491ffAffected
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before 98342148a8cd242855d7e257f298c966c96dba9fAffected
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before 6e7978695f4a6cbd83616b5a702b77fa2087b247Affected
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before 2ccfcd7a09c826516edcfe464b05071961aada3fAffected
  • b6f20ff8bd94ad34032804a60bab5ee56752007e to before 8009120e0354a67068e920eb10dce532391361d0Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 4.19.247 through 4.19.*Not affected
  • 5.4.198 through 5.4.*Not affected
  • 5.10.121 through 5.10.*Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.