CVE-2022-50395

Source
https://cve.org/CVERecord?id=CVE-2022-50395
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50395.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50395
Downstream
Related
Published
2025-09-18T13:33:13.732Z
Modified
2026-03-20T11:47:26.416898Z
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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50395.json"
}
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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50395.json"