CVE-2022-50395
5.5medium
integrity: Fix memory leakage in keyring allocation error path
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2b6aa412ff23a02ac777ad307249c60a839cfd25 before 9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22, from 2b6aa412ff23a02ac777ad307249c60a839cfd25 before 3bd737289c26be3cee4b9afaf61ef784a2af9d6e, from 2b6aa412ff23a02ac777ad307249c60a839cfd25 before 29d6c69ba4b96a1de0376e44e5f8b38b13ec8803, from 2b6aa412ff23a02ac777ad307249c60a839cfd25 before 57e49ad12f8f5df0c48e1710c54b147a05a10c32, from 2b6aa412ff23a02ac777ad307249c60a839cfd25 before c591c48842f08d30ec6b8416757831985ed9a315, from 2b6aa412ff23a02ac777ad307249c60a839cfd25 before 39419ef7af0916cc3620ecf1ed42d29659109bf3, 4.12 Not affected: before 4.12, from 5.4.229 up to 5.4.*, from 5.10.163 up to 5.10.*, from 5.15.86 up to 5.15.*, from 6.0.16 up to 6.0.*, from 6.1.2 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.12 before 5.4.229, from 5.5 before 5.10.163, from 5.11 before 5.15.86, from 5.16 before 6.0.16, from 6.1 before 6.1.2 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50395 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-50395 changed 2026-06-17 | Public domain |