dpaa2-switch: fix handling of NAPI on the remove path
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 0b1b71370458860579831e77485883fcf2e8fbbe · fixed in d39603e21087e9ef9cd125e5895cdc70b2eb154d; From 0b1b71370458860579831e77485883fcf2e8fbbe · fixed in bd16f46d0796109d241d6311a7577f9956467c96; From 0b1b71370458860579831e77485883fcf2e8fbbe · fixed in c996faba71fc465ad12c6d177bd1a9ad974f9ee8; From 0b1b71370458860579831e77485883fcf2e8fbbe · fixed in 569df157eb874cb3b50554d73b89f31599397b42; From 0b1b71370458860579831e77485883fcf2e8fbbe · fixed in 6518f87771c8833e587bd9881346fa759651c2ae; From 0b1b71370458860579831e77485883fcf2e8fbbe · fixed in e23d7c8c1d4ba435c457d7ffb2669175ec819b07
- Linux Linux
5.13
- KernelLinux
From 5.13.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53