CVE-2022-49455

HIGH

Linux Kernel 5.2-5.4.198 5.5-5.10.121 5.11-5.15.46 5.16-5.17.14 5.18-5.18.3 - Use-After-Free 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 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.

Scores

CVSS v3 7.8
EPSS 0.0025
EPSS Percentile 16.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-415
Status published
Products (20)
linux/Kernel 5.11.0 - 5.15.46linux
linux/Kernel 5.16.0 - 5.17.14linux
linux/Kernel 5.18.0 - 5.18.3linux
linux/Kernel 5.2.0 - 5.4.198linux
linux/Kernel 5.5.0 - 5.10.121linux
Linux/Linux < 5.2
Linux/Linux 5.10.121 - 5.10.*
Linux/Linux 5.15.46 - 5.15.*
Linux/Linux 5.17.14 - 5.17.*
Linux/Linux 5.18.3 - 5.18.*
... and 10 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026