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

High 7.5 Published Updated

A missing NULL check in the Linux kernel ice driver can cause a crash when handling LAG events, leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38526?

CVE-2025-38526 is a high-severity vulnerability in Linux kernel, published on 16 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2025-38526?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38526?

Apply the vendor's patch.

Is CVE-2025-38526 being exploited?

There is no known exploitation of CVE-2025-38526 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-66347, BELL-CVE-2025-38526, DEBIAN-CVE-2025-38526, GHSA-f2wc-6g38-9vmc, ROOT-OS-DEBIAN-13-CVE-2025-38526, ROOT-OS-UBUNTU-2404-CVE-2025-38526 and 1 more.

Is CVE-2025-38526 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free