What’s Vulnerable › Vulnerabilities
CVE-2026-98112: ksmbd: fix listener task lifetime on netdev events
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-25 · updated 2026-10-28
- Weakness: CWE-362
Description
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 products
- Linux kernel: from 6.19 before 7.2.7; 7.3-rc1 — fixed in 7.2.7
- Linux kernel: 6.19 — fixed in 7.3
How to fix
Upgrade to a fixed version: Linux kernel 7.2.7; Linux kernel 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/40581f10c1e56238b157af5f260b8f9518a0cbc1
- https://git.kernel.org/stable/c/a506290f59e1c6ce9ac0a13158640bb8fee93471
Get alerted when CVE-2026-98112 or the next vulnerability affects your stack