7.5high
ice: add NULL check in eswitch lag check
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.62% (higher than 44% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ice: add NULL check in eswitch lag check The function ice_lag_is_switchdev_running() is being called from outside of the LAG event handler code. This results in the lag->upper_netdev being NULL sometimes. To avoid a NULL-pointer dereference, there needs to be a check before it is dereferenced.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 776fe19953b0e0af00399e50fb3b205101d4b3c1 before 27591d926191e42b2332e4bad3bcd3a49def393b, from 776fe19953b0e0af00399e50fb3b205101d4b3c1 before 5a5d64f0eec82076b2c09fee2195d640cfbe3379, from 776fe19953b0e0af00399e50fb3b205101d4b3c1 before 245917d3c5ed7c6ae720302b64eac5c6f0c85177, from 776fe19953b0e0af00399e50fb3b205101d4b3c1 before 3ce58b01ada408b372f15b7c992ed0519840e3cf, 6.6 Not affected: before 6.6, from 6.6.100 up to 6.6.*, from 6.12.40 up to 6.12.*, from 6.15.8 up to 6.15.*, from 6.16 up to * | CVE List |
| linux linux_kernel | from 6.6.1 before 6.6.100, from 6.7 before 6.12.40, from 6.13 before 6.15.8, 6.6, 6.16 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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 |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ice: add NULL check in eswitch lag check The function ice_lag_is_switchdev_running() is being called from outside of the LAG event handler code. This results in the lag->upper_netdev being NULL sometimes. To avoid a NULL-pointer dereference, there needs to be a check before it is dereferenced.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ice: añadir comprobación NULL en la comprobación de retardo de eswitch. La función ice_lag_is_switchdev_running() se llama desde fuera del código del controlador de eventos LAG. Esto provoca que lag->upper_netdev sea NULL en ocasiones. Para evitar una desreferencia de puntero NULL, es necesario realizar una comprobación antes de desreferenciarlo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38526 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-38526 changed 2026-10-15 | Public domain |