| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-48896: ixgbe: fix pci device refcount leak |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| ixgbe: fix pci device refcount leak |
| |
| As the comment of pci_get_domain_bus_and_slot() says, it |
| returns a PCI device with refcount incremented, when finish |
| using it, the caller must decrement the reference count by |
| calling pci_dev_put(). |
| |
| In ixgbe_get_first_secondary_devfn() and ixgbe_x550em_a_has_mii(), |
| pci_dev_put() is called to avoid leak. |
| |
| The Linux kernel CVE team has assigned CVE-2022-48896 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.0 with commit 8fa10ef01260937eb540b4e9bbc3efa023595993 and fixed in 5.4.229 with commit 53cefa802f070d46c0c518f4865be2c749818a18 |
| Issue introduced in 5.0 with commit 8fa10ef01260937eb540b4e9bbc3efa023595993 and fixed in 5.10.164 with commit 112df4cd2b09acd64bcd18f5ef83ba5d07b34bf0 |
| Issue introduced in 5.0 with commit 8fa10ef01260937eb540b4e9bbc3efa023595993 and fixed in 5.15.89 with commit 4c93422a54cd6a349988f42e1c6bf082cf4ea9d8 |
| Issue introduced in 5.0 with commit 8fa10ef01260937eb540b4e9bbc3efa023595993 and fixed in 6.1.7 with commit c49996c6aa03590e4ef5add8772cb6068d99fd59 |
| Issue introduced in 5.0 with commit 8fa10ef01260937eb540b4e9bbc3efa023595993 and fixed in 6.2 with commit b93fb4405fcb5112c5739c5349afb52ec7f15c07 |
| |
| 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-48896 |
| 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/intel/ixgbe/ixgbe_phy.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/53cefa802f070d46c0c518f4865be2c749818a18 |
| https://git.kernel.org/stable/c/112df4cd2b09acd64bcd18f5ef83ba5d07b34bf0 |
| https://git.kernel.org/stable/c/4c93422a54cd6a349988f42e1c6bf082cf4ea9d8 |
| https://git.kernel.org/stable/c/c49996c6aa03590e4ef5add8772cb6068d99fd59 |
| https://git.kernel.org/stable/c/b93fb4405fcb5112c5739c5349afb52ec7f15c07 |