CVE-2026-74608
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom cbc53148cc0946b72d62a3c53870cb22ce4ec284 before 64d7584e62ac8cdc750455c5fdc6008fc2de4f06, from cff97d683a083b862a8bb24309e0f4d2d928128a before c292d4686f717c03e5022fc4ae7c782f39a94915, from 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 before 47dfac48bce7198ad4f1a388fc8c9491f878ac3b, from 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 before 1ffacbadc14530e55b8d86f7b917524f6a0fb891, from 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 before 1305eadc6a7d78a8d0a52eee29ddd2d9e8a27805, from 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 before 4986410316b1ae0e63c6ce418e4eb196723626e7, 22a6c5b3425f327e7f4c3606a72277dce82c7d83, from 6.1.78 before 6.1.183 and 3 more
Not affected: before 6.8, from 6.1.183 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: smb: cliente: Corrección de uso después de liberación en cifs_try_adding_channels() cifs_try_adding_channels() toma una referencia temporal a una interfaz antes de liberar iface_lock. Si cifs_ses_add_channel() falla, libera esa referencia y luego incrementa iface -> weight_fulfilled. Una actualización concurrente de la lista de interfaces puede eliminar la referencia de la lista mientras la creación del canal está en curso. En ese caso, el kref_put() de la ruta de fallo libera la última referencia y libera iface. Actualizar weight_fulfilled después luego accede a memoria liberada. Incrementa weight_fulfilled antes de liberar la referencia temporal, manteniendo iface vivo para el acceso final.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74608 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-74608 changed 2026-10-16Public domain