CVE-2022-50322
Gravedad CVSS v3.1:
MEDIA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
15/09/2025
Última modificación:
04/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rtc: msc313: Fix function prototype mismatch in msc313_rtc_probe()<br />
<br />
With clang&#39;s kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),<br />
indirect call targets are validated against the expected function<br />
pointer prototype to make sure the call target is valid to help mitigate<br />
ROP attacks. If they are not identical, there is a failure at run time,<br />
which manifests as either a kernel panic or thread getting killed.<br />
<br />
msc313_rtc_probe() was passing clk_disable_unprepare() directly, which<br />
did not have matching prototypes for devm_add_action_or_reset()&#39;s<br />
callback argument. Refactor to use devm_clk_get_enabled() instead.<br />
<br />
This was found as a result of Clang&#39;s new -Wcast-function-type-strict<br />
flag, which is more sensitive than the simpler -Wcast-function-type,<br />
which only checks for type width mismatches.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (incluyendo) | 6.0.17 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.1 (incluyendo) | 6.1.3 (excluyendo) |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



