What’s Vulnerable › Vulnerabilities

CVE-2022-49757: EDAC/highbank: Fix memory leak in highbank_mc_probe()

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.305, 4.19.272, 5.10.166, 5.15.91. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49757 or the next vulnerability affects your stack