What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.276, 4.19.238, 4.9.311, 5.10.111. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49114 or the next vulnerability affects your stack