All vulnerabilities

Servers and applications

CVE-2026-97557

smb: client: avoid leaking refcount in cifs_queue_oplock_break()

Severity
High 7.5
Published
25 Sept 2026
Last changed
30 Oct 2026
Added to UpHeron
30 Oct 2026
Fixed in
5.15.224, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7
Exploit chance
0.7% in the next 30 daysHigher than 53% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
CVE Program

Description

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

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…

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.2.7
  • From 6.13 before 6.18.53
  • From 6.7 before 6.12.111
  • From 6.2 before 6.6.158
All 12 release lines
  • From 3.16.72 before 3.17
  • From 4.9.171 before 4.10
  • From 4.14.114 before 4.15
  • From 4.19.37 before 4.20
  • From 5.0.10 before 5.1
  • From 5.1 before 5.10.273
  • From 5.11 before 5.15.224
  • From 5.16 before 6.1.189
  • From 6.2 before 6.6.158
  • From 6.7 before 6.12.111
  • From 6.13 before 6.18.53
  • From 6.19 before 7.2.7

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-97557