# CVE-2022-49114: scsi: libfc: Fix use after free in fc_exch_abts_resp()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:58.172Z
- Modified: 2026-08-05T08:53:58.360Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: libfc: Fix use after free in fc_exch_abts_resp()

fc_exch_release(ep) will decrease the ep's reference count. When the
reference count reaches zero, it is freed. But ep is still used in the
following code, which will lead to a use after free.

Return after the fc_exch_release() call to avoid use after free.

(As written by CVE List.)

## Affected

- Linux Linux: from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 4a131d4ea8b581ac9b01d3a72754db4848be3232; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 499d198494e77b6533251b9b909baf5c101129cb; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 6044ad64f41c87382cfeeca281573d1886d80cbe; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 1d7effe5fff9d28e45e18ac3a564067c7ddfe898; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before f581df412bc45c95176e3c808ee2839c05b2ab0c; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 87909291762d08fdb60d19069d7a89b5b308d0ef; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 412dd8299b02e4410fe77b8396953c1a8dde183a; from 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a before 271add11994ba1a334859069367e04d2be2ebdd4; 2.6.29 (not affected: before 2.6.29; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.238 up to 4.19.*; from 5.4.189 up to 5.4.*; from 5.10.111 up to 5.10.*; from 5.15.34 up to 5.15.*; from 5.16.20 up to 5.16.*; from 5.17.3 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.111; from 5.11 before 5.15.34; from 5.16 before 5.16.20; from 5.17 before 5.17.3

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232> (patch)
- <https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb> (patch)
- <https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe> (patch)
- <https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836> (patch)
- <https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898> (patch)
- <https://git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c> (patch)
- <https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef> (patch)
- <https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a> (patch)
- <https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4> (patch)

## Sources

- CVE List: [CVE-2022-49114](https://www.cve.org/CVERecord?id=CVE-2022-49114), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49114](https://nvd.nist.gov/vuln/detail/CVE-2022-49114), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49114 · Whole record: https://cve.day/CVE-2022-49114.json · Rebuilt by cve.day 2026-11-25T22:58:20.187Z
