CVE-2022-49455
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.27%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.27% probability · 19th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-415
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/252768d32e92c1214aeebb5fec0844ca479bcf5cPatch
- https://git.kernel.org/stable/c/8fb674216835e1f0c143762696d645facebb4685Patch
- https://git.kernel.org/stable/c/950cf957fe34d40d63dfa3bf3968210430b6491ePatch
- https://git.kernel.org/stable/c/9e9087cf34ee69f4e95d146ac29385d6e367a97bPatch
- https://git.kernel.org/stable/c/de65c32ace9aa70d51facc61ba986607075e3a25Patch
- https://git.kernel.org/stable/c/ee89d8dee55ab4b3b8ad8b70866b2841ba334767Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.