Shellfeed logo Shellfeed

CVE-2026-74608 · CRITICAL (CVSS 9.8)

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

Details

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.

Severity

CRITICAL (CVSS 9.8) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [cbc53148cc0946b72d62a3c53870cb22ce4ec284 – 64d7584e62ac8cdc750455c5fdc6008fc2de4f06] [cff97d683a083b862a8bb24309e0f4d2d928128a – c292d4686f717c03e5022fc4ae7c782f39a94915] [6aac002bcfd554aff6d3ebb55e1660d078d70ab0 – 47dfac48bce7198ad4f1a388fc8c9491f878ac3b] [6.1.78 – 6.1.183] [6.6.17 – 6.6.152] [6.7.5 – 6.8] [22a6c5b3425f327e7f4c3606a72277dce82c7d83 – ?]
  • Linux Kernel [0 – 6.1.183] [6.2.0 – 6.6.152] [6.7.0 – 6.12.104] [6.8.0 – 6.18.45] [6.13.0 – 7.1.9]

References