Use-after-free in Linux kernel - CVE-2026-98870
Published: October 24, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service through kernel memory corruption.
The vulnerability exists due to use-after-free in ksmbd_sessions_deregister() when tearing down connections whose session channels remain registered after the connection's binding flag is cleared. A remote user can bind a connection to another session, clear the binding flag through a subsequent session setup, and disconnect, leaving a stale channel pointer that is dereferenced during the owning connection's later teardown to corrupt freed kernel memory and potentially cause a denial of service.
Affected software
How to mitigate CVE-2026-98870
External References
- https://git.kernel.org/stable/c/9cd6d714d3ca0cff296542dc989696884e41970f
- https://git.kernel.org/stable/c/a15cae16f4432a5ad919ee633e31b07178492955
- https://git.kernel.org/stable/c/b10665730fbf6b5e45fe422badcbbc3f0df96ef5
- https://git.kernel.org/stable/c/b145f9b56c87f9c23ad5464ab0844dbc1de12b36
- https://git.kernel.org/stable/c/f8200bb4994e65a2e5c5b314789eeae39078619d