ksmbd: fix listener task lifetime on netdev events
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 45c9926412526c776d5f035cd40cc0b4138f1bbb, Kernel 7.2.7, Kernel 40581f10c1e56238b157af5f260b8f9518a0cbc1 and 1 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, =7.3, >=efa5011add23319d6fbeeac2c03a3e3df35e99f3 <45c9926412526c776d5f035cd40cc0b4138f1bbb, >=6.19 <7.2.7, >=3316a8fc840d82fad5efcf76ad0ea3f76fdca209 <40581f10c1e56238b157af5f260b8f9518a0cbc1, >=3316a8fc840d82fad5efcf76ad0ea3f76fdca209 <a506290f59e1c6ce9ac0a13158640bb8fee93471 | 45c9926412526c776d5f035cd40cc0b4138f1bbb, 7.2.7, 40581f10c1e56238b157af5f260b8f9518a0cbc1, a506290f59e1c6ce9ac0a13158640bb8fee93471 |
| linux-kernel: Kernel | >=6.19.0 <7.2.7 | 7.2.7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket