- Accueil
- Vulnérabilités
- CVE-2026-143041
CVE-2026-143041
smb: client: hold the inode across cifs_oplock_break()
Résumé
In the Linux kernel, the following vulnerability has been resolved: smb: client: hold the inode across cifs_oplock_break() cifs_oplock_break() drops the handle reference in the middle of the handler and keeps using cinode afterwards, to send the break acknowledgment and again in cifs_done_oplock_break(). The reference cifs_queue_oplock_break() takes is the only pin: the handle holds the dentry and the dentry is what keeps the inode alive. When that put is the last reference, the dput() in cifsFileInfo_put_final() kills an unhashed dentry, drops the last i_count and evicts the inode, so the rest of the handler runs on an object whose free is only RCU-deferred. An unhashed dentry that a handle still references is an ordinary state: unlinking an open file leaves the dentry that way, and so does the dcache teardown at unmount. Take a reference on the inode for the lifetime of the handler and drop it once the break has been reported. This also covers the cifs_get_tlink() failure path, where the put is followed directly by the out label.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 3.16.72 (inclus) à 3.17 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.9.171 (inclus) à 4.10 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.14.114 (inclus) à 4.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.19.37 (inclus) à 4.20 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.0.10 (inclus) à 5.1 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 5.1 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)