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

CVE-2022-49114
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.36 % · percentile 29 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 4a131d4ea8b581ac9b01d3a72754db4848be3232 ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 499d198494e77b6533251b9b909baf5c101129cb ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 6044ad64f41c87382cfeeca281573d1886d80cbe ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836 ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < 1d7effe5fff9d28e45e18ac3a564067c7ddfe898 ; affected 42e9a92fe6a9095bd68a379aaec7ad2be0337f7a < f581df412bc45c95176e3c808ee2839c05b2ab0c
Linux · Linuxaffected 2.6.29 ; unaffected 0 < 2.6.29 ; unaffected 4.9.311 ≤ 4.9.* ; unaffected 4.14.276 ≤ 4.14.* ; unaffected 4.19.238 ≤ 4.19.* ; unaffected 5.4.189 ≤ 5.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD