Back

HIGH

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

Published Feb 26, 2025

Description

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.

Affected products

Remediation

No remediation recorded yet.

References (13)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Feb 26, 2025
Updated Aug 5, 2026
Reserved Feb 26, 2025

CISA Vulnrichment

Updated Oct 1, 2025

NVD

Status Modified
Modified Aug 4, 2026

Red Hat

Severity Moderate
Public date Feb 26, 2025
Bugzilla 2347940

ENISA EUVD

Assigner Linux
Published Feb 26, 2025
Updated Aug 5, 2026

GitHub

No data