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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:04.787Z
- Modified: 2026-06-17T05:19:04.010Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a1b01edb274518c7da6d69b84e7558c092282aad before f1b3e23ed8df87d779ee86ac37f379e79a24169a; from a1b01edb274518c7da6d69b84e7558c092282aad before 0db40e23b56d217eebd385bebb64057ef764b2c7; from a1b01edb274518c7da6d69b84e7558c092282aad before 8d23f5d25264beb223ee79cdb530b88c237719fc; from a1b01edb274518c7da6d69b84e7558c092282aad before 329fbd260352a7b9a83781d8b8bd96f95844a51f; from a1b01edb274518c7da6d69b84e7558c092282aad before caffa7fed1397d1395052272c93900176de86557; from a1b01edb274518c7da6d69b84e7558c092282aad before b7863ef8a8f0fee96b4eb41211f4918c0e047253; from a1b01edb274518c7da6d69b84e7558c092282aad before e7a293658c20a7945014570e1921bf7d25d68a36; 3.6 (not affected: before 3.6; from 4.14.305 up to 4.14.*; from 4.19.272 up to 4.19.*; from 5.4.231 up to 5.4.*; from 5.10.166 up to 5.10.*; from 5.15.91 up to 5.15.*; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 3.6 before 4.14.305; from 4.15 before 4.19.272; from 4.20 before 5.4.231; from 5.5 before 5.10.166; from 5.11 before 5.15.91; from 5.16 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f1b3e23ed8df87d779ee86ac37f379e79a24169a> (patch)
- <https://git.kernel.org/stable/c/0db40e23b56d217eebd385bebb64057ef764b2c7> (patch)
- <https://git.kernel.org/stable/c/8d23f5d25264beb223ee79cdb530b88c237719fc> (patch)
- <https://git.kernel.org/stable/c/329fbd260352a7b9a83781d8b8bd96f95844a51f> (patch)
- <https://git.kernel.org/stable/c/caffa7fed1397d1395052272c93900176de86557> (patch)
- <https://git.kernel.org/stable/c/b7863ef8a8f0fee96b4eb41211f4918c0e047253> (patch)
- <https://git.kernel.org/stable/c/e7a293658c20a7945014570e1921bf7d25d68a36> (patch)

## Sources

- CVE List: [CVE-2022-49757](https://www.cve.org/CVERecord?id=CVE-2022-49757), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49757](https://nvd.nist.gov/vuln/detail/CVE-2022-49757), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49757 · Whole record: https://cve.day/CVE-2022-49757.json · Rebuilt by cve.day 2026-11-25T22:58:20.848Z
