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

smb: client: avoid leaking refcount in cifs_queue_oplock_break()

cifs_queue_oplock_break() unconditionally takes a reference on the
target file before queueing cifs_oplock_break(). Only that work item
decreases the reference counter again.

If another oplock break arrives while that work is still queued,
queue_work() will return false and not queue this second work item. As a
result, we will never reach the point to drop the file reference again
and are leaking this reference. This can be triggered when interacting
with a slow-responding server.

As a result, later unmount operations for this file system will fail with

BUG: Dentry ... still in use (1) [unmount of cifs cifs]
VFS: Busy inodes after unmount of cifs (cifs)
kernel BUG at fs/super.c:777!

Fix this by only incrementing the reference count if the work has been
queued successfully. Taking it after queue_work() is safe because all
three callers hold tcon->open_file_lock across the call and
_cifsFileInfo_put() decrements under that same lock, so a worker that
starts the handler in the window cannot drop the reference before it has
been taken.
Published: 2026-09-25
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel Crash / Denial of Service
Action: Patch
AI Analysis

Impact

In the Linux kernel SMB client, cifs_queue_oplock_break() unconditionally increments a file reference count before confirming that the work item was queued. If a second oplock break request arrives before the first is processed, queue_work() fails to enqueue the second work and the reference count is never decremented. The accumulated reference leak can grow large enough to cause the kernel to report a busy dentry during a CIFS unmount, triggering a BUG and resulting in a kernel panic and denial of service.

Affected Systems

The flaw exists in the Linux kernel SMB client code that is shipped with many Linux distributions. Any system running a kernel containing this code before the patch commits referenced in the advisory, and that mounts CIFS/SMB shares using that kernel, is affected.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, while the EPSS score of less than 1% suggests a very low probability of exploitation in the wild. The vulnerability is not listed in CISA KEV, implying that no active exploits are known. An attacker with control over an SMB server that can send repeated or delayed oplock break requests can trigger the reference leak until a unmount operation forces the kernel to panic. Because the exploitation requires interaction with an SMB server, casual attacks are unlikely, but environments heavy on CIFS mounts should treat the risk as moderate.

Generated by OpenCVE AI on October 1, 2026 at 13:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version containing the patch commits 2ed2c29d, 9f2e63f1, af0193bbf1, or dfe7b750c7e or later.
  • If a kernel upgrade cannot be performed immediately, schedule a reboot with the patched kernel as soon as it becomes available and remount any CIFS filesystems after the reboot.
  • Configure SMB servers to avoid slow or repeated oplock break requests, reducing the likelihood of triggering the reference leak.

Generated by OpenCVE AI on October 1, 2026 at 13:43 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 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

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


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

Type Values Removed Values Added
Weaknesses CWE-399

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

Type Values Removed Values Added
Metrics cvssV3_1

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


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 in cifs_queue_oplock_break() cifs_queue_oplock_break() unconditionally takes a reference on the target file before queueing cifs_oplock_break(). Only that work item decreases the reference counter again. If another oplock break arrives while that work is still queued, queue_work() will return false and not queue this second work item. As a result, we will never reach the point to drop the file reference again and are leaking this reference. This can be triggered when interacting with a slow-responding server. As a result, later unmount operations for this file system will fail with BUG: Dentry ... still in use (1) [unmount of cifs cifs] VFS: Busy inodes after unmount of cifs (cifs) kernel BUG at fs/super.c:777! Fix this by only incrementing the reference count if the work has been queued successfully. Taking it after queue_work() is safe because all three callers hold tcon->open_file_lock across the call and _cifsFileInfo_put() decrements under that same lock, so a worker that starts the handler in the window cannot drop the reference before it has been taken.
Title smb: client: avoid leaking refcount in cifs_queue_oplock_break()
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:22.126Z

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

Link: CVE-2026-97557

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-97557

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-97557 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T13:45:06Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count