{"schema_version":"1.9.0","id":"CVE-2022-50395","published":"2025-09-18T13:33:13.732Z","modified":"2026-08-12T03:51:26.740534927Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4189-1"],"summary":"integrity: Fix memory leakage in keyring allocation error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nintegrity: Fix memory leakage in keyring allocation error path\n\nKey restriction is allocated in integrity_init_keyring(). However, if\nkeyring allocation failed, it is not freed, causing memory leaks.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2b6aa412ff23a02ac777ad307249c60a839cfd25"},{"fixed":"9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22"},{"fixed":"3bd737289c26be3cee4b9afaf61ef784a2af9d6e"},{"fixed":"29d6c69ba4b96a1de0376e44e5f8b38b13ec8803"},{"fixed":"57e49ad12f8f5df0c48e1710c54b147a05a10c32"},{"fixed":"c591c48842f08d30ec6b8416757831985ed9a315"},{"fixed":"39419ef7af0916cc3620ecf1ed42d29659109bf3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50395.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.12.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50395.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/29d6c69ba4b96a1de0376e44e5f8b38b13ec8803"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39419ef7af0916cc3620ecf1ed42d29659109bf3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3bd737289c26be3cee4b9afaf61ef784a2af9d6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57e49ad12f8f5df0c48e1710c54b147a05a10c32"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c591c48842f08d30ec6b8416757831985ed9a315"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50395.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50395"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50395.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}