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

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2025-02-26T02:13:01.077Z
- Modified: 2026-08-05T08:55:12.845Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b6f20ff8bd94ad34032804a60bab5ee56752007e before 444a2d27fe9867d0da4b28fc45b793f32e099ab8; from b6f20ff8bd94ad34032804a60bab5ee56752007e before b0e4bafac8963c2d85ee18d3d01f393735acceec; from b6f20ff8bd94ad34032804a60bab5ee56752007e before 1052f22e127d0c34c3387bb389424ba1c61491ff; from b6f20ff8bd94ad34032804a60bab5ee56752007e before 98342148a8cd242855d7e257f298c966c96dba9f; from b6f20ff8bd94ad34032804a60bab5ee56752007e before 6e7978695f4a6cbd83616b5a702b77fa2087b247; from b6f20ff8bd94ad34032804a60bab5ee56752007e before 2ccfcd7a09c826516edcfe464b05071961aada3f; from b6f20ff8bd94ad34032804a60bab5ee56752007e before 8009120e0354a67068e920eb10dce532391361d0; 4.17 (not affected: before 4.17; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.17 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8> (patch)
- <https://git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec> (patch)
- <https://git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff> (patch)
- <https://git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f> (patch)
- <https://git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247> (patch)
- <https://git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f> (patch)
- <https://git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0> (patch)

## Sources

- CVE List: [CVE-2022-49451](https://www.cve.org/CVERecord?id=CVE-2022-49451), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49451](https://nvd.nist.gov/vuln/detail/CVE-2022-49451), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49451 · Whole record: https://cve.day/CVE-2022-49451.json · Rebuilt by cve.day 2026-11-25T22:58:20.665Z
