VDB

CVE-2022-49627

CVE-2022-49627 PUBLISHED CVSS 5.5 MEDIUM

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.

PackageEcosystemFixed in
LinuxLinuxc1d9702ceb4a091da6bee380627596d1fba09274, 830de9667b3ada0a75a3f098dfc7159709fe397b, 601ae26aa2802a4c10c94d7388a99eabdbefab2b, 067d2521874135267e681c19d42761c601d503d6

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux6d94809af6b0830c4dfcad661535a5939bcb8a7d, 6d94809af6b0830c4dfcad661535a5939bcb8a7d, 6d94809af6b0830c4dfcad661535a5939bcb8a7d
LinuxLinux5.8, 0, 5.10.132
LinuxLinux5.19, 0, 5.10.132
linuxlinux_kernel5.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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›