Linux kernel: fs/smb: Fix inconsistent refcnt update
Overview
In the Linux kernel, the following vulnerability has been resolved: fs/smb: Fix inconsistent refcnt update A possible inconsistent update of refcount was identified in `smb2_compound_op`. Such inconsistent update could lead to possible resource leaks. Why it is a possible bug: 1. In the comment section of the function, it clearly states that the reference to `cfile` should be dropped after calling this function. 2. Every control flow path would check and drop the reference to `cfile`, except the patched one. 3. Existing callers would not handle refcount update of `cfile` if -ENOMEM is returned. To fix the bug, an extra goto label "out" is added, to make sure that the cleanup logic would always be respected. As the problem is caused by the allocation failure of `vars`, the cleanup logic between label "finished" and "out" can be safely ignored. According to the definition of function `is_replayable_error`, the error code of "-ENOMEM" is not recoverable. Therefore, the replay logic also gets ignored.
- Published
- 9/16/2025
- Last modified
- 11/5/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.8, < 6.1.150 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.104 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.45 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.16.5 | Verify advisory | Source |
linux kernel linux | 6.17 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
debian linux debian | 11.0 | Verify advisory | Source |
Linux Linux | ≥ a7d5c294628088781da9e91cbb034d61c3a71f71, < 3fc11ff13fbc2749871d6ac2141685cf54699997 | Verify advisory | Source |
Linux Linux | ≥ a7d5c294628088781da9e91cbb034d61c3a71f71, < 4191ea1f0bb3e27d65c5dcde7bd00e709ec67141 | Verify advisory | Source |
Linux Linux | ≥ a7d5c294628088781da9e91cbb034d61c3a71f71, < 4735f5991f51468b85affb8366b7067248457a71 | Verify advisory | Source |
Linux Linux | ≥ a7d5c294628088781da9e91cbb034d61c3a71f71, < cc82c6dff548f0066a51a6e577c7454e7d26a968 | Verify advisory | Source |
Linux Linux | ≥ a7d5c294628088781da9e91cbb034d61c3a71f71, < ab529e6ca1f67bcf31f3ea80c72bffde2e9e053e | Verify advisory | Source |
Linux Linux | 5.8 | Verify advisory | Source |
SIMATIC CN 4100 Siemens | < V5.0 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.