CVE-2022-49451

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

17 Mar 2025, 16:12

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff - () https://git.kernel.org/stable/c/1052f22e127d0c34c3387bb389424ba1c61491ff - Patch
References () https://git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f - () https://git.kernel.org/stable/c/2ccfcd7a09c826516edcfe464b05071961aada3f - Patch
References () https://git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8 - () https://git.kernel.org/stable/c/444a2d27fe9867d0da4b28fc45b793f32e099ab8 - Patch
References () https://git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247 - () https://git.kernel.org/stable/c/6e7978695f4a6cbd83616b5a702b77fa2087b247 - Patch
References () https://git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0 - () https://git.kernel.org/stable/c/8009120e0354a67068e920eb10dce532391361d0 - Patch
References () https://git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f - () https://git.kernel.org/stable/c/98342148a8cd242855d7e257f298c966c96dba9f - Patch
References () https://git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec - () https://git.kernel.org/stable/c/b0e4bafac8963c2d85ee18d3d01f393735acceec - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-190
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: firmware: arm_scmi: Se corrige la enumeración de protocolos de lista en el protocolo base Al enumerar protocolos implementados por la plataforma SCMI utilizando BASE_DISCOVER_LIST_PROTOCOLS, la cantidad de protocolos devueltos actualmente se valida de manera incorrecta ya que la verificación emplea una suma entre números enteros sin signo que podría desbordarse y hacer que la verificación en sí se omita silenciosamente si el valor devuelto 'loop_num_ret' es lo suficientemente grande. Arregle la validación evitando la suma.
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-03-17 16:12


NVD link : CVE-2022-49451

Mitre link : CVE-2022-49451

CVE.ORG link : CVE-2022-49451


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-190

Integer Overflow or Wraparound