usbnet: Prevents free active kevent
- 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.4.302, 5.10.247, 5.15.197, 4.10, 4.15, and 3 more
- 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
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: usbnet: Prevents free active kevent The root cause of this issue are: 1. When probing the usbnet device, executing usbnet_link_change(dev, 0, 0); put the kevent work in global workqueue. However, the kevent has not yet been scheduled when the usbnet device is unregistered. Therefore, executing free_netdev() results in the "free active object (kevent)" error reported here. 2. Another factor is that when calling usbnet_disconnect()->unregister_netdev(), if the usbnet device is up, ndo_stop() is executed to cancel the kevent. However, because the device is not up, ndo_stop() is not executed. The solution to this problem is to cancel the kevent before executing free_netdev().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 5.4.211 · fixed in 5.4.302; From 5.10.137 · fixed in 5.10.247; From 5.15.61 · fixed in 5.15.197; From 4.9.326 · fixed in 4.10; From 4.14.291 · fixed in 4.15; From 4.19.256 · fixed in 4.20; From 5.18.18 · fixed in 5.19; From 5.19.2 · fixed in 5.20
- Linux Linux
6.0
References 8
git.kernel.org
- stable/c/285d4b953f2ca03c358f986718dd89ee9bde632e
- stable/c/88a38b135d69f5db9024ff6527232f1b51be8915
- stable/c/43005002b60ef3424719ecda16d124714b45da3b
- stable/c/3a10619fdefd3051aeb14860e4d4335529b4e94d
- stable/c/9a579d6a39513069d298eee70770bbac8a148565
- stable/c/2ce1de32e05445d77fc056f6ff8339cfb78a5f84
- stable/c/5158fb8da162e3982940f30cd01ed77bdf42c6fc
- stable/c/420c84c330d1688b8c764479e5738bbdbf0a33de