CVE-2022-50395

published 18 Sep 2025 · updated 11 May 2026

integrity: Fix memory leakage in keyring allocation error path

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 29d6c69ba4b96a1de0376e44e5f8b38b13ec8803, Kernel 39419ef7af0916cc3620ecf1ed42d29659109bf3, Kernel 3bd737289c26be3cee4b9afaf61ef784a2af9d6e and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.12, >=2b6aa412ff23a02ac777ad307249c60a839cfd25 <29d6c69ba4b96a1de0376e44e5f8b38b13ec8803, >=2b6aa412ff23a02ac777ad307249c60a839cfd25 <39419ef7af0916cc3620ecf1ed42d29659109bf3, >=2b6aa412ff23a02ac777ad307249c60a839cfd25 <3bd737289c26be3cee4b9afaf61ef784a2af9d6e, >=2b6aa412ff23a02ac777ad307249c60a839cfd25 <57e49ad12f8f5df0c48e1710c54b147a05a10c32, >=2b6aa412ff23a02ac777ad307249c60a839cfd25 <9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22, >=2b6aa412ff23a02ac777ad307249c60a839cfd25 <c591c48842f08d30ec6b8416757831985ed9a31529d6c69ba4b96a1de0376e44e5f8b38b13ec8803, 39419ef7af0916cc3620ecf1ed42d29659109bf3, 3bd737289c26be3cee4b9afaf61ef784a2af9d6e, 57e49ad12f8f5df0c48e1710c54b147a05a10c32, 9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22, c591c48842f08d30ec6b8416757831985ed9a315

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50395 severity on Zeptric[![CVE-2022-50395](https://zeptric.io/badge/cve/CVE-2022-50395.svg)](https://zeptric.io/cve/CVE-2022-50395)