7.8high
i40e: Fix call trace in setup_tx_descriptors
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.31% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e17bc411aea8fbebc51857037f104ab09f765120 before 5ba9956ca57e361fb13ea369bb753eb33177acc7, from e17bc411aea8fbebc51857037f104ab09f765120 before 15950157e2c24865b696db1c9ccc72743ae0e967, from e17bc411aea8fbebc51857037f104ab09f765120 before ff6e03fe84bc917bb0c907d02de668c2fe101712, from e17bc411aea8fbebc51857037f104ab09f765120 before 814092927a215f5ca6c08249ec72a205e0b473cd, from e17bc411aea8fbebc51857037f104ab09f765120 before 0a4e5a3dc5e41212870e6043895ae02455c93f63, from e17bc411aea8fbebc51857037f104ab09f765120 before 322271351b0e41565171e4cce70ea41854fac115, from e17bc411aea8fbebc51857037f104ab09f765120 before fd5855e6b1358e816710afee68a1d2bc685176ca, 4.2 Not affected: before 4.2, from 4.14.285 up to 4.14.*, from 4.19.249 up to 4.19.*, from 5.4.200 up to 5.4.*, from 5.10.124 up to 5.10.*, from 5.15.49 up to 5.15.* | CVE List |
| linux linux_kernel | from 4.2 before 4.14.285, from 4.15 before 4.19.249, from 4.20 before 5.4.200, from 5.5 before 5.10.124, from 5.11 before 5.15.49, from 5.16 before 5.18.6, 5.19 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
What each source says
CVE List
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()
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i40e: Se corrige el seguimiento de llamadas en setup_tx_descriptors Después de reiniciar PF y ethtool -t, había un seguimiento de llamadas en dmesg que a veces provocaba pánico. Cuando había un tiempo, alrededor de 5 segundos, entre reiniciar y probar, no había errores. El problema era que pf reset llama a i40e_vsi_close en prep_for_reset y ethtool -t llama a i40e_vsi_close en diag_test. Si no había suficiente tiempo entre esos comandos, el segundo i40e_vsi_close se inicia antes de que se hiciera el i40e_vsi_close anterior, lo que provoca un bloqueo. Agregue una verificación a diag_test si pf está en reinicio y no inicie pruebas fuera de línea si es verdadero. Agregue netif_info("prueba fallida") en la ruta no feliz de i40e_diag_test()
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49725 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2022-49725 changed 2026-08-04 | Public domain |