CVE-2022-49757Published Mar 27, 2025 · Mar 27Updated Oct 28
EDAC/highbank: Fix memory leak in highbank_mc_probe()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a1b01edb274518c7da6d69b84e7558c092282aad · < b7863ef8a8f0fee96b4eb41211f4918c0e047253| No fix yet |
| Linux Linux |
|
|
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. ]
From the CVE record · Linux
The Linux kernel's EDAC/highbank driver leaks memory allocated by edac_mc_alloc() when devres_open_group() fails during highbank_mc_probe(). The input does not describe an attacker action or specify network access, authentication, or user interaction requirements.
Engineers running Linux kernels with the EDAC/highbank driver should check their versions; affected versions are not specified.