EN
FREN
CVE-2026-98870, ksmbd: remove stale channels from all sessions on teardown
8.8High

CVE-2026-98870 : Linux · high

CVE-2026-98870 · published on October 23, 2026 at 11:37 · updated on October 24, 2026 at 14:09 · CVSS 3.1, read on November 26, 2026

8.8CVSS score
35days since publication
linux

The CVSS score measures technical severity, not your exposure. Here: attack remote, with an account, with no particular condition, with no action from the victim. A high score on software you do not use does not concern you, and a medium score on exposed software still needs fixing.

What this vulnerability allows, plainly. Remote code execution, with an account, from the internet. The attacker runs their own commands on the server.

In practice, for a business:

  • full takeover of the site, content and customer accounts included
  • a backdoor planted that survives the update
  • hosting bills and brand reputation damaged

This software is not part of the general network we measure: it lives on workstations, internal servers or appliances that are not reachable from the internet, unless their port is publicly exposed. That is exactly when exposure becomes real, and it is what we check as soon as a version is readable from outside.

What is the CVE-2026-98870 vulnerability ?

In the Linux kernel, the following vulnerability has been resolved: ksmbd: remove stale channels from all sessions on teardown ksmbd_sessions_deregister() removes a connection's channels from other sessions' channel lists only while conn->binding is still set: if (conn->binding) { hash_for_each_safe(sessions_table, ...) ksmbd_chann_del(conn, sess), } conn->binding is a transient flag: it is cleared once a binding SESSION_SETUP completes, and also by a subsequent non-binding SESSION_SETUP on the same connection (a reauthentication on a bound channel, or a new SessionId==0 setup). A connection that has bound a channel into another session's ksmbd_chann_list and then clears conn->binding leaves that channel behind when it disconnects: the channel, whose chann->conn points at the now freed struct ksmbd_conn, stays on the owner session's list. When the owning connection later tears down, the second loop dereferences the stale channel: xa_for_each(&sess->ksmbd_chann_list, chann_id, chann) if (chann->conn != conn) ksmbd_conn_set_exiting(chann->conn), /* freed */ which is a use-after-free write into the freed ksmbd_conn (the same stale channel is also walked by show_proc_session() through /proc). The session is leaked as well, because its channel list never empties. Remove the conn->binding gate so a connection always removes its channels from every session on teardown.

Just before this one, two listings for the same software were published: CVE-2026-99804 (2026-11-20), then CVE-2026-99803 (2026-11-20).

A version range is read like an interval, with the lower bound included and the upper bound excluded, unless the publisher states otherwise. Comparing two version numbers is not comparing two numbers. Each part is read separately, from strongest to weakest, and a maintenance release can fix a vulnerability without changing the major number. This is why a site that announces it is "up to date" can still be vulnerable if its version is earlier than the fix bound. The only way to decide is to read the number actually published by the site, then compare it to the bound. When a site publishes no number, no conclusion is possible, and we record "not assessable" rather than assume a version. A flattering assumption is more dangerous than no answer, because it puts people to sleep. Also beware of branches maintained in parallel. A publisher can fix the same vulnerability on three different branches, with three different numbers, and the published bound applies only to the branch it names.

Which software and version are affected by the CVE-2026-98870 vulnerability ?

  • Linux, jusqu'aux versions f8200bb4994e65a2e5c5b314789eeae39078619d, 9cd6d714d3ca0cff296542dc989696884e41970f, b145f9b56c87f9c23ad5464ab0844dbc1de12b36, a15cae16f4432a5ad919ee633e31b07178492955, b10665730fbf6b5e45fe422badcbbc3f0df96ef5, e632f21a8bc0c59abc4960482836ac3782db93c0 et 5.16 incluses et à partir des versions 1b6ed903a6e2b3505a48706bcd499b447ef9e44, 47b018dba6ec7ebf403fd2d1e713bc7acc9bbb23, 9ef4dfd5edbd02f4bf10cd420a30896093d98a67, 5a5b0b7a01fe19b383b3c046546b5ae30c1a7d71, 8578c77f3d846aca9cd882c293e03eafcc6df, 632f21a8bc0c59abc4960482836ac3782db93c0 et 5.15.222

The software named above is the one the advisory identifies as vulnerable, along with the affected version range. A range is read as an interval, lower bound included and upper bound excluded, unless the vendor states otherwise. The version published by a site is read from its served files, not from its administration interface, because that is what an attacker sees. A site that declares itself up to date can therefore remain vulnerable if its version is earlier than the fix threshold. Conversely, a backported patch closes the flaw without changing the major number. We therefore never conclude on the sole number displayed by a vendor. When a site publishes no version, we write "not assessable" rather than assume.

Are French sites affected by the CVE-2026-98870 vulnerability ?

No main domain of our estate uses this software, or we have not seen it yet.

The CVE-2026-98870 vulnerability affects Linux up to versions f8200bb4994e65a2e5c5b314789eeae39078619d, 9cd6d714d3ca0cff296542dc989696884e41970f, b145f9b56c87f9c23ad5464ab0844dbc1de12b36, a15cae16f4432a5ad919ee633e31b07178492955, b10665730fbf6b5e45fe422badcbbc3f0df96ef5, e632f21a8bc0c59abc4960482836ac3782db93c0 et 5.16 inclusive. No trace of this software in the sites we measure. Our measurement covers websites and their software components, not network hardware or microcode, which expose no version number. The real exposure of this vulnerability stays out of our reach, and we do not put a figure on it. The flaw was published on 23 October 2026. It was updated on 24 October 2026. The version reading is dated 26 November 2026. To fix it, Linux must be updated beyond version f8200bb4994e65a2e5c5b314789eeae39078619d: any later version is not affected by this flaw. A site that stays below that bound keeps the door open, even if the rest of its components is up to date. The catalogue lists 18 924 flaws on this software since the census began, 8 800 of them in 2026, the oldest dating from 10 January 2015. The estate figures come from our own reading of the versions the sites serve, not from an estimate: a domain that hides its version is not counted, which makes the total lower than the number of sites that use Linux.

How to fix the CVE-2026-98870 vulnerability ?

Fixing is done in a specific order, and that order matters as much as the fix itself. First, identify the version in place, without relying on the administration display, because a number is read in the served files and that is what an attacker sees. Then back up, then update to a version later than the threshold indicated by the publisher. If a direct update is not possible, apply the security patch published for your branch, which closes the flaw without changing major version. Finally verify, by re-reading the number after the operation and confirming that the page that caused the problem still responds. An unverified update is a presumed update. If the software is no longer maintained, the only solid answer is replacement, because an isolated patch on an abandoned branch will not hold against the next flaw. Also consider what surrounds the software. Extensions, modules and themes follow their own schedule, and a core update does not fix a faulty module. Finally, note the date of your fix. It will serve later to prove that the flaw was closed before being exploited.

  1. Identify the installed version of the affected software.
  2. Apply the update that goes beyond the fixed limit published above.
  3. If the update is not possible, disable the component or remove the exposed feature.
  4. Check afterwards that the installed version is well beyond the threshold, using the same command that was used to read it.

Where to find the fix and the proofs for the CVE-2026-98870 vulnerability ?

No public evidence recorded to date. Its absence does not mean nobody exploits it: a successful attack is not published. 5 references published for this flaw, 5 of them shown here. The list starts with what fixes it (commit, patched release, affected code), then the vendor advisory, then public evidence. Each link opens the original source in a new tab.

Other vulnerabilities in the same module

Continue