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

CVE-2026-74608
CRITICAL 9.8

En bref

Source
NVD
EPSS
EPSS 0.48 % · centile 41 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected cbc53148cc0946b72d62a3c53870cb22ce4ec284 < 64d7584e62ac8cdc750455c5fdc6008fc2de4f06 ; affected cff97d683a083b862a8bb24309e0f4d2d928128a < c292d4686f717c03e5022fc4ae7c782f39a94915 ; affected 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 < 47dfac48bce7198ad4f1a388fc8c9491f878ac3b ; affected 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 < 1ffacbadc14530e55b8d86f7b917524f6a0fb891 ; affected 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 < 1305eadc6a7d78a8d0a52eee29ddd2d9e8a27805 ; affected 6aac002bcfd554aff6d3ebb55e1660d078d70ab0 < 4986410316b1ae0e63c6ce418e4eb196723626e7
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.152 ≤ 6.6.* ; unaffected 6.12.104 ≤ 6.12.* ; unaffected 6.18.45 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD