Use-after-free in Linux kernel - CVE-2026-98870

 

Use-after-free in Linux kernel - CVE-2026-98870

Published: October 24, 2026


Vulnerability identifier: #VU157634
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98870
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Linux kernel

How to mitigate CVE-2026-98870

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3

External References

Related Security Bulletins