[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050130-CVE-2022-49813-7d7b@gregkh>
Date: Thu, 1 May 2025 16:10:03 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49813: net: ena: Fix error handling in ena_init()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2022-49813 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.9 with commit 1738cd3ed342294360d6a74d4e58800004bff854 and fixed in 5.10.156 with commit 6b23a4b252044e4fd23438930d452244818d7000
Issue introduced in 4.9 with commit 1738cd3ed342294360d6a74d4e58800004bff854 and fixed in 5.15.80 with commit 3f7b2ef8fe924e299bc339811ea3f1b9935c040f
Issue introduced in 4.9 with commit 1738cd3ed342294360d6a74d4e58800004bff854 and fixed in 6.0.10 with commit 0e2369223b174d198ec42a3ec0a7f06c8727b968
Issue introduced in 4.9 with commit 1738cd3ed342294360d6a74d4e58800004bff854 and fixed in 6.1 with commit d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-49813
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/amazon/ena/ena_netdev.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/6b23a4b252044e4fd23438930d452244818d7000
https://git.kernel.org/stable/c/3f7b2ef8fe924e299bc339811ea3f1b9935c040f
https://git.kernel.org/stable/c/0e2369223b174d198ec42a3ec0a7f06c8727b968
https://git.kernel.org/stable/c/d349e9be5a2c2d7588a2c4e4bfa0bb3dc1226769
Powered by blists - more mailing lists