{"id":"CVE-2022-49757","summary":"EDAC/highbank: Fix memory leak in highbank_mc_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/highbank: Fix memory leak in highbank_mc_probe()\n\nWhen devres_open_group() fails, it returns -ENOMEM without freeing memory\nallocated by edac_mc_alloc().\n\nCall edac_mc_free() on the error handling path to avoid a memory leak.\n\n  [ bp: Massage commit message. ]","modified":"2026-05-15T11:54:25.626457501Z","published":"2025-03-27T16:43:04.787Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49757.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0db40e23b56d217eebd385bebb64057ef764b2c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/329fbd260352a7b9a83781d8b8bd96f95844a51f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d23f5d25264beb223ee79cdb530b88c237719fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7863ef8a8f0fee96b4eb41211f4918c0e047253"},{"type":"WEB","url":"https://git.kernel.org/stable/c/caffa7fed1397d1395052272c93900176de86557"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7a293658c20a7945014570e1921bf7d25d68a36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1b3e23ed8df87d779ee86ac37f379e79a24169a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49757.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49757"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0"},{"fixed":"4.14.305"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.272"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.231"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.166"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.91"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49757.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}