What’s Vulnerable › Vulnerabilities

CVE-2022-50395: integrity: Fix memory leakage in keyring allocation error path

Description

In the Linux kernel, the following vulnerability has been resolved: integrity: Fix memory leakage in keyring allocation error path Key restriction is allocated in integrity_init_keyring(). However, if keyring allocation failed, it is not freed, causing memory leaks.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.163, 5.15.86, 5.4.229, 6.0.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50395 or the next vulnerability affects your stack