Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: Fix use-after-free in cifs_try_adding_channels()

cifs_try_adding_channels() takes a temporary reference to an interface
before dropping iface_lock. If cifs_ses_add_channel() fails, it drops
that reference and then increments iface->weight_fulfilled.

A concurrent interface list refresh can remove the list reference while
channel creation is in progress. In that case, the failure-path
kref_put() releases the last reference and frees iface. Updating
weight_fulfilled afterward then accesses freed memory.

Increment weight_fulfilled before dropping the temporary reference,
keeping iface alive for the final access.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s CIFS SMB client contains a use‑after‑free flaw in cifs_try_adding_channels(). When the function cifs_ses_add_channel() fails, it releases a reference to the interface structure before updating iface->weight_fulfilled. A concurrent interface list refresh can remove the reference while channel creation is still in progress, causing the last reference to be released and the interface object to be freed. Incrementing weight_fulfilled afterward then accesses freed memory. Exploitation of this memory corruption could, in theory, allow an attacker to execute arbitrary code or crash the kernel, but the description does not confirm a specific exploitation path. The apparent attack vector is interaction with the CIFS client, likely via SMB traffic or filesystem operations that trigger channel creation and failure.

Affected Systems

All Linux kernel releases that include the CIFS SMB client before the patch commit that fixed cifs_try_adding_channels() are affected. The vulnerability is not tied to a particular distribution or kernel version; it applies to any kernel containing the vulnerable code until an updated kernel with the fix is installed.

Risk and Exploitability

The CVSS score and EPSS information are not provided, so the exact severity and likelihood of exploitation are unknown. However, use‑after‑free vulnerabilities in the kernel are generally considered high risk because they can lead to arbitrary code execution or denial of service. The vulnerability is not listed in the CISA KEV catalog, indicating that no publicly known exploits or widespread incidents have been documented yet. The likely attack path involves provoking a CIFS channel‑creation failure while a concurrent interface refresh occurs, which would require special conditions on the client or server side. Security professionals should treat this as a high‑priority kernel issue and act to remediate it promptly.

Generated by OpenCVE AI on August 22, 2026 at 16:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the patch adding the use‑after‑free fix in cifs_try_adding_channels()
  • Reboot or reload kernel modules to apply the new kernel and ensure the CIFS subsystem is restarted
  • If a kernel update is not immediately available, consider temporarily disabling CIFS SMB client services or remounting CIFS file systems to prevent potential exploitation

Generated by OpenCVE AI on August 22, 2026 at 16:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: Fix use-after-free in cifs_try_adding_channels() cifs_try_adding_channels() takes a temporary reference to an interface before dropping iface_lock. If cifs_ses_add_channel() fails, it drops that reference and then increments iface->weight_fulfilled. A concurrent interface list refresh can remove the list reference while channel creation is in progress. In that case, the failure-path kref_put() releases the last reference and frees iface. Updating weight_fulfilled afterward then accesses freed memory. Increment weight_fulfilled before dropping the temporary reference, keeping iface alive for the final access.
Title smb: client: Fix use-after-free in cifs_try_adding_channels()
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-08-22T15:31:55.298Z

Reserved: 2026-08-15T05:44:03.920Z

Link: CVE-2026-74608

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:33.290

Modified: 2026-08-22T16:16:33.290

Link: CVE-2026-74608

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T17:45:02Z

Weaknesses