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.
Published: 2026-10-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Immediate Patch
AI Analysis

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.

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

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
History

Fri, 09 Oct 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 09 Oct 2026 00:15:00 +0000


Wed, 07 Oct 2026 07:00:00 +0000

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'}


Tue, 06 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:15:06.742Z

Reserved: 2026-09-25T10:25:14.322Z

Link: CVE-2026-98175

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:17:59.477

Modified: 2026-10-19T10:18:17.840

Link: CVE-2026-98175

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98175 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T05:45:20Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference