CVE-2022-50395

Source
https://cve.org/CVERecord?id=CVE-2022-50395
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50395.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50395
Downstream
Related
Published
2025-09-18T13:33:13.732Z
Modified
2026-07-15T01:49:15.686545747Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
integrity: Fix memory leakage in keyring allocation error path
Details

In the Linux kernel, the following vulnerability has been resolved:

integrity: Fix memory leakage in keyring allocation error path

Key restriction is allocated in integrityinitkeyring(). However, if keyring allocation failed, it is not freed, causing memory leaks.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50395.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"