High · published February 26, 2025
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()
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.2, < 4.14.285 | 4.14.285 |
| linux/linux_kernel | ≥ 4.15, < 4.19.249 | 4.19.249 |
| linux/linux_kernel | ≥ 4.20, < 5.4.200 | 5.4.200 |
| linux/linux_kernel | ≥ 5.5, < 5.10.124 | 5.10.124 |
| linux/linux_kernel | ≥ 5.11, < 5.15.49 | 5.15.49 |
| linux/linux_kernel | ≥ 5.16, < 5.18.6 | 5.18.6 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |