CVE-2022-50395

integrity: Fix memory leakage in keyring allocation error path

MEDIUM
5.5
CVSS Score
Published: September 18, 2025 at 01:33 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.12 ≤ v < 5.10.1634.12 ≤ v < 5.15.864.12 ≤ v < 5.4.2294.12 ≤ v < 6.0.164.12 ≤ v < 6.1.24.12 ≤ v < 6.25.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.22b6aa412ff23a02ac777ad307249c60a839cfd254.12
Vendor states this is fixed in 29d6c69ba4b96a1de0376e44e5f8b38b13ec8803 (fixed)
Vendor states this is fixed in 39419ef7af0916cc3620ecf1ed42d29659109bf3 (fixed)
Vendor states this is fixed in 3bd737289c26be3cee4b9afaf61ef784a2af9d6e (fixed)
Vendor states this is fixed in 57e49ad12f8f5df0c48e1710c54b147a05a10c32 (fixed)
Vendor states this is fixed in 9b7c44885a07c5ee7f9bf3aa3c9c72fb110c8d22 (fixed)
Vendor states this is fixed in c591c48842f08d30ec6b8416757831985ed9a315 (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card