ima: Fix potential memory leak in ima_init_crypto()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 067d2521874135267e681c19d42761c601d503d6, Kernel 601ae26aa2802a4c10c94d7388a99eabdbefab2b, Kernel 830de9667b3ada0a75a3f098dfc7159709fe397b and 1 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.8, >=6d94809af6b0830c4dfcad661535a5939bcb8a7d <067d2521874135267e681c19d42761c601d503d6, >=6d94809af6b0830c4dfcad661535a5939bcb8a7d <601ae26aa2802a4c10c94d7388a99eabdbefab2b, >=6d94809af6b0830c4dfcad661535a5939bcb8a7d <830de9667b3ada0a75a3f098dfc7159709fe397b, >=6d94809af6b0830c4dfcad661535a5939bcb8a7d <c1d9702ceb4a091da6bee380627596d1fba09274 | 067d2521874135267e681c19d42761c601d503d6, 601ae26aa2802a4c10c94d7388a99eabdbefab2b, 830de9667b3ada0a75a3f098dfc7159709fe397b, c1d9702ceb4a091da6bee380627596d1fba09274 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket