VYPR
Unrated severityNVD Advisory· Published Feb 26, 2025· Updated Oct 1, 2025

misc: ocxl: fix possible double free in ocxl_file_register_afu

CVE-2022-49455

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

128

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.