CVE-2026-68312
Last modified
CVE-2026-68312 is a vulnerability of currently unknown severity. 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.
Description
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= e3fc065682ebbbd15b0ce0036800f4acbf765d46, < 32390b3f06f26e366cfb27dbac4bc0196c321535; >= e3fc065682ebbbd15b0ce0036800f4acbf765d46, < c2f2e83e3bbc5483730fd4ee903182761f1ae50f |
| Linux | Linux | 5.15 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-68312?
How severe is CVE-2026-68312?
How do I fix CVE-2026-68312?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-68306In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68307In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68308In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68309In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68310In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68311In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68313In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68314In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68315In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68316In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68317In the Linux kernel, the following vulnerability has been re…
- CVE-2026-68318In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-68312?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
