ixgbevf: Fix resource leak in ixgbevf_init_module() (Linux Linux)

CVE-2022-49028
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: ixgbevf: Fix resource leak in ixgbevf_init_module() ixgbevf_init_module() won't destroy the workqueue created by create_singlethread_workqueue() when pci_register_driver() failed. Add destroy_workqueue() in fail path to prevent the resource leak. Similar to the handling of u132_hcd_init in commit f276e002793c ("usb: u132-hcd: fix resource leak")

Weaknesses (CWE)

  • CWE-459 — Incomplete Cleanup

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 40a13e2493c9882cb4d09054d81a5063cd1589a2 < f166c62cad798c53300b4b327e44300c73ec492d ; affected 40a13e2493c9882cb4d09054d81a5063cd1589a2 < 7109e941099244cc876a4b3cb7a3ec79f104374a ; affected 40a13e2493c9882cb4d09054d81a5063cd1589a2 < c99671d4699dcf90d6939923c8fe8a8918e140b2 ; affected 40a13e2493c9882cb4d09054d81a5063cd1589a2 < 8cfa238a48f34038464b99d0b4825238c2687181
Linux · Linuxaffected 4.5 ; unaffected 0 < 4.5 ; unaffected 5.10.158 ≤ 5.10.* ; unaffected 5.15.82 ≤ 5.15.* ; unaffected 6.0.12 ≤ 6.0.* ; unaffected 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