CVE-2022-49027

iavf: Fix error handling in iavf_init_module()

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

iavf: Fix error handling in iavf_init_module()

The iavf_init_module() won't destroy workqueue when pci_register_driver() failed. Call destroy_workqueue() when pci_register_driver() failed to prevent the resource leak.

Similar to the handling of u132_hcd_init in commit f276e002793c ("usb: u132-hcd: fix resource leak")

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2803b16c10ea7eec170c485388f5f26ae30e92fe to before 971c55f0763b480e63ceb7a22beb19be2509e5edAffected
  • 2803b16c10ea7eec170c485388f5f26ae30e92fe to before 0d9f5bd54b913018031c5b964fc1f9a31f5f6cb5Affected
  • 2803b16c10ea7eec170c485388f5f26ae30e92fe to before bd477b891a4fa084561234eed4afacb3001dd359Affected
  • 2803b16c10ea7eec170c485388f5f26ae30e92fe to before 227d8d2f7f2278b8468c5531b0cd0f2a905b4486Affected
LinuxLinux
  • 4.6Affected
  • before 4.6Not affected
  • 5.10.158 through 5.10.*Not affected
  • 5.15.82 through 5.15.*Not affected
  • 6.0.12 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.