CVE-2025-38526
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.6.1 before 6.6.100, from 6.7 before 6.12.40, from 6.13 before 6.15.8, 6.6, 6.16NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

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

SourceRecordLicence
CVE ListCVE-2025-38526 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-38526 changed 2026-10-15Public domain