cifs: fix cifsFileInfo leak on kmalloc failure in deferred close drain paths
CVE-2026-68312 is fixed in 16 products on 1 platform, first by DEBIAN-CVE-2026-68312, released August 11, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| dtb-aarch64 · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-64kb · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-64kb · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-64kb · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-azure · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-azure · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-azure · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-default · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-default · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-default · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24197-1 | Nov 7, 2026 |
| kernel-default-base · opensuse-leap 16.0 | 6.12.0-160000.39.1.160000.2.25 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-default-base · sles 15.7 | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-default-base · sles 16.0 | 6.12.0-160000.39.1.160000.2.26 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-docs · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-docs · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-docs · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-kvmsmall · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-kvmsmall · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-livepatch-SLE15-SP7-RT_Update_20 · sles 15.7 | 1-150700.1.3.1 | SUSE-SU-2026:4120-1 | Sep 10, 2026 |
| kernel-livepatch-SLE15-SP7_Update_21 · sles 15.7 | 1-150700.15.3.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-obs-build · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-obs-build · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-obs-qa · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-obs-qa · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-rt · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-source · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-source · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-source · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-syms · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-syms · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-syms · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| kernel-zfcpdump · opensuse-leap 16.0 | 6.12.0-160000.39.1 | OPENSUSE-SU-2026:22091-1 | Nov 7, 2026 |
| kernel-zfcpdump · sles 15.7 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 | Oct 7, 2026 |
| kernel-zfcpdump · sles 16.0 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 | Nov 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.115-2 | DEBIAN-CVE-2026-68312 | Aug 11, 2026 |
| linux · Debian 14 | 7.1.6-1 | DEBIAN-CVE-2026-68312 | Aug 11, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.