{"id":"CVE-2022-49451","summary":"firmware: arm_scmi: Fix list protocols enumeration in the base protocol","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_scmi: Fix list protocols enumeration in the base protocol\n\nWhile enumerating protocols implemented by the SCMI platform using\nBASE_DISCOVER_LIST_PROTOCOLS, the number of returned protocols is\ncurrently validated in an improper way since the check employs a sum\nbetween unsigned integers that could overflow and cause the check itself\nto be silently bypassed if the returned value 'loop_num_ret' is big\nenough.\n\nFix the validation avoiding the addition.","modified":"2026-04-11T12:44:04.454994Z","published":"2025-02-26T02:13:01.077Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49451.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49451.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49451"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49451.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49451.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}