CVE-2026-99792
smb/server: prevent file publication after tree disconnect
Mitigation
- Upgrade Linux to 2ff3730998b015b5b0a3f28330bee16c648dd114 or later.
Who should check
- Anyone running Linux >= f44158485826c076335d6860d35872271a83791d, < fc5ac6813830eaf5b850e89d57403da1e1c50432; >= f44158485826c076335d6860d35872271a83791d, < 2ff3730998b015b5b0a3f28330bee16c648dd114
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= f44158485826c076335d6860d35872271a83791d, < fc5ac6813830eaf5b850e89d57403da1e1c50432; >= f44158485826c076335d6860d35872271a83791d, < 2ff3730998b015b5b0a3f28330bee16c648dd114; Linux 5.15
- Fixed in
- Linux 2ff3730998b015b5b0a3f28330bee16c648dd114
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.36% chance of exploitation in 30 days (percentile 22, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: smb/server: prevent file publication after tree disconnect TREE_DISCONNECT closes the tree's published file handles before marking and removing the tree connection. A concurrent CREATE that already holds a tree reference can therefore publish its file after the close pass. When CREATE drops its reference, the tree can be freed while the published file still points to it. Mark and remove the tree connection before closing its files, and serialize both new-open and durable-reconnect volatile ID publication with that state transition. An opener is then either published in time for the close pass or rejected after disconnect with STATUS_NETWORK_NAME_DELETED. Keep a tree reference while a file carries its tree pointer. This protects asynchronous users that can defer the file's final destruction past tree disconnect. The close pass can race the successful FP_NEW to FP_INITED transition. Take the opening request's file reference atomically with that transition. This keeps the file alive until request completion even if teardown removes the ID immediately. BUG: KASAN: slab-use-after-free in proc_show_files (fs/smb/server/vfs_cache.c:126) Read of size 4 at addr ff11000101540f80 by task poc/153 Call Trace: proc_show_files (fs/smb/server/vfs_cache.c:126) seq_read_iter (fs/seq_file.c:231) proc_reg_read_iter (fs/proc/inode.c:299) vfs_read (fs/read_write.c:574) ksys_read (fs/read_write.c:716) do_syscall_64 (arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Allocated by: ksmbd_tree_conn_connect (fs/smb/server/mgmt/tree_connect.c:35) smb2_tree_connect (fs/smb/server/smb2pdu.c:2819) handle_ksmbd_work (fs/smb/server/server.c:368) Freed by: kfree (mm/slub.c:6801) handle_ksmbd_work (fs/smb/server/server.c:332)
Affected and fixed versions
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-99792. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99792.md Affected: Linux >= f44158485826c076335d6860d35872271a83791d, < fc5ac6813830eaf5b850e89d57403da1e1c50432; >= f44158485826c076335d6860d35872271a83791d, < 2ff3730998b015b5b0a3f28330bee16c648dd114; Linux 5.15 Fixed in: Linux 2ff3730998b015b5b0a3f28330bee16c648dd114 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.
Technologies
References
FAQ
Is CVE-2026-99792 being exploited?
There is no confirmed exploitation: CVE-2026-99792 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99792?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-99792?
Linux >= f44158485826c076335d6860d35872271a83791d, < fc5ac6813830eaf5b850e89d57403da1e1c50432; >= f44158485826c076335d6860d35872271a83791d, < 2ff3730998b015b5b0a3f28330bee16c648dd114; Linux 5.15.
Is there a fix for CVE-2026-99792?
Yes. Fixed in Linux 2ff3730998b015b5b0a3f28330bee16c648dd114. Upgrade Linux to 2ff3730998b015b5b0a3f28330bee16c648dd114 or later.
How do I check if I'm affected by CVE-2026-99792?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |