dpaa2-switch: fix handling of NAPI on the remove path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 569df157eb874cb3b50554d73b89f31599397b42, Kernel 6518f87771c8833e587bd9881346fa759651c2ae, Kernel bd16f46d0796109d241d6311a7577f9956467c96 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.13, >=0b1b71370458860579831e77485883fcf2e8fbbe <569df157eb874cb3b50554d73b89f31599397b42, >=0b1b71370458860579831e77485883fcf2e8fbbe <6518f87771c8833e587bd9881346fa759651c2ae, >=0b1b71370458860579831e77485883fcf2e8fbbe <bd16f46d0796109d241d6311a7577f9956467c96, >=0b1b71370458860579831e77485883fcf2e8fbbe <c996faba71fc465ad12c6d177bd1a9ad974f9ee8, >=0b1b71370458860579831e77485883fcf2e8fbbe <d39603e21087e9ef9cd125e5895cdc70b2eb154d, >=0b1b71370458860579831e77485883fcf2e8fbbe <e23d7c8c1d4ba435c457d7ffb2669175ec819b07 | 569df157eb874cb3b50554d73b89f31599397b42, 6518f87771c8833e587bd9881346fa759651c2ae, bd16f46d0796109d241d6311a7577f9956467c96, c996faba71fc465ad12c6d177bd1a9ad974f9ee8, d39603e21087e9ef9cd125e5895cdc70b2eb154d, e23d7c8c1d4ba435c457d7ffb2669175ec819b07 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket