CVE-2026-99792
Last modified
CVE-2026-99792 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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)
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f44158485826c076335d6860d35872271a83791d, < fc5ac6813830eaf5b850e89d57403da1e1c50432; >= f44158485826c076335d6860d35872271a83791d, < 2ff3730998b015b5b0a3f28330bee16c648dd114 |
| Linux | Linux | 5.15 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99792?
How severe is CVE-2026-99792?
How do I fix CVE-2026-99792?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99787In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99788In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99789In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9979Insufficient validation of untrusted input in Input in Googl…5
- CVE-2026-99790In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99791In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99793In the Linux kernel, the following vulnerability has been re…8.1
- CVE-2026-99794In the Linux kernel, the following vulnerability has been re…8.3
- CVE-2026-99795In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99796In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99797In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99798In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-99792?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
