CVE-2022-49627
ima: Fix potential memory leak in ima_init_crypto()
Reported by linux · Published February 26, 2025
In the Linux kernel, the following vulnerability has been resolved: ima: Fix potential memory leak in ima_init_crypto() On failure to allocate the SHA1 tfm, IMA fails to initialize and exits without freeing the ima_algo_array. Add the missing kfree() for ima_algo_array to avoid the potential memory leak.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | c1d9702ceb4a091da6bee380627596d1fba09274, 830de9667b3ada0a75a3f098dfc7159709fe397b, 601ae26aa2802a4c10c94d7388a99eabdbefab2b, 067d2521874135267e681c19d42761c601d503d6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6d94809af6b0830c4dfcad661535a5939bcb8a7d, 6d94809af6b0830c4dfcad661535a5939bcb8a7d, 6d94809af6b0830c4dfcad661535a5939bcb8a7d |
| Linux | Linux | 5.8, 0, 5.10.132 |
| Linux | Linux | 5.19, 0, 5.10.132 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
Timeline
- Feb 26, 2025 CVE Published
- Feb 27, 2025 EPSS Score (30 in total, the first dated here)
- May 23, 2026 Coalition ESS Score
- Jun 2, 2026 Security Advisory (3 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-49627
vulnetix vdb fixes CVE-2022-49627
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-49627/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart