Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97556 Overview
CVE-2026-97556 is a reference count leak in the Linux kernel's SMB client (cifs) subsystem. The flaw occurs in cifs_oplock_break() when cifs_sb_tlink() fails on multiuser mounts. The function returns without releasing the file reference that cifs_queue_oplock_break() acquired, leaving inodes busy at unmount time.
Critical Impact
The leaked reference triggers a kernel BUG and VFS warnings about busy inodes on the next cifs unmount, producing instability and potential denial of service on systems that mount SMB shares with the -o multiuser option.
Affected Products
- Linux kernel SMB/CIFS client subsystem
- Systems mounting SMB shares with the -o multiuser option
- Stable kernel branches referenced by commits 1d1b0f1, 23b26f4, 9ec991e, and dd03fd6
Discovery Timeline
- 2026-09-25 - CVE-2026-97556 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97556
Vulnerability Analysis
The Linux kernel SMB client processes oplock (opportunistic lock) breaks asynchronously. cifs_queue_oplock_break() acquires a reference on the cifsFileInfo structure and queues work. cifs_oplock_break() consumes that reference and is expected to release it via _cifsFileInfo_put() once processing completes.
On mounts configured with -o multiuser, cifs_sb_tlink() can fail while resolving the per-user tcon link. The original code path returned early on that failure without dropping the queued reference. This mirrors a prior leak that was addressed in the companion patch to cifs_queue_oplock_break().
The leaked reference prevents the associated inode and dentry from being released. At unmount, the VFS layer detects the lingering objects and emits BUG: Dentry ... still in use followed by VFS: Busy inodes after unmount of cifs, which can crash the kernel.
Root Cause
The root cause is a missing _cifsFileInfo_put() call on the failure branch of cifs_sb_tlink() inside cifs_oplock_break(). The function skipped the reference release normally executed before cifs_done_oplock_break(), categorizing the defect as a memory/reference leak [CWE-401] in a kernel file system component.
Attack Vector
Triggering the condition requires a multiuser cifs mount and a failure in cifs_sb_tlink(). The advisory notes the failure path was not exercised at runtime and was found through code review. Repeated oplock breaks under this condition progressively leak references, culminating in a crash during unmount. Exploitation for arbitrary code execution is not described in the advisory; the practical outcome is denial of service.
See the technical references for patch details:
- Kernel Git Commit 1d1b0f1
- Kernel Git Commit 23b26f4
- Kernel Git Commit 9ec991e
- Kernel Git Commit dd03fd6
Detection Methods for CVE-2026-97556
Indicators of Compromise
- Kernel log entries containing BUG: Dentry ... still in use referencing cifs dentries.
- Kernel log entries containing VFS: Busy inodes after unmount of cifs.
- Unexpected kernel panics or hangs during umount of SMB shares mounted with -o multiuser.
Detection Strategies
- Audit /proc/mounts and fstab entries for cifs mounts that include the multiuser option.
- Correlate dmesg output with unmount activity to identify leaked references over time.
- Track kernel version inventory against the fixed commits 1d1b0f1, 23b26f4, 9ec991e, and dd03fd6.
Monitoring Recommendations
- Forward kern.log and dmesg entries to a centralized log pipeline and alert on Busy inodes and Dentry ... still in use strings.
- Monitor system uptime and unexpected reboots on file servers and workstations that mount SMB shares.
- Validate kernel package versions during routine configuration audits.
How to Mitigate CVE-2026-97556
Immediate Actions Required
- Apply the stable kernel update that includes the fix referenced by commits 1d1b0f1, 23b26f4, 9ec991e, or dd03fd6.
- Reboot affected hosts after upgrading to ensure the patched cifs module is loaded.
- Prioritize patching on hosts that use -o multiuser SMB mounts.
Patch Information
The fix drops the file reference on the cifs_sb_tlink() failure path inside cifs_oplock_break() before the out label, mirroring the normal exit path and matching the companion fix applied to cifs_queue_oplock_break(). Rebuild or update the kernel from a stable branch containing the referenced commits. Confirm the running kernel version with uname -r after reboot.
Workarounds
- Avoid mounting SMB shares with the -o multiuser option until the kernel is patched where operationally feasible.
- Replace multiuser mounts with per-user mounts to prevent cifs_sb_tlink() from being invoked in the vulnerable path.
- Schedule periodic reboots of affected hosts to clear accumulated leaked references before unmount-time crashes occur.
# Verify running kernel and cifs mounts
uname -r
grep cifs /proc/mounts | grep -i multiuser
# Review recent kernel messages for the indicators
dmesg -T | grep -E 'Busy inodes|still in use' | tail
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

