CVE-2022-49725 i40e: Fix call trace in setup_tx_descriptors
A race condition in the i40e network driver can cause a kernel panic when a PF reset and ethtool test occur simultaneously, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49725?
CVE-2022-49725 is a high-severity vulnerability in Linux kernel, published on 26 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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()
Which versions are affected by CVE-2022-49725?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49725?
Apply the vendor's patch.
Is CVE-2022-49725 being exploited?
There is no known exploitation of CVE-2022-49725 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49725, GHSA-f3hm-2q4w-7w9x, UBUNTU-CVE-2022-49725.