{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-49549","published":"2025-02-26T07:01:30.773000Z","last_modified":"2026-06-17T05:18:25.043000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.8","version_end_excluding":"5.10.121"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.46"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.17.14"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.18","version_end_excluding":"5.18.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00284,"percentile":0.13549,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-49549/","html_en":"/en/cve/CVE-2022-49549/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-49549","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-49549"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/MCE/AMD: Fix memory leak when threshold_create_bank() fails\n\nIn mce_threshold_create_device(), if threshold_create_bank() fails, the\npreviously allocated threshold banks array @bp will be leaked because\nthe call to mce_threshold_remove_device() will not free it.\n\nThis happens because mce_threshold_remove_device() fetches the pointer\nthrough the threshold_banks per-CPU variable but bp is written there\nonly after the bank creation is successful, and not before, when\nthreshold_create_bank() fails.\n\nAdd a helper which unwinds all the bank creation work previously done\nand pass into it the previously allocated threshold banks array for\nfreeing.\n\n  [ bp: Massage. ]","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/396b8e7ab2a99ddac57d3522b3da5e58cb608d37","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9708f1956eeb70c86943e0bc62fa3b0101b59616","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b4acb8e7f1594607bc9017ef0aacb40b24a003d6","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/cc0dd4456f9573bf8af9b4d8754433918e809e1e","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e5f28623ceb103e13fc3d7bd45edf9818b227fd0","tags":["Patch"]}]}}