Linux kernel: cifs: fix cifsFileInfo leak on kmalloc failure in deferred close drain paths
Overview
In the Linux kernel, the following vulnerability has been resolved: cifs: fix cifsFileInfo leak on kmalloc failure in deferred close drain paths In cifs_close_deferred_file(), cifs_close_all_deferred_files(), and cifs_close_deferred_file_under_dentry(), when a pending deferred close is cancelled via cancel_delayed_work(), the subsequent kmalloc_obj() to add the file to the local processing list may fail under memory pressure. The loop breaks immediately, but the cancelled work is no longer pending (it would have called _cifsFileInfo_put()), and the cfile is never added to file_head for processing. The cifsFileInfo reference and the open server handle both leak. Fix by saving the cfile that failed allocation in a local variable, breaking as before, and calling _cifsFileInfo_put() on it after releasing the lock. Any files later in the iteration are unaffected since their deferred work is still pending and will fire normally.
- Published
- 8/10/2026
- Last modified
- 10/30/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 Linux | ≥ e3fc065682ebbbd15b0ce0036800f4acbf765d46, < 75143abc21f627da7ee3b0336814bd702692e830 | Verify advisory | Source |
Linux Linux | ≥ e3fc065682ebbbd15b0ce0036800f4acbf765d46, < c968b2417f6a15d35ff4b97d534af4a126cb510b | Verify advisory | Source |
Linux Linux | ≥ e3fc065682ebbbd15b0ce0036800f4acbf765d46, < 7af7ec3af091f55d01f0ebe0246d10e37f358311 | Verify advisory | Source |
Linux Linux | ≥ e3fc065682ebbbd15b0ce0036800f4acbf765d46, < 6089f561e2c31a3ba52836c75c7d2ab50d2eea41 | Verify advisory | Source |
Linux Linux | ≥ e3fc065682ebbbd15b0ce0036800f4acbf765d46, < 32390b3f06f26e366cfb27dbac4bc0196c321535 | Verify advisory | Source |
Linux Linux | ≥ e3fc065682ebbbd15b0ce0036800f4acbf765d46, < c2f2e83e3bbc5483730fd4ee903182761f1ae50f | Verify advisory | Source |
Linux Linux | 5.15 | 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.
No CVSS score is published for this record yet. 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.