Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.247, 5.10.121, 5.15.46, 5.17.14, 5.18.3, 5.4.198
CVEs
CVE-2022-49451
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:23 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 26 Feb 2025, 02:13 UTC

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.

osv:CVE-2022-49451

Kernel

Fixed versions: 4.19.247, 5.4.198, 5.10.121, 5.15.46, 5.17.14, 5.18.3

Complete source record
{
  "id": "f233b28026cae89b8b7d243aa3c65eef7f355a7f6000faee472ca31fef66c3c6",
  "url": "https://osv.dev/vulnerability/CVE-2022-49451",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "firmware: arm_scmi: Fix list protocols enumeration in the base protocol",
    "summary": "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.",
    "evidence": "osv:CVE-2022-49451",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.247",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.198",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.121",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-49451",
      "aliases": [
        "CVE-2022-49451"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b6f20ff8bd94ad34032804a60bab5ee56752007e"
                },
                {
                  "fixed": "444a2d27fe9867d0da4b28fc45b793f32e099ab8"
                },
                {
                  "fixed": "b0e4bafac8963c2d85ee18d3d01f393735acceec"
                },
                {
                  "fixed": "1052f22e127d0c34c3387bb389424ba1c61491ff"
                },
                {
                  "fixed": "98342148a8cd242855d7e257f298c966c96dba9f"
                },
                {
                  "fixed": "6e7978695f4a6cbd83616b5a702b77fa2087b247"
                },
                {
                  "fixed": "2ccfcd7a09c826516edcfe464b05071961aada3f"
                },
                {
                  "fixed": "8009120e0354a67068e920eb10dce532391361d0"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49451.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.17.0"
                },
                {
                  "fixed": "4.19.247"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.198"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.121"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.46"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.17.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "5.18.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49451.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.926397652Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff",
        "https://git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f",
        "https://git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8",
        "https://git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247",
        "https://git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0",
        "https://git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f",
        "https://git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49451.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49451",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49451.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49451",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504080,
  "published_at": "2025-02-26T02:13:01.077+00:00"
}