{
  "threat_severity" : "Moderate",
  "public_date" : "2026-11-20T05:51:52Z",
  "bugzilla" : {
    "description" : "kernel: kernel: ksmbd: Denial of Service via use-after-free during tree disconnect",
    "id" : "2577673",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2577673"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-825",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nsmb/server: prevent file publication after tree disconnect\nTREE_DISCONNECT closes the tree's published file handles before marking and\nremoving the tree connection. A concurrent CREATE that already holds a tree\nreference can therefore publish its file after the close pass. When CREATE\ndrops its reference, the tree can be freed while the published file still\npoints to it.\nMark and remove the tree connection before closing its files, and serialize\nboth new-open and durable-reconnect volatile ID publication with that state\ntransition. An opener is then either published in time for the close pass\nor rejected after disconnect with STATUS_NETWORK_NAME_DELETED.\nKeep a tree reference while a file carries its tree pointer. This protects\nasynchronous users that can defer the file's final destruction past tree\ndisconnect.\nThe close pass can race the successful FP_NEW to FP_INITED transition.\nTake the opening request's file reference atomically with that transition.\nThis keeps the file alive until request completion even if teardown removes\nthe ID immediately.\nBUG: KASAN: slab-use-after-free in proc_show_files (fs/smb/server/vfs_cache.c:126)\nRead of size 4 at addr ff11000101540f80 by task poc/153\nCall Trace:\nproc_show_files (fs/smb/server/vfs_cache.c:126)\nseq_read_iter (fs/seq_file.c:231)\nproc_reg_read_iter (fs/proc/inode.c:299)\nvfs_read (fs/read_write.c:574)\nksys_read (fs/read_write.c:716)\ndo_syscall_64 (arch/x86/entry/syscall_64.c:84)\nentry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\nAllocated by:\nksmbd_tree_conn_connect (fs/smb/server/mgmt/tree_connect.c:35)\nsmb2_tree_connect (fs/smb/server/smb2pdu.c:2819)\nhandle_ksmbd_work (fs/smb/server/server.c:368)\nFreed by:\nkfree (mm/slub.c:6801)\nhandle_ksmbd_work (fs/smb/server/server.c:332)", "A flaw was found in the Linux kernel's ksmbd (Server Message Block) server. A race condition between concurrent file creation and tree disconnection requests allows an authenticated remote attacker to trigger a use-after-free condition. This vulnerability can result in a Denial of Service (DoS) by crashing the system or potentially lead to arbitrary code execution through kernel memory corruption." ],
  "statement" : "This vulnerability is evaluated as Moderate severity because successful exploitation requires valid credentials to trigger a timing-dependent race condition, which primarily causes a kernel crash and service interruption. In Red Hat Enterprise Linux, the in-kernel SMB server module (ksmbd) is not loaded by default, as standard network file sharing relies on user-space Samba services. Systems that have not manually enabled and started ksmbd are not exposed to this flaw.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-8",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-10",
    "cpe" : "cpe:/a:redhat:openshift:5"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Not affected",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:5"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-99792\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-99792\nhttps://git.kernel.org/stable/c/2ff3730998b015b5b0a3f28330bee16c648dd114\nhttps://git.kernel.org/stable/c/fc5ac6813830eaf5b850e89d57403da1e1c50432" ],
  "name" : "CVE-2026-99792",
  "csaw" : false
}