# CVE-2025-38526: ice: add NULL check in eswitch lag check

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 44% of CVEs (2026-11-30)
- Published: 2025-08-16T11:12:20.036Z
- Modified: 2026-10-15T22:18:44.427Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- 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

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/27591d926191e42b2332e4bad3bcd3a49def393b> (patch)
- <https://git.kernel.org/stable/c/5a5d64f0eec82076b2c09fee2195d640cfbe3379> (patch)
- <https://git.kernel.org/stable/c/245917d3c5ed7c6ae720302b64eac5c6f0c85177> (patch)
- <https://git.kernel.org/stable/c/3ce58b01ada408b372f15b7c992ed0519840e3cf> (patch)

## Sources

- CVE List: [CVE-2025-38526](https://www.cve.org/CVERecord?id=CVE-2025-38526), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-38526](https://nvd.nist.gov/vuln/detail/CVE-2025-38526), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-38526 · Whole record: https://cve.day/CVE-2025-38526.json · Rebuilt by cve.day 2026-11-25T22:59:02.626Z
