CVE-2022-49757 Information

Description

In the Linux kernel the following vulnerability has been resolved:

EDAC/highbank: Fix memory leak in highbank_mc_probe()

When devres_open_group() fails it returns -ENOMEM without freeing memory allocated by edac_mc_alloc().

Call edac_mc_free() on the error handling path to avoid a memory leak.

[ bp: Massage commit message. ]

Reference

https://git.kernel.org/stable/c/0db40e23b56d217eebd385bebb64057ef764b2c7 https://git.kernel.org/stable/c/329fbd260352a7b9a83781d8b8bd96f95844a51f https://git.kernel.org/stable/c/8d23f5d25264beb223ee79cdb530b88c237719fc https://git.kernel.org/stable/c/b7863ef8a8f0fee96b4eb41211f4918c0e047253 https://git.kernel.org/stable/c/caffa7fed1397d1395052272c93900176de86557 https://git.kernel.org/stable/c/e7a293658c20a7945014570e1921bf7d25d68a36 https://git.kernel.org/stable/c/f1b3e23ed8df87d779ee86ac37f379e79a24169a

Share on: