همهٔ گزارش‌ها
متوسط

kernel: ima: Fix potential memory leak in ima_init_crypto()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2022-49627

احتمال بهره‌برداری در ۳۰ روز آینده: 0.27%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel's Integrity Measurement Architecture (IMA). This flaw can lead to a Denial of Service (DoS) caused by a memory leak during system startup. If the subsystem encounters an error while allocating cryptographic resources in the ima_init_crypto() function, it exits without releasing previously allocated memory structures. Under specific resource-constrained boot conditions, this failure leaves kernel memory permanently unrecovered.