CVE
CVE-2022-49455
CVE-2022-49455HIGH 7.8EPSS 20%
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 5.18, < 5.18.3Fixed in 5.18.3
- ≥ 5.16, < 5.17.14Fixed in 5.17.14
- ≥ 5.11, < 5.15.46Fixed in 5.15.46
- ≥ 5.5, < 5.10.121Fixed in 5.10.121
- ≥ 5.2, < 5.4.198Fixed in 5.4.198
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/252768d32e92c1214aeebb5fec0844ca479bcf5c · Patch
- git.kernel.org/stable/c/8fb674216835e1f0c143762696d645facebb4685 · Patch
- git.kernel.org/stable/c/950cf957fe34d40d63dfa3bf3968210430b6491e · Patch
- git.kernel.org/stable/c/9e9087cf34ee69f4e95d146ac29385d6e367a97b · Patch
- git.kernel.org/stable/c/de65c32ace9aa70d51facc61ba986607075e3a25 · Patch
- git.kernel.org/stable/c/ee89d8dee55ab4b3b8ad8b70866b2841ba334767 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.