CVE Database›Document archive›CVE-2022-50669

CVE-2022-50669

kernel: misc: ocxl: fix possible name leak in ocxl_file_register_afu()

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 9, 2025

Updated · June 30, 2026

Description

A memory leak vulnerability was found in the OpenCAPI (ocxl) driver in the Linux kernel. In ocxl_file_register_afu(), when device_register() fails, the name string allocated by dev_set_name() is not properly freed. The fix uses put_device() to correctly release resources through kobject_cleanup().

Statement

This is a memory leak in the OpenCAPI driver that affects IBM POWER systems with OpenCAPI-capable hardware. The impact is limited as it requires device registration failures to trigger and affects only specific hardware configurations.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-911 · Improper Update of Reference Count