{"id":"CVE-2022-49114","aliases":["CVE-2022-49114"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: libfc: Fix use after free in fc_exch_abts_resp()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libfc: Fix use after free in fc_exch_abts_resp()\n\nfc_exch_release(ep) will decrease the ep's reference count. When the\nreference count reaches zero, it is freed. But ep is still used in the\nfollowing code, which will lead to a use after free.\n\nReturn after the fc_exch_release() call to avoid use after free.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libfc: Fix use after free in fc_exch_abts_resp()\n\nfc_exch_release(ep) will decrease the ep's reference count. When the\nreference count reaches zero, it is freed. But ep is still used in the\nfollowing code, which will lead to a use after free.\n\nReturn after the fc_exch_release() call to avoid use after free.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: libfc: Se corrige el use-after-free en fc_exch_abts_resp() fc_exch_release(ep) reducirá el recuento de referencias de ep. Cuando el recuento de referencias llega a cero, se libera. Pero ep todavía se usa en el siguiente código, lo que provocará un use-after-free. Regrese después de la llamada fc_exch_release() para evitar el use-after-free.","source":"nvd"}],"published":"2025-02-26T01:54:58.172Z","modified":"2026-08-05T08:53:58.360Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"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"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"4a131d4ea8b581ac9b01d3a72754db4848be3232","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"499d198494e77b6533251b9b909baf5c101129cb","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"6044ad64f41c87382cfeeca281573d1886d80cbe","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"1d7effe5fff9d28e45e18ac3a564067c7ddfe898","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"f581df412bc45c95176e3c808ee2839c05b2ab0c","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"87909291762d08fdb60d19069d7a89b5b308d0ef","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"412dd8299b02e4410fe77b8396953c1a8dde183a","status":"affected"},{"type":"git","introduced":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a","fixed":"271add11994ba1a334859069367e04d2be2ebdd4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"4.9.311","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.276","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.238","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.189","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.111","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.34","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.20","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.3","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","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","fixed":"4.9.311"},{"status":"affected","introduced":"4.10","fixed":"4.14.276"},{"status":"affected","introduced":"4.15","fixed":"4.19.238"},{"status":"affected","introduced":"4.20","fixed":"5.4.189"},{"status":"affected","introduced":"5.5","fixed":"5.10.111"},{"status":"affected","introduced":"5.11","fixed":"5.15.34"},{"status":"affected","introduced":"5.16","fixed":"5.16.20"},{"status":"affected","introduced":"5.17","fixed":"5.17.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-03-04T18:03:27.178Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49114","url":"https://www.cve.org/CVERecord?id=CVE-2022-49114","licence":"CVE Terms of Use","modified":"2026-08-05T08:53:58.360Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49114","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49114","licence":"Public domain","modified":"2026-08-04T10:17:35.540Z"}],"updatedAt":"2026-11-25T22:58:20.187Z","epss":{"score":0.00357,"percentile":0.31501,"date":"2026-12-01T12:00:22.000Z"}}