# CVE-2026-97557: smb: client: avoid leaking refcount in cifs\_queue\_oplock\_break()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **Published:** 2026-09-25T10:21:47.680Z
- **Modified:** 2026-10-30T13:21:07.803Z

## Who should check

- Anyone running Linux \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 13b9519b19e6e58a6cd01e63062cd1da7bd6449a; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 0fb92ac85db58945ad7b970ff17674001487b3a3; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 735a3a610136ae10f381d0909dff38e5b5c5f056; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< de2a6bcff2659bea40c7485115b57f0ae189fc01; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< af0193bbf1ac8c0f67f972998b0cc629d6116cf6; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 2ed2c29dd9593637cfa25ac1eb23241b20202778; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< dfe7b750c7e069873a8a57a11c816831a235618a; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 9f2e63f1b2d5fc5b5423424902c091123e220e7e; 2429fcf06d3cb962693868ab0a927c9038f12a2d; 1ee4f2d7cdcd4508cc3cbe3b2622d7177b89da12; …
- Anyone running Linux 5.1

## 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.

## Affected and fixed versions

- Linux: \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 13b9519b19e6e58a6cd01e63062cd1da7bd6449a; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 0fb92ac85db58945ad7b970ff17674001487b3a3; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 735a3a610136ae10f381d0909dff38e5b5c5f056; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< de2a6bcff2659bea40c7485115b57f0ae189fc01; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< af0193bbf1ac8c0f67f972998b0cc629d6116cf6; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 2ed2c29dd9593637cfa25ac1eb23241b20202778; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< dfe7b750c7e069873a8a57a11c816831a235618a; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 9f2e63f1b2d5fc5b5423424902c091123e220e7e; 2429fcf06d3cb962693868ab0a927c9038f12a2d; 1ee4f2d7cdcd4508cc3cbe3b2622d7177b89da12; … (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97557. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97557.md
Affected: Linux >= b98749cac4a695f084a5ff076f4510b23e353ecd, < 13b9519b19e6e58a6cd01e63062cd1da7bd6449a; >= b98749cac4a695f084a5ff076f4510b23e353ecd, < 0fb92ac85db58945ad7b970ff17674001487b3a3; >= b98749cac4a695f084a5ff076f4510b23e353ecd, < 735a3a610136ae10f381d0909dff38e5b5c5f056; >= b98749cac4a695f084a5ff0…
Fixed in: Linux 13b9519b19e6e58a6cd01e63062cd1da7bd6449a, Linux 0fb92ac85db58945ad7b970ff17674001487b3a3, Linux 735a3a610136ae10f381d0909dff38e5b5c5f056, Linux 2ed2c29dd9593637cfa25ac1eb23241b20202778, Linux 9f2e63f1b2d5fc5b5423424902c091123e220e7e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97557 being exploited?

There is no confirmed exploitation: CVE-2026-97557 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97557?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-97557?

Linux \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 13b9519b19e6e58a6cd01e63062cd1da7bd6449a; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 0fb92ac85db58945ad7b970ff17674001487b3a3; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 735a3a610136ae10f381d0909dff38e5b5c5f056; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< de2a6bcff2659bea40c7485115b57f0ae189fc01; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< af0193bbf1ac8c0f67f972998b0cc629d6116cf6; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 2ed2c29dd9593637cfa25ac1eb23241b20202778; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< dfe7b750c7e069873a8a57a11c816831a235618a; \>= b98749cac4a695f084a5ff076f4510b23e353ecd, \< 9f2e63f1b2d5fc5b5423424902c091123e220e7e; 2429fcf06d3cb962693868ab0a927c9038f12a2d; 1ee4f2d7cdcd4508cc3cbe3b2622d7177b89da12; …; Linux 5.1.

### Is there a fix for CVE-2026-97557?

Yes. Fixed in Linux 13b9519b19e6e58a6cd01e63062cd1da7bd6449a, Linux 0fb92ac85db58945ad7b970ff17674001487b3a3, Linux 735a3a610136ae10f381d0909dff38e5b5c5f056, Linux 2ed2c29dd9593637cfa25ac1eb23241b20202778, Linux 9f2e63f1b2d5fc5b5423424902c091123e220e7e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-97557?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/13b9519b19e6e58a6cd01e63062cd1da7bd6449a>
- other: <https://git.kernel.org/stable/c/0fb92ac85db58945ad7b970ff17674001487b3a3>
- other: <https://git.kernel.org/stable/c/735a3a610136ae10f381d0909dff38e5b5c5f056>
- other: <https://git.kernel.org/stable/c/de2a6bcff2659bea40c7485115b57f0ae189fc01>
- other: <https://git.kernel.org/stable/c/af0193bbf1ac8c0f67f972998b0cc629d6116cf6>
- other: <https://git.kernel.org/stable/c/2ed2c29dd9593637cfa25ac1eb23241b20202778>
- other: <https://git.kernel.org/stable/c/dfe7b750c7e069873a8a57a11c816831a235618a>
- other: <https://git.kernel.org/stable/c/9f2e63f1b2d5fc5b5423424902c091123e220e7e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97557>

HTML: <https://flawdb.com/CVE-2026-97557> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97557>
