CVE-2026-97434: dpaa2-switch: fix handling of NAPI on the remove path

Published Sep 24, 2026
·
Updated

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

dpaa2-switch: fix handling of NAPI on the remove path

All the NAPI instances for a DPSW device are attached to the first switch port's netdevice but shared by all ports. The NAPI instances get disabled only once the last port goes down.

This causes an issue on the .remove() path where each port is unregistered and freed one at a time, causing the NAPI instances to be deleted even though they are not disabled.

In order to avoid this, split up the unregisternetdev() calls from the freenetdev() so that we make sure all ports go down before we attempt a deletion of NAPI instances. Also, make the netifnapidel() explicit as it is on the .probe() path.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 24, 2026
CVE Published
via MITRE·04:03 PM
Data Sourced
via MITRE·04:03 PM
Description
Data Sourced
via NVD·05:17 PM
Description

Frequently Asked Questions

1

Which systems are in scope?

The issue applies to Linux kernel systems using the dpaa2-switch driver with a DPSW device. It is triggered during device removal rather than being described as a general packet-processing issue.

2

When does the unsafe teardown condition occur?

It occurs when switch ports are unregistered and freed one at a time while shared NAPI instances have not yet been disabled. The NAPI instances are attached to the first switch port's net_device but are shared across all ports.

3

What should the corrected removal sequence do?

All ports should be brought down through unregister_netdev() before their net_devices are freed. NAPI deletion should then occur only after the shared instances are disabled, with netif_napi_del() performed explicitly.

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