ixgbe: fix pci device refcount leak (Linux Linux)

CVE-2022-48896
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: ixgbe: fix pci device refcount leak As the comment of pci_get_domain_bus_and_slot() says, it returns a PCI device with refcount incremented, when finish using it, the caller must decrement the reference count by calling pci_dev_put(). In ixgbe_get_first_secondary_devfn() and ixgbe_x550em_a_has_mii(), pci_dev_put() is called to avoid leak.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8fa10ef01260937eb540b4e9bbc3efa023595993 < 53cefa802f070d46c0c518f4865be2c749818a18 ; affected 8fa10ef01260937eb540b4e9bbc3efa023595993 < 112df4cd2b09acd64bcd18f5ef83ba5d07b34bf0 ; affected 8fa10ef01260937eb540b4e9bbc3efa023595993 < 4c93422a54cd6a349988f42e1c6bf082cf4ea9d8 ; affected 8fa10ef01260937eb540b4e9bbc3efa023595993 < c49996c6aa03590e4ef5add8772cb6068d99fd59 ; affected 8fa10ef01260937eb540b4e9bbc3efa023595993 < b93fb4405fcb5112c5739c5349afb52ec7f15c07
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.229 ≤ 5.4.* ; unaffected 5.10.164 ≤ 5.10.* ; unaffected 5.15.89 ≤ 5.15.* ; unaffected 6.1.7 ≤ 6.1.*

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