smb: client: close completed creates on compound wait errors (Linux Linux)

CVE-2026-98450
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
É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: close completed creates on compound wait errors compound_send_recv() waits for responses in order. If a later wait is interrupted, or if a later MID fails during response synchronization, an earlier CREATE may already have opened a remote handle. The earlier mid is then released without invoking handle_cancelled_mid(), leaving the remote handle open because no FID was copied to the caller. Mark completed earlier mids as cancelled when a compound wait or MID synchronization aborts. Keep their response buffers attached while the MIDs are synchronized, and transfer them only after synchronization of the processed responses, so the release path can inspect successful CREATE responses and queue SMB2_close() after a later failure. Account for a remote open only after the close work is allocated and before it is queued, since the caller has not yet updated num_remote_opens. Mark the create+close compound used by smb2_unlink() so it is not closed again. Non-CREATE responses and compounds that already include a close keep their existing behavior.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected e0bba0b8548179b696e86c158ea8f45f2ef6ad14 < da83fed81241b03fd0e7ccf0091b051cf420d8d2 ; affected e0bba0b8548179b696e86c158ea8f45f2ef6ad14 < e94370cf2b76e913a997e9a633ab521a45029284 ; affected e0bba0b8548179b696e86c158ea8f45f2ef6ad14 < c8c6c7e665af4dba75a02f4c9bad3ae2ce341619 ; affected e0bba0b8548179b696e86c158ea8f45f2ef6ad14 < 8afc80156b1d9e2cfd02d42c255305fad95b59fc ; affected e0bba0b8548179b696e86c158ea8f45f2ef6ad14 < 2cb07d1a6a30283dbfc809c8036bc1fd103d59fa ; affected e0bba0b8548179b696e86c158ea8f45f2ef6ad14 < 224b56b7c02b2bfb1f5bee18d5f56ae6b052be44
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.*

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