scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del() (Linux Linux)

CVE-2024-49852
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del() The kref_put() function will call nport->release if the refcount drops to zero. The nport->release release function is _efc_nport_free() which frees "nport". But then we dereference "nport" on the next line which is a use after free. Re-order these lines to avoid the use after free.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected fcd427303eb90aa3cb08e7e0b68e0e67a6d47346 < 16a570f07d870a285b0c0b0d1ca4dff79e8aa5ff ; affected fcd427303eb90aa3cb08e7e0b68e0e67a6d47346 < abc71e89170ed32ecf0a5a29f31aa711e143e941 ; affected fcd427303eb90aa3cb08e7e0b68e0e67a6d47346 < baeb8628ab7f4577740f00e439d3fdf7c876b0ff ; affected fcd427303eb90aa3cb08e7e0b68e0e67a6d47346 < 7c2908985e4ae0ea1b526b3916de9e5351650908 ; affected fcd427303eb90aa3cb08e7e0b68e0e67a6d47346 < 98752fcd076a8cbc978016eae7125b4971be1eec ; affected fcd427303eb90aa3cb08e7e0b68e0e67a6d47346 < 2e4b02fad094976763af08fec2c620f4f8edd9ae
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.168 ≤ 5.15.* ; unaffected 6.1.113 ≤ 6.1.* ; unaffected 6.6.54 ≤ 6.6.* ; unaffected 6.10.13 ≤ 6.10.*

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