CVE-2022-49114
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelbefore 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.3NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49114 changed 2026-08-05CVE Terms of Use
NVDCVE-2022-49114 changed 2026-08-04Public domain