CVE-2026-98112: Linux kernel · ksmbd: fix listener task lifetime on netdev events
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade to a506290f59e1c6ce9ac0a13158640bb8fee93471 or 40581f10c1e56238b157af5f260b8f9518a0cbc1 soon.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in a506290f59e1c6ce9ac0a13158640bb8fee93471, 40581f10c1e56238b157af5f260b8f9518a0cbc1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Linux kernel to a506290f59e1c6ce9ac0a13158640bb8fee93471 or 40581f10c1e56238b157af5f260b8f9518a0cbc1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix is available in the Linux kernel as indicated by the fixed commit versions a506290f59e1c6ce9ac0a13158640bb8fee93471 and 40581f10c1e56238b157af5f260b8f9518a0cbc1. Users should update to a patched kernel version that includes these commits to remediate the vulnerability. No additional mitigation steps are indicated.
Description
CVE-2026-98112 is a high-severity vulnerability in the Linux kernel's ksmbd component related to improper management of listener task lifetimes on network device events. The issue arises because the listener thread exits when its listening socket is shut down, but the netdevice notifier shuts down the socket before calling kthread_stop(), potentially freeing the task_struct prematurely. This can lead to use-after-free conditions. The fix involves creating the listener in a stopped state, holding an extra task_struct reference until kthread_stop_put() completes, and properly stopping and releasing listeners before freeing interface records during TCP teardown.