Bug 2320673 (CVE-2022-49028)

Summary: CVE-2022-49028 kernel: ixgbevf: Fix resource leak in ixgbevf_init_module()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2024-10-21 21:01:56 UTC
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")

Comment 1 Avinash Hanwate 2024-10-22 08:40:56 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102155-CVE-2022-49028-78e7@gregkh/T

Comment 3 Keith Grant 2025-01-22 14:02:04 UTC
The fixes for this flaw were included in the following errata:
RHEL 8: https://access.redhat.com/errata/RHSA-2023:7077
RHEL 9: https://access.redhat.com/errata/RHSA-2023:6583