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

Summary

CVECVE-2022-49451
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-02-26 07:01:21 UTC
Updated2026-08-04 10:17:48 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-190 | CWE-190 CWE-190 Integer Overflow or Wraparound


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1ADPDECLARED5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.4HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED8.4HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e 444a2d27fe9867d0da4b28fc45b793f32e099ab8 git Not specified
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e b0e4bafac8963c2d85ee18d3d01f393735acceec git Not specified
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e 1052f22e127d0c34c3387bb389424ba1c61491ff git Not specified
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e 98342148a8cd242855d7e257f298c966c96dba9f git Not specified
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e 6e7978695f4a6cbd83616b5a702b77fa2087b247 git Not specified
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e 2ccfcd7a09c826516edcfe464b05071961aada3f git Not specified
CNA Linux Linux affected b6f20ff8bd94ad34032804a60bab5ee56752007e 8009120e0354a67068e920eb10dce532391361d0 git Not specified
CNA Linux Linux affected 4.17 Not specified
CNA Linux Linux unaffected 4.17 semver Not specified
CNA Linux Linux unaffected 4.19.247 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.198 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.121 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.46 5.15.* semver Not specified
CNA Linux Linux unaffected 5.17.14 5.17.* semver Not specified
CNA Linux Linux unaffected 5.18.3 5.18.* semver Not specified
CNA Linux Linux unaffected 5.19 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report