Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31717

published high CVSS 3.1 · 8.8

ksmbd: validate owner of durable handle on reconnect

Published
01 May 2026, 13:56:12 UTC
Updated
05 Aug 2026, 12:24:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8df4bcdb0a4232192b2445256c39b787d58ef14d to < 712cdf917e77a6444ce3836874829d770db20ee6 · c8efcc786146a951091588e5fa7e3c754850cb3c to < c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d · c8efcc786146a951091588e5fa7e3c754850cb3c to < 00ce8d6789dae72d042a4522264964c72891ca37 · c8efcc786146a951091588e5fa7e3c754850cb3c to < c908c853f304a4969b5aa10eba0b50350cc65b80 · c8efcc786146a951091588e5fa7e3c754850cb3c to < 49110a8ce654bbe56bef7c5e44cce31f4b102b8a · 6.6.32 to < 6.6.142 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.6.142 through 6.6.* (unaffected · semver) · 6.12.92 through 6.12.* (unaffected · semver) · 6.18.25 through 6.18.* (unaffected · semver) · 7.0.2 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian trixie linux Advisory build 6.12.94-1 DSA-6355-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
Ubuntu noble linux-buildinfo-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.0.7-1.1 OPENSUSE-SU-2026:10793-1
Ubuntu noble linux-buildinfo-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-cloud-tools-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-headers-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-headers-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-28 Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-unsigned-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-image-unsigned-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-lib-rust-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-evdi-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-ipu6-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-ipu7-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-usbio-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-modules-vision-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-tools-7.0.0-28-generic Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu noble linux-tools-7.0.0-28-generic-64k Advisory build 7.0.0-28.28~24.04.1 USN-8569-1
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-27.27 USN-8488-1
Ubuntu resolute linux Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1008 Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-aws-headers-7.0.0-1008 Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-aws-tools-7.0.0-1008 Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-headers-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-gcp Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-gcp-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-oracle Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1007-oracle-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-aws-64k Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-ibm Advisory build 7.0.0-1009.9 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1013-nvidia Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-buildinfo-7.0.0-1013-nvidia-64k Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-buildinfo-7.0.0-1014-raspi Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-buildinfo-7.0.0-1014-raspi-realtime Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-buildinfo-7.0.0-27-generic Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-27-generic-64k Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-27-realtime Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-buildinfo-7.0.0-27-realtime-64k Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-1008-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-1008-aws-64k Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-cloud-tools-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-cloud-tools-7.0.0-27 Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-27-generic Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-cloud-tools-7.0.0-27-realtime Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-cloud-tools-common Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-gcp Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-gcp-headers-7.0.0-1007 Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-gcp-tools-7.0.0-1007 Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-gcp Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-gcp-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-oracle Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1007-oracle-64k Advisory build 7.0.0-1007.7 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1008-aws Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1008-aws-64k Advisory build 7.0.0-1008.8 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1009-ibm Advisory build 7.0.0-1009.9 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1013-nvidia Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-headers-7.0.0-1013-nvidia-64k Advisory build 7.0.0-1013.13 USN-8507-1
Ubuntu resolute linux-headers-7.0.0-1014-raspi Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-headers-7.0.0-1014-raspi-realtime Advisory build 7.0.0-1014.14 USN-8488-2
Ubuntu resolute linux-headers-7.0.0-27 Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-generic Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-generic-64k Advisory build 7.0.0-27.27 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-realtime Advisory build 7.0.0-27.27.1 USN-8488-1
Ubuntu resolute linux-headers-7.0.0-27-realtime-64k Advisory build 7.0.0-27.27.1 USN-8488-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate owner of durable handle on reconnect Currently, ksmbd does not verify if the user attempting to reconnect to a durable handle is the same user who originally opened the file. This allows any authenticated user to hijack an orphaned durable handle by predicting or brute-forcing the persistent ID. According to MS-SMB2, the server MUST verify that the SecurityContext of the reconnect request matches the SecurityContext associated with the existing open. Add a durable_owner structure to ksmbd_file to store the original opener's UID, GID, and account name. and catpure the owner information when a file handle becomes orphaned. and implementing ksmbd_vfs_compare_durable_owner() to validate the identity of the requester during SMB2_CREATE (DHnC).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - ksmbd is an in-kernel SMB server reachable over the network via SMB requests, including SMB2 CREATE durable-handle reconnects. AC:L - Exploitation does not require a race or conditions outside attacker control; an attacker can send reconnect requests and predict or brute-force the global persistent ID in a reasonable multi-user durable-handle deployment. PR:L - The SMB2 CREATE path requires a valid authenticated session and tree connection before reaching the vulnerable durable reconnect logic. The flaw allows any authenticated SMB user to hijack another user's orphaned durable handle. UI:N - No victim interaction is required at exploit time; the attacker sends network SMB requests directly to the server. S:U - The impact remains within the ksmbd/file-server security authority and does not cross a VM, sandbox, or hardware isolation boundary. C:H - A hijacked durable handle can be used to read victim-opened files using the original handle's access rights, bypassing normal open-time ACL checks. This can expose full contents of sensitive files. I:H - The reconnected handle reuses the original `fp->daccess`, so if the victim handle had write, set-info, rename, truncate, or delete rights, the attacker can modify victim data with those rights. A:H - The attacker can steal or close the durable handle and, when the original handle carries write/delete/truncate rights, render victim data or critical shared files unavailable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d to < 712cdf917e77a6444ce3836874829d770db20ee6 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < c7f0f0d01c88bdcb8b1694d7d321670013f7ed7d (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 00ce8d6789dae72d042a4522264964c72891ca37 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < c908c853f304a4969b5aa10eba0b50350cc65b80 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 49110a8ce654bbe56bef7c5e44cce31f4b102b8a (affected · git)6.6.32 to < 6.6.142 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)6.6.142 through 6.6.* (unaffected · semver)6.12.92 through 6.12.* (unaffected · semver)6.18.25 through 6.18.* (unaffected · semver)7.0.2 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

ksmbd: validate owner of durable handle on reconnect

Provenance

Schema
5.2
Searchable
yes
Content hash
0df7d6ffaf4cfe1f7355ce4f4a06103eb3a961ef22622df76b40557348e67fd8
Ingested
23 Sep 2026, 09:09:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected