Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: avoid leaking refcount when cifs_sb_tlink() fails

cifs_oplock_break() takes over the reference that
cifs_queue_oplock_break() acquired when it queued the work, and drops it
with _cifsFileInfo_put() once the break has been processed.

Only in setups with "-o multiuser", cifs_sb_tlink() may fail, at which
point cifs_oplock_break() returns without putting the file reference,
mirroring the reference leak we already fixed in the companion patch to
cifs_queue_oplock_break().

This would trigger a crash due to busy inodes on the next unmount:

BUG: Dentry ... still in use (1) [unmount of cifs cifs]
VFS: Busy inodes after unmount of cifs (cifs)

Drop the reference on that path as well. Doing so before the out label
mirrors the normal path, which also puts the reference before
cifs_done_oplock_break().

Found by Sashiko code review. The failure path was not exercised at
runtime.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

The Linux kernel contains a reference count leak in the CIFS client that only occurs when the "multiuser" option is enabled and the function cifs_sb_tlink() fails. Normally the reference acquired by cifs_queue_oplock_break() is released, but in the failure path cifs_oplock_break() returns without dropping the reference and a subsequent unmount attempts to release a busy inode, triggering a kernel crash. This defect is classified as CWE-911, indicating an improper handling of reference counts that can lead to resource exhaustion or denial of service. This defect was identified only through code review and was never exercised at runtime, but the defect would cause a denial of service by crashing the system when a CIFS share is unmounted after such a failure.

Affected Systems

All Linux kernel releases are potentially affected until the patch that fixes the reference count handling in cifs_sb_tlink() is applied. The vulnerability is specific to the CIFS client component and would affect any system that mounts CIFS (SMB) shares with the "multiuser" option enabled. The exact kernel version range impacted is not specified in the advisory.

Risk and Exploitability

The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, indicating no known public exploitation. However, the defect could be triggered by an attacker who can force the CIFS client to operate in multiuser mode and induce a cifs_sb_tlink() failure, leading to a crash when the share is unmounted. The CVSS score of 5.5 indicates moderate severity, but the impact on critical kernel components suggests that the vulnerability could cause a denial of service if the condition can be reproduced. The likely attack vector is inferred from the description: local or remote where the attacker can influence CIFS mounts through network or local control, although the lack of an existing exploit implies low current risk.

Generated by OpenCVE AI on October 1, 2026 at 12:03 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit(s) fixing reference count handling in cifs_sb_tlink()
  • Reboot the system or reload the CIFS kernel modules so the updated code takes effect
  • Ensure that CIFS shares are unmounted cleanly after the patch to verify the crash no longer occurs

Generated by OpenCVE AI on October 1, 2026 at 12:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Fri, 30 Oct 2026 12:45:00 +0000


Sat, 03 Oct 2026 11:15:00 +0000


Thu, 01 Oct 2026 10:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Fri, 25 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: avoid leaking refcount when cifs_sb_tlink() fails cifs_oplock_break() takes over the reference that cifs_queue_oplock_break() acquired when it queued the work, and drops it with _cifsFileInfo_put() once the break has been processed. Only in setups with "-o multiuser", cifs_sb_tlink() may fail, at which point cifs_oplock_break() returns without putting the file reference, mirroring the reference leak we already fixed in the companion patch to cifs_queue_oplock_break(). This would trigger a crash due to busy inodes on the next unmount: BUG: Dentry ... still in use (1) [unmount of cifs cifs] VFS: Busy inodes after unmount of cifs (cifs) Drop the reference on that path as well. Doing so before the out label mirrors the normal path, which also puts the reference before cifs_done_oplock_break(). Found by Sashiko code review. The failure path was not exercised at runtime.
Title smb: client: avoid leaking refcount when cifs_sb_tlink() fails
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:37:21.053Z

Reserved: 2026-09-24T16:01:01.154Z

Link: CVE-2026-97556

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:06.077

Modified: 2026-10-30T13:21:07.670

Link: CVE-2026-97556

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97556 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T12:15:05Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count