Bug 2521415 (CVE-2026-74608) - CVE-2026-74608 kernel: smb: client: Fix use-after-free in cifs_try_adding_channels()
Summary: CVE-2026-74608 kernel: smb: client: Fix use-after-free in cifs_try_adding_cha...
Keywords:
Status: NEW
Alias: CVE-2026-74608
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-22 15:44 UTC by OSIDB Bzimport
Modified: 2026-08-24 13:29 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-22 15:44:28 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-24 12:53:13 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026082216-CVE-2026-74608-dfb0@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.