Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-64401

HIGH 7.8EPSS 4%

smb: client: resolve SWN tcon from live registrations

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 51d18db392e5386a7bb9e816d611f14e600cca3c; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 945b4a4a54497db1dcb2f20ef801a84e884dac21; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 91b8a58c6ac15c7db6518f696389933282f88da7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < ec457f9afe5ae9538bdcd58fd4cb442b9787e183
  • Anyone running Linux 5.11

Vulnerability facts

Affected
Linux >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 51d18db392e5386a7bb9e816d611f14e600cca3c; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 945b4a4a54497db1dcb2f20ef801a84e884dac21; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 91b8a58c6ac15c7db6518f696389933282f88da7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < ec457f9afe5ae9538bdcd58fd4cb442b9787e183; Linux 5.11
Fixed in
Linux 51d18db392e5386a7bb9e816d611f14e600cca3c, Linux 945b4a4a54497db1dcb2f20ef801a84e884dac21, Linux 91b8a58c6ac15c7db6518f696389933282f88da7, Linux 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-416
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 51d18db392e5386a7bb9e816d611f14e600cca3c; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 945b4a4a54497db1dcb2f20ef801a84e884dac21; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 91b8a58c6ac15c7db6518f696389933282f88da7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < ec457f9afe5ae9538bdcd58fd4cb442b9787e183—cvelist
Linux5.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-64401. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64401.md
Affected: Linux >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 51d18db392e5386a7bb9e816d611f14e600cca3c; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 945b4a4a54497db1dcb2f20ef801a84e884dac21; >= fed979a7e082bd9f25f9002…
Fixed in: Linux 51d18db392e5386a7bb9e816d611f14e600cca3c, Linux 945b4a4a54497db1dcb2f20ef801a84e884dac21, Linux 91b8a58c6ac15c7db6518f696389933282f88da7, Linux 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-64401 being exploited?

There is no confirmed exploitation: CVE-2026-64401 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-64401?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-64401?

Linux >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 51d18db392e5386a7bb9e816d611f14e600cca3c; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < aa3c0cab4b28c5007ec570c63e1d6ad6943ed0fd; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 945b4a4a54497db1dcb2f20ef801a84e884dac21; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 91b8a58c6ac15c7db6518f696389933282f88da7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7; >= fed979a7e082bd9f25f9002c3c4f8740dacd0bc8, < ec457f9afe5ae9538bdcd58fd4cb442b9787e183; Linux 5.11.

Is there a fix for CVE-2026-64401?

Yes. Fixed in Linux 51d18db392e5386a7bb9e816d611f14e600cca3c, Linux 945b4a4a54497db1dcb2f20ef801a84e884dac21, Linux 91b8a58c6ac15c7db6518f696389933282f88da7, Linux 0700f946659d0ab2352ec8a9b1c6fc74b13a27d7. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-64401?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors