ksmbd: track the connection owning a byte-range lock (Linux Linux)

CVE-2026-64390
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.47 % · centile 40 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: track the connection owning a byte-range lock SMB2_LOCK adds each granted byte-range lock to both the file lock list and the lock list of the connection which handled the request. The final close and durable handle paths, however, remove the connection list entry while holding fp->conn->llist_lock. With SMB3 multichannel, the connection handling the LOCK request can be different from the connection which opened the file. The entry can therefore be removed under a different spinlock from the one protecting the list it belongs to. A concurrent traversal can then access freed struct ksmbd_lock and struct file_lock objects. Record the connection owning each lock's clist entry and hold a reference to it while the entry is linked. Use that connection and its llist_lock for unlock, rollback, close, and durable preserve. Durable reconnect assigns the new connection as the owner when publishing the locks again.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:L/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

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected f5a544e3bab78142207e0242d22442db85ba1eff < 22d38cf75b556c20b039743bdf3654d535b858be ; affected f5a544e3bab78142207e0242d22442db85ba1eff < 66eb3643164e5e1029907793926c132f8b5c6148 ; affected f5a544e3bab78142207e0242d22442db85ba1eff < ea5c9bf99f626a15cc59f645dc895f2b3f01992e ; affected f5a544e3bab78142207e0242d22442db85ba1eff < fe20d492a69a6f79e637f438072b212e21ed3b78 ; affected f5a544e3bab78142207e0242d22442db85ba1eff < 427faaa52b0b399940c1a88065a5c310d10dad15 ; affected f5a544e3bab78142207e0242d22442db85ba1eff < 5fecc15a30cb9ebd310f7b52c1ab607edcea78f6
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.*

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