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-64401

published high CVSS 3.1 · 7.8

smb: client: resolve SWN tcon from live registrations

Published
25 Jul 2026, 08:50:44 UTC
Updated
19 Oct 2026, 20:38:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxfed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 51d18db392e5386a7bb9e816d611f14e600cca3c · fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd · fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 945b4a4a54497db1dcb2f20ef801a84e884dac21 · fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 91b8a58c6ac15c7db6518f696389933282f88da7 · fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7 · fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < ec457f9afe5ae9538bdcd58fd4cb442b9787e183 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 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
Amazon Linux AL2023 Release evaluationALAS2023-2026-2045 Fixed Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.180-1 DLA-4720-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Debian bookworm linux-6.12 Advisory build 6.12.100-1~deb12u1 DLA-4724-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.180-1~deb11u1 DLA-4723-1
Debian trixie linux Advisory build 6.12.100-1 DSA-6405-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-206.104.3.3.el10uek ELSA-2026-500248
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-324.217.5.2.el8uek ELSA-2026-500249
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-324.217.5.2.el9uek ELSA-2026-500249

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

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: resolve SWN tcon from live registrations cifs_swn_notify() looks up a witness registration by id under cifs_swnreg_idr_mutex, drops the mutex, and then uses the registration's cached tcon pointer. That pointer is not a lifetime reference, and it is not a stable representative once cifs_get_swn_reg() lets multiple tcons for the same net/share name share one registration id. A same-share second mount can keep the cifs_swn_reg alive after the first tcon unregisters and is freed. The registration then still points at the freed first tcon, so taking tc_lock or incrementing tc_count through swnreg->tcon only moves the use-after-free earlier. Taking tc_lock while holding cifs_swnreg_idr_mutex also violates the documented CIFS lock order. Fix this by making the registration store only the stable witness identity: id, net name, share name, and notify flags. When a notify arrives, copy that identity under cifs_swnreg_idr_mutex, drop the mutex, then find and pin a live witness tcon that currently matches the net/share pair under the normal cifs_tcp_ses_lock -> tc_lock order. The notification path uses that pinned tcon directly and drops the reference when done. Registration and unregister messages now use the live tcon passed by the caller instead of a cached tcon in the registration. The final unregister send is folded into cifs_swn_unregister() while the registration is still protected by cifs_swnreg_idr_mutex. This removes the previous find/drop/reacquire raw-pointer window. The release path only removes the idr entry and frees the stable identity strings. This preserves the intended one-registration/many-tcon behavior: a registration id represents a net/share pair, and notify handling acts on a live representative selected at use time. It also preserves CLIENT_MOVE ordering for the representative tcon because the old-IP unregister is sent before cifs_swn_register() sends the new-IP register.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

49

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The UAF is locally reachable through the world-readable /proc/fs/cifs/DebugData path and, on earlier affected kernels, unrestricted SWN generic-netlink notifications. AC:L - A same-share second mount deterministically preserves the registration after the first tcon is freed; repeated proc reads or notifications then dereference the stale pointer without requiring an uncontrollable race. PR:L - An unprivileged local user can read /proc/fs/cifs/DebugData, and affected kernels predating the companion netlink authorization fix also allowed unprivileged SWN_NOTIFY messages. User namespaces do not grant CIFS mount authority, but no mount privilege is needed once normal mount turnover creates the stale registration. UI:N - Once a witness-enabled registration exists, exploitation requires no further victim action; the attacker can invoke the local trigger directly. S:U - Successful exploitation compromises the host kernel within the same security authority and does not inherently cross a VM, IOMMU, or other scope boundary. C:H - The heap UAF involves attacker-reclaimable cifs_tcon and cifs_swn_reg objects whose pointer chains reach session credentials and arbitrary kernel memory, enabling high-impact disclosure primitives. I:H - Reclaiming the freed objects can redirect client-move and reconnect operations through attacker-influenced pointers, providing arbitrary-write and control-flow-hijacking potential. A:H - Dereferencing the freed tcon or registration can cause an immediate kernel oops or panic, and the periodic echo worker can repeatedly exercise the stale pointer.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 51d18db392e5386a7bb9e816d611f14e600cca3c (affected · git)fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd (affected · git)fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 945b4a4a54497db1dcb2f20ef801a84e884dac21 (affected · git)fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 91b8a58c6ac15c7db6518f696389933282f88da7 (affected · git)fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7 (affected · git)fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 to < ec457f9afe5ae9538bdcd58fd4cb442b9787e183 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.11 (affected)0 to < 5.11 (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

6

Provider assertions

2

Linux · cna

smb: client: resolve SWN tcon from live registrations

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
557e8b656c3c9c1ee28cf3253b5a4a9c8a2969ff44de2a90c07beb84d944f1f2
Ingested
19 Oct 2026, 20:44:09 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