What’s Vulnerable › Vulnerabilities

CVE-2022-49451: firmware: arm_scmi: Fix list protocols enumeration in the base protocol

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.247, 5.10.121, 5.15.46, 5.17.14. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49451 or the next vulnerability affects your stack