CVE-2026-98112: Linux kernel · ksmbd: fix listener task lifetime on netdev events
Source GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in a506290f59e1c6ce9ac0a13158640bb8fee93471 : patch Linux kernel soon.
Data as of 23 Nov 2026, 10:22 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.8 |
|---|
- Patch
- Available – fixed in a506290f59e1c6ce9ac0a13158640bb8fee93471, 40581f10c1e56238b157af5f260b8f9518a0cbc1, 45c9926412526c776d5f035cd40cc0b4138f1bbb
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
Weaponized: 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 22 Nov 2026.
What to do
Upgrade Linux kernel to a506290f59e1c6ce9ac0a13158640bb8fee93471, 40581f10c1e56238b157af5f260b8f9518a0cbc1 or 45c9926412526c776d5f035cd40cc0b4138f1bbb.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
The vulnerability has been resolved in the Linux kernel by the described patch. Users should apply the official kernel updates that include this fix. Since this is a kernel-level issue, upgrading to a patched kernel version is the recommended remediation. No additional mitigations are indicated.
Description
CVE-2026-98112 is a high-severity vulnerability in the Linux kernel's ksmbd component related to improper handling of listener task lifetime 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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-98112 (opens in a new tab)
- git.kernel.org/stable/c/40581f10c1e56238b157af5f260b8f9518a0cbc1 (opens in a new tab)
- git.kernel.org/stable/c/45c9926412526c776d5f035cd40cc0b4138f1bbb (opens in a new tab)
- git.kernel.org/stable/c/a506290f59e1c6ce9ac0a13158640bb8fee93471 (opens in a new tab)