CVE-2022-49549: x86/MCE/AMD: Fix memory leak when threshold_create_bank() fails
Vulnerability summary
CVE-2022-49549 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 4Timeline
- 26-02-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: x86/MCE/AMD: Fix memory leak when threshold_create_bank() fails In mce_threshold_create_device(), if threshold_create_bank() fails, the previously allocated threshold banks array @bp will be leaked because the call to mce_threshold_remove_device() will not free it. This happens because mce_threshold_remove_device() fetches the pointer through the threshold_banks per-CPU variable but bp is written there only after the bank creation is successful, and not before, when threshold_create_bank() fails. Add a helper which unwinds all the bank creation work previously done and pass into it the previously allocated threshold banks array for freeing. [ bp: Massage. ]
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.27% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu94 products
- linux< 5.15.0-47.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1019.23
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 6458de97fc15530b54477c4e2b70af653e8ac3d9, < b4acb8e7f1594607bc9017ef0aacb40b24a003d6 | ≥ 6458de97fc15530b54477c4e2b70af653e8ac3d9, < cc0dd4456f9573bf8af9b4d8754433918e809e1e | ≥ 6458de97fc15530b54477c4e2b70af653e8ac3d9, < 9708f1956eeb70c86943e0bc62fa3b0101b59616 | ≥ 6458de97fc15530b54477c4e2b70af653e8ac3d9, < 396b8e7ab2a99ddac57d3522b3da5e58cb608d37 | ≥ 6458de97fc15530b54477c4e2b70af653e8ac3d9, < e5f28623ceb103e13fc3d7bd45edf9818b227fd0 | 5.8
- linux_kernel≥ 5.8, < 5.10.121 | ≥ 5.11, < 5.15.46 | ≥ 5.16, < 5.17.14 | ≥ 5.18, < 5.18.3
Debian1 product
- linux< 5.18.5-1
3 vendors · 97 products