Bug 2348063 (CVE-2022-49725) - CVE-2022-49725 kernel: i40e: Fix call trace in setup_tx_descriptors
Summary: CVE-2022-49725 kernel: i40e: Fix call trace in setup_tx_descriptors
Keywords:
Status: NEW
Alias: CVE-2022-49725
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:16 UTC by OSIDB Bzimport
Modified: 2025-02-26 17:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:16:19 UTC
In the Linux kernel, the following vulnerability has been resolved:

i40e: Fix call trace in setup_tx_descriptors

After PF reset and ethtool -t there was call trace in dmesg
sometimes leading to panic. When there was some time, around 5
seconds, between reset and test there were no errors.

Problem was that pf reset calls i40e_vsi_close in prep_for_reset
and ethtool -t calls i40e_vsi_close in diag_test. If there was not
enough time between those commands the second i40e_vsi_close starts
before previous i40e_vsi_close was done which leads to crash.

Add check to diag_test if pf is in reset and don't start offline
tests if it is true.
Add netif_info("testing failed") into unhappy path of i40e_diag_test()

Comment 1 Avinash Hanwate 2025-02-26 12:33:30 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022633-CVE-2022-49725-5494@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 17:01:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022633-CVE-2022-49725-5494@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.