CVE-2026-98175

smb: client: cancel reconnect work in clean_demultiplex_info()

Published Oct 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: cancel reconnect work in clean_demultiplex_info()

clean_demultiplex_info() cancels server->echo delayed work but not
server->reconnect, which can cause a use-after-free when the
demultiplex thread exits while a reconnect work is still queued:

cifs_demultiplex_thread()
cifs_readv_from_socket()
cifs_reconnect()
__cifs_reconnect()
cifs_queue_server_reconn()
mod_delayed_work(cifsiod_wq, &server->reconnect, 0)
clean_demultiplex_info()
cancel_delayed_work_sync(&server->echo) // echo canceled
// reconnect NOT canceled
kfree_sensitive(server) // server freed

...later, on cifsiod_wq:

smb2_reconnect_server()
server->srv_count // UAF read of freed server

Fix this by canceling server->reconnect delayed work in
clean_demultiplex_info() before the server is freed, the same way
cifs_put_tcp_session() already does.

Analysis

AI-generated

Technical impact

The CVE involves a use‑after‑free in the Linux kernel SMB client. When the demultiplex thread exits, clean_demultiplex_info() cancels only the server echo delayed work while leaving the reconnect delayed work scheduled. The server structure is then freed, and the queued reconnect work later dereferences the freed structure. This undefined memory access can corrupt kernel memory, potentially causing a kernel panic or other instability but does not explicitly prove code execution. This problem is linked to CWE-825, an Improper Handling of Payload leading to a Security Problem.

Affected Systems

All Linux kernel releases that contain the SMB client code before the patch are affected, including mainline kernels from multiple years and downstream distributions that have not yet adopted the remediation. The fix is present in subsequent kernel versions that incorporate the updated clean_demultiplex_info() logic.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of < 1% and absence from the CISA KEV catalog suggest a low likelihood of active exploitation. The failure can lead to kernel memory corruption that may result in a denial of service or, in some configurations, privilege elevation if an attacker can control freed memory contents. The likely attack vector is remote SMB traffic that triggers a reconnection attempt in the vulnerable client; based on the description, it is inferred that an attacker could deliver specially crafted SMB packets to an affected host to invoke the reconnect logic. However, code execution has not been confirmed in the available data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the SMB client fix, ensuring that clean_demultiplex_info() also cancels the reconnect delayed work before freeing the server structure.
  • If a kernel update is unavailable, disable CIFS/SMB client functionality entirely or restrict SMB traffic to trusted networks to limit exposure to the vulnerable code.
  • Enable kernel hardening options such as CONFIG_HARDENED_USERCOPY, enable KASLR, and apply the "restrict" state in SELinux or AppArmor to constrain the SMB client process if it must remain enabled.

Generated by OpenCVE AI on October 9, 2026 at 05:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: cancel reconnect work in clean_demultiplex_info() clean_demultiplex_info() cancels server->echo delayed work but not server->reconnect, which can cause a use-after-free when the demultiplex thread exits while a reconnect work is still queued: cifs_demultiplex_thread() cifs_readv_from_socket() cifs_reconnect() __cifs_reconnect() cifs_queue_server_reconn() mod_delayed_work(cifsiod_wq, &server->reconnect, 0) clean_demultiplex_info() cancel_delayed_work_sync(&server->echo) // echo canceled // reconnect NOT canceled kfree_sensitive(server) // server freed ...later, on cifsiod_wq: smb2_reconnect_server() server->srv_count // UAF read of freed server Fix this by canceling server->reconnect delayed work in clean_demultiplex_info() before the server is freed, the same way cifs_put_tcp_session() already does.
Title smb: client: cancel reconnect work in clean_demultiplex_info()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:15 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 6, 2026, 9:17 AM
Modified
Oct 19, 2026, 10:18 AM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM