{"id":"CVE-2022-49455","summary":"misc: ocxl: fix possible double free in ocxl_file_register_afu","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: ocxl: fix possible double free in ocxl_file_register_afu\n\ninfo_release() will be called in device_unregister() when info-\u003edev's\nreference count is 0. So there is no need to call ocxl_afu_put() and\nkfree() again.\n\nFix this by adding free_minor() and return to err_unregister error path.","modified":"2026-04-11T12:44:04.455512Z","published":"2025-02-26T02:13:04.116Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49455.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/252768d32e92c1214aeebb5fec0844ca479bcf5c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fb674216835e1f0c143762696d645facebb4685"},{"type":"WEB","url":"https://git.kernel.org/stable/c/950cf957fe34d40d63dfa3bf3968210430b6491e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e9087cf34ee69f4e95d146ac29385d6e367a97b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de65c32ace9aa70d51facc61ba986607075e3a25"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee89d8dee55ab4b3b8ad8b70866b2841ba334767"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49455.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49455"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042"},{"fixed":"de65c32ace9aa70d51facc61ba986607075e3a25"},{"fixed":"ee89d8dee55ab4b3b8ad8b70866b2841ba334767"},{"fixed":"8fb674216835e1f0c143762696d645facebb4685"},{"fixed":"252768d32e92c1214aeebb5fec0844ca479bcf5c"},{"fixed":"9e9087cf34ee69f4e95d146ac29385d6e367a97b"},{"fixed":"950cf957fe34d40d63dfa3bf3968210430b6491e"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49455.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.4.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.121"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.17.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"5.18.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49455.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}