CVE-2022-50669

published 9 Dec 2025 · updated 12 Nov 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a4cb1004aeed2ab893a058fad00a5b41a12c4691, Kernel 0cd05062371a49774e8a45258bdedf0bd6d3d327, Kernel 2fce8b3583d1641a1716486f408478b58e96ec91 and 8 more.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=75ca758adbafc81804c39b2c200ecdc819a6c042 <a4cb1004aeed2ab893a058fad00a5b41a12c4691, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <0cd05062371a49774e8a45258bdedf0bd6d3d327, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <2fce8b3583d1641a1716486f408478b58e96ec91, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <3299983a6bf628249ac650908e62d12de959341e, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <557b7de055d1e230ddb6664c29d26917b8db9143, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <7525741cb302a1672b8c3a5edb2a08e4229b5c7c, =5.2a4cb1004aeed2ab893a058fad00a5b41a12c4691, 0cd05062371a49774e8a45258bdedf0bd6d3d327, 2fce8b3583d1641a1716486f408478b58e96ec91, 3299983a6bf628249ac650908e62d12de959341e, 557b7de055d1e230ddb6664c29d26917b8db9143, 7525741cb302a1672b8c3a5edb2a08e4229b5c7c
linux-kernel: Kernel>=5.16.0 <6.0.16, >=5.2.0 <5.4.229, >=5.5.0 <5.10.163, >=6.1.0 <6.1.2, >=5.11.0 <5.15.866.0.16, 5.4.229, 5.10.163, 6.1.2, 5.15.86

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50669 severity on Zeptric[![CVE-2022-50669](https://zeptric.io/badge/cve/CVE-2022-50669.svg)](https://zeptric.io/cve/CVE-2022-50669)