# CVE-2022-49813: net: ena: Fix error handling in ena_init()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-05-01T14:09:37.787Z
- Modified: 2026-11-05T20:17:13.707Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

net: ena: Fix error handling in ena_init()

The ena_init() won't destroy workqueue created by
create_singlethread_workqueue() when pci_register_driver() failed.
Call destroy_workqueue() when pci_register_driver() failed to prevent the
resource leak.

(As written by CVE List.)

## Affected

- Linux Linux: from 1738cd3ed342294360d6a74d4e58800004bff854 before 6b23a4b252044e4fd23438930d452244818d7000; from 1738cd3ed342294360d6a74d4e58800004bff854 before 3f7b2ef8fe924e299bc339811ea3f1b9935c040f; from 1738cd3ed342294360d6a74d4e58800004bff854 before 0e2369223b174d198ec42a3ec0a7f06c8727b968; from 1738cd3ed342294360d6a74d4e58800004bff854 before d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769; 4.9 (not affected: before 4.9; from 5.10.156 up to 5.10.*; from 5.15.80 up to 5.15.*; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 4.9 before 5.10.156; from 5.11 before 5.15.80; from 5.16 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/6b23a4b252044e4fd23438930d452244818d7000> (patch)
- <https://git.kernel.org/stable/c/3f7b2ef8fe924e299bc339811ea3f1b9935c040f> (patch)
- <https://git.kernel.org/stable/c/0e2369223b174d198ec42a3ec0a7f06c8727b968> (patch)
- <https://git.kernel.org/stable/c/d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769> (patch)

## Sources

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

---

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