{"id":"CVE-2022-49114","summary":"scsi: libfc: Fix use after free in fc_exch_abts_resp()","details":"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.","modified":"2026-04-02T08:27:18.434928Z","published":"2025-02-26T01:54:58.172Z","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","SUSE-SU-2025:1293-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49114.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898"},{"type":"WEB","url":"https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49114.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49114"},{"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":"42e9a92fe6a9095bd68a379aaec7ad2be0337f7a"},{"fixed":"4a131d4ea8b581ac9b01d3a72754db4848be3232"},{"fixed":"499d198494e77b6533251b9b909baf5c101129cb"},{"fixed":"6044ad64f41c87382cfeeca281573d1886d80cbe"},{"fixed":"5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836"},{"fixed":"1d7effe5fff9d28e45e18ac3a564067c7ddfe898"},{"fixed":"f581df412bc45c95176e3c808ee2839c05b2ab0c"},{"fixed":"87909291762d08fdb60d19069d7a89b5b308d0ef"},{"fixed":"412dd8299b02e4410fe77b8396953c1a8dde183a"},{"fixed":"271add11994ba1a334859069367e04d2be2ebdd4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49114.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"}]}