CVE
CVE-2022-49114
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 5.17, < 5.17.3Fixed in 5.17.3
- ≥ 5.16, < 5.16.20Fixed in 5.16.20
- ≥ 5.11, < 5.15.34Fixed in 5.15.34
- ≥ 5.5, < 5.10.111Fixed in 5.10.111
- ≥ 4.20, < 5.4.189Fixed in 5.4.189
- ≥ 4.15, < 4.19.238Fixed in 4.19.238
- ≥ 4.10, < 4.14.276Fixed in 4.14.276
- < 4.9.311Fixed in 4.9.311
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898 · Patch
- git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4 · Patch
- git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a · Patch
- git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb · Patch
- git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232 · Patch
- git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836 · Patch
- git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe · Patch
- git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef · Patch
- git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.