firmware: arm_scmi: Fix list protocols enumeration in the base protocol
Published Feb 26, 2025
8.4
HIGHCVSS 3.1
EPSS 0.30%
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
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 4.17
Unaffected
- ≥ 0, < 4.17
- ≥ 4.19.247, ≤ 4.19.*
- ≥ 5.10.121, ≤ 5.10.*
- ≥ 5.15.46, ≤ 5.15.*
- ≥ 5.17.14, ≤ 5.17.*
- ≥ 5.18.3, ≤ 5.18.*
- 5.19
- ≥ 5.4.198, ≤ 5.4.*
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
- ≥ 4.17 · < 4.19.247
- ≥ 4.20 · < 5.4.198
- ≥ 5.5 · < 5.10.121
- ≥ 5.11 · < 5.15.46
- ≥ 5.16 · < 5.17.14
- ≥ 5.18 · < 5.18.3
No data.
Red Hat Enterprise Linux 9
kernel-0:5.14.0-162.6.1.el9_1
Fixed · RHSA-2022:8267
Red Hat Enterprise Linux 9
kernel-0:5.14.0-162.6.1.el9_1
Fixed · RHSA-2022:8267
Red Hat Enterprise Linux 9
kernel-0:5.14.0-284.11.1.el9_2
Fixed · RHSA-2023:2458
Red Hat Enterprise Linux 9
kernel-0:5.14.0-284.11.1.el9_2
Fixed · RHSA-2023:2458
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.6.1.el9_1 | Fixed | RHSA-2022:8267 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.6.1.el9_1 | Fixed | RHSA-2022:8267 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-284.11.1.el9_2 | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-284.11.1.el9_2 | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (13)
- https://access.redhat.com/security/cve/CVE-2022-49451 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2347940 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-54778 Advisory
- https://git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff Patch
- https://git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f Patch
- https://git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8 Patch
- https://git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247 Patch
- https://git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0 Patch
- https://git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f Patch
- https://git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec Patch
- https://lore.kernel.org/linux-cve-announce/2025022659-CVE-2022-49451-5d2f@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49451
- https://www.cve.org/CVERecord?id=CVE-2022-49451
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
GitHub
No data