clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 5.5epss 0.1%
probabilidade de exploração
0.1%top 97% das CVEs
exploração observada
nãonenhuma fonte reporta
In the Linux kernel, the following vulnerability has been resolved:
clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
Use devm_of_iomap() instead of of_iomap() to automatically handle
the unused ioremap region.
If any error occurs, regions allocated by kzalloc() will leak,
but using devm_kzalloc() instead will automatically free the memory
using devm_kfree().
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Produtos afetados
Linux · LinuxReferências
https://git.kernel.org/stable/c/188d070de9132667956f5aadd98d2bd87d3eac89https://git.kernel.org/stable/c/294321349bd3b0680847fc2bbe66b9ab3e522feahttps://git.kernel.org/stable/c/50b5ddde8fad5f0ffd239029d0956af633a0f9b1https://git.kernel.org/stable/c/9428cf0fbf4be9a24f3e15a0c166b861b12666afhttps://git.kernel.org/stable/c/9ba3693b0350b154fdd7830559bbc7b04c067096https://git.kernel.org/stable/c/d4fa5e47af1e7bb2bbcaac062b14216c00e92148