CVE-2022-50395
published 2025-09-18CVE-2022-50395: In the Linux kernel, the following vulnerability has been resolved: integrity: Fix memory leakage in keyring allocation error path Key restriction is allocated…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.15%
4.4th percentile
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
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 2b6aa412ff23a02ac777ad307249c60a839cfd25 < 9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22 | 9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22 |
| linux | linux | >= 2b6aa412ff23a02ac777ad307249c60a839cfd25 < 3bd737289c26be3cee4b9afaf61ef784a2af9d6e | 3bd737289c26be3cee4b9afaf61ef784a2af9d6e |
| linux | linux | >= 2b6aa412ff23a02ac777ad307249c60a839cfd25 < 29d6c69ba4b96a1de0376e44e5f8b38b13ec8803 | 29d6c69ba4b96a1de0376e44e5f8b38b13ec8803 |
| linux | linux | >= 2b6aa412ff23a02ac777ad307249c60a839cfd25 < 57e49ad12f8f5df0c48e1710c54b147a05a10c32 | 57e49ad12f8f5df0c48e1710c54b147a05a10c32 |
| linux | linux | >= 2b6aa412ff23a02ac777ad307249c60a839cfd25 < c591c48842f08d30ec6b8416757831985ed9a315 | c591c48842f08d30ec6b8416757831985ed9a315 |
| linux | linux | >= 2b6aa412ff23a02ac777ad307249c60a839cfd25 < 39419ef7af0916cc3620ecf1ed42d29659109bf3 | 39419ef7af0916cc3620ecf1ed42d29659109bf3 |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 4.12 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.5 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1 < 6.1.2 | 6.1.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
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 i
ghsa_unreviewed·2025-09-18
CVE-2022-50395 [MEDIUM] CWE-401 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 i
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.
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 is
osv·2025-09-18·CVSS 5.5
CVE-2022-50395 [MEDIUM] CVE-2022-50395: In the Linux kernel, the following vulnerability has been resolved: integrity: Fix memory leakage in keyring allocation error path Key restriction is
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.
Red Hat
kernel: integrity: Fix memory leakage in keyring allocation error path
vendor_redhat·2025-09-18·CVSS 5.5
CVE-2022-50395 [MEDIUM] CWE-772 kernel: integrity: Fix memory leakage in keyring allocation error path
kernel: integrity: Fix memory leakage in keyring allocation error path
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 9) - Fix deferred
Package: kernel-rt (Red Ha
Debian
CVE-2022-50395: linux - In the Linux kernel, the following vulnerability has been resolved: integrity: ...
vendor_debian·2022·CVSS 5.5
CVE-2022-50395 [MEDIUM] CVE-2022-50395: linux - In the Linux kernel, the following vulnerability has been resolved: integrity: ...
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.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/29d6c69ba4b96a1de0376e44e5f8b38b13ec8803https://git.kernel.org/stable/c/39419ef7af0916cc3620ecf1ed42d29659109bf3https://git.kernel.org/stable/c/3bd737289c26be3cee4b9afaf61ef784a2af9d6ehttps://git.kernel.org/stable/c/57e49ad12f8f5df0c48e1710c54b147a05a10c32https://git.kernel.org/stable/c/9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22https://git.kernel.org/stable/c/c591c48842f08d30ec6b8416757831985ed9a315
2025-09-18
Published