CVE-2022-50669

Linux Kernel 5.2.0-6.1.1 Memory Leak in ocxl_file_register_afu

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: misc: ocxl: fix possible name leak in ocxl_file_register_afu() If device_register() returns error in ocxl_file_register_afu(), the name allocated by dev_set_name() need be freed. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanup(), and info is freed in info_release().

Scores

EPSS 0.0022
EPSS Percentile 13.2%

Details

Status published
Products (19)
linux/Kernel 5.11.0 - 5.15.86linux
linux/Kernel 5.16.0 - 6.0.16linux
linux/Kernel 5.2.0 - 5.4.229linux
linux/Kernel 5.5.0 - 5.10.163linux
linux/Kernel 6.1.0 - 6.1.2linux
Linux/Linux < 5.2
Linux/Linux 5.10.163 - 5.10.*
Linux/Linux 5.15.86 - 5.15.*
Linux/Linux 5.2
Linux/Linux 5.4.229 - 5.4.*
... and 9 more
Published Dec 09, 2025
Tracked Since Feb 18, 2026