CVE-2022-50395Published Sep 18, 2025 · Sep 18Updated Oct 28
integrity: Fix memory leakage in keyring allocation error path
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2b6aa412ff23a02ac777ad307249c60a839cfd25 · < 39419ef7af0916cc3620ecf1ed42d29659109bf3| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel fails to free a key restriction if keyring allocation fails in integrity_init_keyring(), causing a memory leak. The input does not specify how an attacker could trigger this failure or whether network access, authentication, or user interaction is required.
Teams running the Linux kernel should check their installations; affected versions are not specified.