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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Mar 2025, 16:19

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898 - () https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898 - Patch
References () https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4 - () https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4 - Patch
References () https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a - () https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a - Patch
References () https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb - () https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb - Patch
References () https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232 - () https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232 - Patch
References () https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836 - () https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836 - Patch
References () https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe - () https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe - Patch
References () https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef - () https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef - Patch
References () https://git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c - () https://git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c - Patch

04 Mar 2025, 18:15

Type Values Removed Values Added
CWE CWE-416
Summary
  • (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.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

26 Feb 2025, 07:00

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:00

Updated : 2025-03-25 16:19


NVD link : CVE-2022-49114

Mitre link : CVE-2022-49114

CVE.ORG link : CVE-2022-49114


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free