{"id":"CVE-2022-49455","aliases":["CVE-2022-49455"],"related":[],"kind":"vulnerability","state":"published","title":"misc: ocxl: fix possible double free in ocxl_file_register_afu","summary":"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->dev'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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->dev'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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: misc: ocxl: se corrige la posible doble liberación en ocxl_file_register_afu. Se llamará a info_release() en device_unregister() cuando el recuento de referencias de info-&gt;dev sea 0. Por lo tanto, no es necesario llamar a ocxl_afu_put() y kfree() nuevamente. Corrija esto agregando free_minor() y regrese a la ruta de error err_unregister.","source":"nvd"}],"published":"2025-02-26T02:13:04.116Z","modified":"2026-06-17T05:18:06.070Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042","fixed":"de65c32ace9aa70d51facc61ba986607075e3a25","status":"affected"},{"type":"git","introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042","fixed":"ee89d8dee55ab4b3b8ad8b70866b2841ba334767","status":"affected"},{"type":"git","introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042","fixed":"8fb674216835e1f0c143762696d645facebb4685","status":"affected"},{"type":"git","introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042","fixed":"252768d32e92c1214aeebb5fec0844ca479bcf5c","status":"affected"},{"type":"git","introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042","fixed":"9e9087cf34ee69f4e95d146ac29385d6e367a97b","status":"affected"},{"type":"git","introduced":"75ca758adbafc81804c39b2c200ecdc819a6c042","fixed":"950cf957fe34d40d63dfa3bf3968210430b6491e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.2","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/de65c32ace9aa70d51facc61ba986607075e3a25","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee89d8dee55ab4b3b8ad8b70866b2841ba334767","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fb674216835e1f0c143762696d645facebb4685","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/252768d32e92c1214aeebb5fec0844ca479bcf5c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e9087cf34ee69f4e95d146ac29385d6e367a97b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/950cf957fe34d40d63dfa3bf3968210430b6491e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T19:40:19.995Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49455","url":"https://www.cve.org/CVERecord?id=CVE-2022-49455","licence":"CVE Terms of Use","modified":"2026-05-11T19:00:12.671Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49455","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49455","licence":"Public domain","modified":"2026-06-17T05:18:06.070Z"}],"updatedAt":"2026-11-25T22:58:20.668Z","epss":{"score":0.00277,"percentile":0.21509,"date":"2026-12-01T12:00:22.000Z"}}