Use After Free in Linux
CVE-2022-49114
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 29.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a, 2.6.29, 0
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232 (Patch)
- git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb (Patch)
- git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe (Patch)
- git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836 (Patch)
- git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898 (Patch)
- git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c (Patch)
- git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef (Patch)
- git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a (Patch)
- git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4 (Patch)