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

Published Aug 16, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ice: add NULL check in eswitch lag check

The function icelagisswitchdevrunning() is being called from outside of the LAG event handler code. This results in the lag->uppernetdev being NULL sometimes. To avoid a NULL-pointer dereference, there needs to be a check before it is dereferenced.

Affected Software

13 affected components
Linux Linux kernel
Linux Linux kernel>=6.6.1<6.6.100
Linux Linux kernel>=6.7<6.12.40
Linux Linux kernel>=6.13<6.15.8
Linux Linux kernel=6.6
Linux Linux kernel=6.6-rc6
Linux Linux kernel=6.6-rc7
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4
Linux Linux kernel=6.16-rc5
Linux Linux kernel=6.16-rc6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the Linux kernel/ice driver so the LAG event handler performs a NULL-pointer check before dereferencing lag->upper_netdev (related to ice_lag_is_switchdev_running() being called from outside and sometimes causing NULL dereference).

    Linux kernel (ice driver) NULL check in eswitch lag check (ice_lag_is_switchdev_running() / lag->upper_netdev dereference) = Add NULL check before dereferencing lag->upper_netdev in the LAG event handler code

Event History

Aug 16, 2025
CVE Published
via MITRE·11:12 AM
Data Sourced
via MITRE·11:12 AM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38526?

CVE-2025-38526 is classified as a high severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-38526?

To fix CVE-2025-38526, you should update to the latest version of the Linux kernel that contains the patch addressing this vulnerability.

3

What systems are affected by CVE-2025-38526?

CVE-2025-38526 affects various versions of the Linux kernel where the specific ice driver functionality is utilized.

4

What is the nature of the issue in CVE-2025-38526?

CVE-2025-38526 involves a potential NULL pointer dereference in the ice driver when checking LAG status.

5

Has CVE-2025-38526 been resolved?

Yes, CVE-2025-38526 has been resolved in the Linux kernel with a patch that includes a NULL check in the relevant function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203