Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

ksmbd: track the connection owning a byte-range lock

CVSS 3.1 8.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-64390

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-64390

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/smb2pdu.c",
                        "fs/smb/server/vfs_cache.c",
                        "fs/smb/server/vfs_cache.h"
                    ],
                    "versions": [
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "22d38cf75b556c20b039743bdf3654d535b858be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "66eb3643164e5e1029907793926c132f8b5c6148",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "ea5c9bf99f626a15cc59f645dc895f2b3f01992e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "fe20d492a69a6f79e637f438072b212e21ed3b78",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "427faaa52b0b399940c1a88065a5c310d10dad15",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "5fecc15a30cb9ebd310f7b52c1ab607edcea78f6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f5a544e3bab78142207e0242d22442db85ba1eff",
                            "lessThan": "c1016dd1d8b2bcd1158bbaabe94a31bb7e7431fb",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/smb2pdu.c",
                        "fs/smb/server/vfs_cache.c",
                        "fs/smb/server/vfs_cache.h"
                    ],
                    "versions": [
                        {
                            "version": "5.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.212",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.4",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 21 Nov 23:38 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current