CVE-2022-50395Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 95.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 18

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel4.125.4.229+4
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linux2b6aa412ff23a02ac777ad307249c60a839cfd259b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22+6
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-prqj-m7rp-hg5q: In the Linux kernel, the following vulnerability has been resolved: integrity: Fix memory leakage in keyring allocation error path Key restriction i2025-09-18
OSV
CVE-2022-50395: In the Linux kernel, the following vulnerability has been resolved: integrity: Fix memory leakage in keyring allocation error path Key restriction is2025-09-18

📋Vendor Advisories

2
Red Hat
kernel: integrity: Fix memory leakage in keyring allocation error path2025-09-18
Debian
CVE-2022-50395: linux - In the Linux kernel, the following vulnerability has been resolved: integrity: ...2022
CVE-2022-50395 — Linux vulnerability | cvebase