# CVE-2022-49027: iavf: Fix error handling in iavf_init_module()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-10-21T20:06:32.560Z
- Modified: 2026-06-17T05:16:53.013Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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")

(As written by CVE List.)

## Affected

- Linux Linux: from 2803b16c10ea7eec170c485388f5f26ae30e92fe before 971c55f0763b480e63ceb7a22beb19be2509e5ed; from 2803b16c10ea7eec170c485388f5f26ae30e92fe before 0d9f5bd54b913018031c5b964fc1f9a31f5f6cb5; from 2803b16c10ea7eec170c485388f5f26ae30e92fe before bd477b891a4fa084561234eed4afacb3001dd359; from 2803b16c10ea7eec170c485388f5f26ae30e92fe before 227d8d2f7f2278b8468c5531b0cd0f2a905b4486; 4.6 (not affected: before 4.6; from 5.10.158 up to 5.10.*; from 5.15.82 up to 5.15.*; from 6.0.12 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 4.6 before 5.10.158; from 5.11 before 5.15.82; from 5.16 before 6.0.12; 6.1

## References

- <https://git.kernel.org/stable/c/971c55f0763b480e63ceb7a22beb19be2509e5ed> (patch)
- <https://git.kernel.org/stable/c/0d9f5bd54b913018031c5b964fc1f9a31f5f6cb5> (patch)
- <https://git.kernel.org/stable/c/bd477b891a4fa084561234eed4afacb3001dd359> (patch)
- <https://git.kernel.org/stable/c/227d8d2f7f2278b8468c5531b0cd0f2a905b4486> (patch)

## Sources

- CVE List: [CVE-2022-49027](https://www.cve.org/CVERecord?id=CVE-2022-49027), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49027](https://nvd.nist.gov/vuln/detail/CVE-2022-49027), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49027 · Whole record: https://cve.day/CVE-2022-49027.json · Rebuilt by cve.day 2026-11-25T22:58:20.040Z
