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()
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e17bc411aea8fbebc51857037f104ab09f765120 to < 5ba9956ca57e361fb13ea369bb753eb33177acc7affectede17bc411aea8fbebc51857037f104ab09f765120 to < 15950157e2c24865b696db1c9ccc72743ae0e967affectede17bc411aea8fbebc51857037f104ab09f765120 to < ff6e03fe84bc917bb0c907d02de668c2fe101712affectede17bc411aea8fbebc51857037f104ab09f765120 to < 814092927a215f5ca6c08249ec72a205e0b473cdaffectede17bc411aea8fbebc51857037f104ab09f765120 to < 0a4e5a3dc5e41212870e6043895ae02455c93f63affectede17bc411aea8fbebc51857037f104ab09f765120 to < 322271351b0e41565171e4cce70ea41854fac115affectede17bc411aea8fbebc51857037f104ab09f765120 to < fd5855e6b1358e816710afee68a1d2bc685176caaffected
Linux Linux
Default version status: affected
4.2affected0 to < 4.2unaffected4.14.285 to ≤ 4.14.*unaffected4.19.249 to ≤ 4.19.*unaffected5.4.200 to ≤ 5.4.*unaffected5.10.124 to ≤ 5.10.*unaffected5.15.49 to ≤ 5.15.*unaffected5.18.6 to ≤ 5.18.*unaffected5.19 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5ba9956ca57e361fb13ea369bb753eb33177acc7 ↗
- https://git.kernel.org/stable/c/15950157e2c24865b696db1c9ccc72743ae0e967 ↗
- https://git.kernel.org/stable/c/ff6e03fe84bc917bb0c907d02de668c2fe101712 ↗
- https://git.kernel.org/stable/c/814092927a215f5ca6c08249ec72a205e0b473cd ↗
- https://git.kernel.org/stable/c/0a4e5a3dc5e41212870e6043895ae02455c93f63 ↗
- https://git.kernel.org/stable/c/322271351b0e41565171e4cce70ea41854fac115 ↗
- https://git.kernel.org/stable/c/fd5855e6b1358e816710afee68a1d2bc685176ca ↗