Skip to content
High 8.8

Linux Kernelのsmb/serverに解放後使用の脆弱性、ファイルの不正な参照で情報が読まれるおそれ

CVE-2026-99792 First seen on SecPulse

Summary

Linux KernelのSMBサーバー実装(smb/server)で、ツリー切断後にファイルが公開されてしまう脆弱性です。解放済みのメモリを読み取られるおそれがあり、CVSSは8.8です。5.15.0以上7.3.5未満に影響し、修正版の7.3.5で対応できます。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux KernelのSMBサーバー実装(smb/server)で、ツリー切断後にファイルが公開されてしまう脆弱性です。解放済みのメモリを読み取られるおそれがあり、CVSSは8.8です。5.15.0以上7.3.5未満に影響し、修正版の7.3.5で対応できます。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.15.0, < 7.3.5→ 7.3.5

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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:71…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details