All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-74608

Probability of exploitation in the next 30 days: 0.48%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Server Message Block (SMB) client of the Linux kernel. A use-after-free vulnerability exists in the cifs_try_adding_channels() function. This occurs when a concurrent interface list refresh removes a reference to an interface while a channel creation is in progress and fails, leading to the system attempting to access memory that has already been freed. This could result in a denial of service or potentially lead to arbitrary code execution.