← Database

CVE-2022-49455

HIGH CVSS: 7.8 Published: 2025-02-26 Modified: 2026-06-17

Description

In the Linux kernel, the following vulnerability has been resolved: misc: ocxl: fix possible double free in ocxl_file_register_afu info_release() will be called in device_unregister() when info->dev's reference count is 0. So there is no need to call ocxl_afu_put() and kfree() again. Fix this by adding free_minor() and return to err_unregister error path.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-415, CWE-415

References