ksmbd: fix listener task lifetime on netdev events
- 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 7.2.7
- 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: ksmbd: fix listener task lifetime on netdev events The listener thread exits when its listening socket is shutdown. The netdevice notifier shuts down the socket before calling kthread_stop(), so the task_struct can be freed before kthread_stop() gets its reference. Create the listener in a stopped state and hold an extra task_struct reference until kthread_stop_put() completes. Also stop and release listeners before freeing their interface records during TCP teardown.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 3316a8fc840d82fad5efcf76ad0ea3f76fdca209 · fixed in 40581f10c1e56238b157af5f260b8f9518a0cbc1; From 3316a8fc840d82fad5efcf76ad0ea3f76fdca209 · fixed in a506290f59e1c6ce9ac0a13158640bb8fee93471
- Linux Linux
6.19
- KernelLinux
From 6.19.0 · fixed in 7.2.7