CVE-2022-49455

published 26 Feb 2025 · updated 11 May 2026

misc: ocxl: fix possible double free in ocxl_file_register_afu

7.8HighCVSS 7.8EPSS 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 252768d32e92c1214aeebb5fec0844ca479bcf5c, Kernel 8fb674216835e1f0c143762696d645facebb4685, Kernel 950cf957fe34d40d63dfa3bf3968210430b6491e and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.2, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <252768d32e92c1214aeebb5fec0844ca479bcf5c, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <8fb674216835e1f0c143762696d645facebb4685, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <950cf957fe34d40d63dfa3bf3968210430b6491e, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <9e9087cf34ee69f4e95d146ac29385d6e367a97b, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <de65c32ace9aa70d51facc61ba986607075e3a25, >=75ca758adbafc81804c39b2c200ecdc819a6c042 <ee89d8dee55ab4b3b8ad8b70866b2841ba334767252768d32e92c1214aeebb5fec0844ca479bcf5c, 8fb674216835e1f0c143762696d645facebb4685, 950cf957fe34d40d63dfa3bf3968210430b6491e, 9e9087cf34ee69f4e95d146ac29385d6e367a97b, de65c32ace9aa70d51facc61ba986607075e3a25, ee89d8dee55ab4b3b8ad8b70866b2841ba334767

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-49455 severity on Zeptric[![CVE-2022-49455](https://zeptric.io/badge/cve/CVE-2022-49455.svg)](https://zeptric.io/cve/CVE-2022-49455)