← CVE Intelligence

CVE-2022-49757

EDAC/highbank: Fix memory leak in highbank_mc_probe() PUBLISHED

Description (CNA)

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

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a1b01edb274518c7da6d69b84e7558c092282aad before f1b3e23ed8df87d779ee86ac37f379e79a24169a; affected a1b01edb274518c7da6d69b84e7558c092282aad before 0db40e23b56d217eebd385bebb64057ef764b2c7; affected a1b01edb274518c7da6d69b84e7558c092282aad before 8d23f5d25264beb223ee79cdb530b88c237719fc; affected a1b01edb274518c7da6d69b84e7558c092282aad before 329fbd260352a7b9a83781d8b8bd96f95844a51f; affected a1b01edb274518c7da6d69b84e7558c092282aad before caffa7fed1397d1395052272c93900176de86557; affected a1b01edb274518c7da6d69b84e7558c092282aad before b7863ef8a8f0fee96b4eb41211f4918c0e047253; affected a1b01edb274518c7da6d69b84e7558c092282aad before e7a293658c20a7945014570e1921bf7d25d68a36
Linux / Linuxaffected 3.6; unaffected 0 before 3.6; unaffected 4.14.305 through 4.14.*; unaffected 4.19.272 through 4.19.*; unaffected 5.4.231 through 5.4.*; unaffected 5.10.166 through 5.10.*; unaffected 5.15.91 through 5.15.*; unaffected 6.1.9 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.