---
id: CVE-2022-49813
title: 'net: ena: Fix error handling in ena_init()'
summary: |-
  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 de…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 <
    6b23a4b252044e4fd23438930d452244818d7000
  - >-
    Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 <
    3f7b2ef8fe924e299bc339811ea3f1b9935c040f
  - >-
    Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 <
    0e2369223b174d198ec42a3ec0a7f06c8727b968
  - >-
    Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 <
    d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769
  - Linux 4.9
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:49:20.279305Z'
published: '2025-05-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:49:51.049Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49813'
references:
  - url: 'https://git.kernel.org/stable/c/6b23a4b252044e4fd23438930d452244818d7000'
  - url: 'https://git.kernel.org/stable/c/3f7b2ef8fe924e299bc339811ea3f1b9935c040f'
  - url: 'https://git.kernel.org/stable/c/0e2369223b174d198ec42a3ec0a7f06c8727b968'
  - url: 'https://git.kernel.org/stable/c/d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769'
tags:
  - cve.org
epss: 0.00202
epssPercentile: 0.10138
ingestedAt: '2026-11-05T22:38:31.601Z'
---

## Overview

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.

## Affected

- `Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 < 6b23a4b252044e4fd23438930d452244818d7000`
- `Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 < 3f7b2ef8fe924e299bc339811ea3f1b9935c040f`
- `Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 < 0e2369223b174d198ec42a3ec0a7f06c8727b968`
- `Linux >= 1738cd3ed342294360d6a74d4e58800004bff854 < d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769`
- `Linux 4.9`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
