CVE-2026-68312
cifs: fix cifsFileInfo leak on kmalloc failure in deferred close drain paths
Reported by linux · Published August 10, 2026
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.
EPSS 0.21% · 11.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel-livepatch-6.12.114-139.210 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e3fc065682ebbbd15b0ce0036800f4acbf765d46, e3fc065682ebbbd15b0ce0036800f4acbf765d46, e3fc065682ebbbd15b0ce0036800f4acbf765d46 |
| Linux | Linux | 5.15, 0, 6.1.191 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| Linux | Linux | 7.2, 6.12.114, 6.18.57 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
Timeline
- Aug 10, 2026 CVE Published
- Aug 11, 2026 Coalition ESS Score
- Aug 16, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (17 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68312
vulnetix vdb fixes CVE-2026-68312
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68312/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart