Description
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 net_device 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 unregister_netdev() calls from the free_netdev() so that we make sure all ports go down before we attempt a deletion of NAPI instances. Also, make the netif_napi_del() explicit as it is on the .probe() path.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0b1b71370458860579831e77485883fcf2e8fbbe to < d39603e21087e9ef9cd125e5895cdc70b2eb154daffected0b1b71370458860579831e77485883fcf2e8fbbe to < bd16f46d0796109d241d6311a7577f9956467c96affected0b1b71370458860579831e77485883fcf2e8fbbe to < c996faba71fc465ad12c6d177bd1a9ad974f9ee8affected0b1b71370458860579831e77485883fcf2e8fbbe to < 569df157eb874cb3b50554d73b89f31599397b42affected0b1b71370458860579831e77485883fcf2e8fbbe to < 6518f87771c8833e587bd9881346fa759651c2aeaffected0b1b71370458860579831e77485883fcf2e8fbbe to < e23d7c8c1d4ba435c457d7ffb2669175ec819b07affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/d39603e21087e9ef9cd125e5895cdc70b2eb154d ↗
- https://git.kernel.org/stable/c/bd16f46d0796109d241d6311a7577f9956467c96 ↗
- https://git.kernel.org/stable/c/c996faba71fc465ad12c6d177bd1a9ad974f9ee8 ↗
- https://git.kernel.org/stable/c/569df157eb874cb3b50554d73b89f31599397b42 ↗
- https://git.kernel.org/stable/c/6518f87771c8833e587bd9881346fa759651c2ae ↗
- https://git.kernel.org/stable/c/e23d7c8c1d4ba435c457d7ffb2669175ec819b07 ↗