Skip to main content
VulnerabilityPublished Updated

CVE-2026-98112: Linux kernel · ksmbd: fix listener task lifetime on netdev events

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High : upgrade to a506290f59e1c6ce9ac0a13158640bb8fee93471 or 40581f10c1e56238b157af5f260b8f9518a0cbc1 soon.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 3316a8fc840d82fad5efcf76ad0ea3f76fdca209, < a506290f59e1c6ce9ac0a13158640bb8fee93471
Fixed in
  • a506290f59e1c6ce9ac0a13158640bb8fee93471
LinuxLinuxAffected
  • ≥ 3316a8fc840d82fad5efcf76ad0ea3f76fdca209, < 40581f10c1e56238b157af5f260b8f9518a0cbc1
Fixed in
  • 40581f10c1e56238b157af5f260b8f9518a0cbc1
LinuxLinuxAffected
  • =6.19
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.

References

Community reviews

Loading reviews…