VDB

CVE-2026-68312

CVE-2026-68312 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel-livepatch-6.12.114-139.210Amazon Linux1:1.0-0.amzn2023
kernel6.12-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.114-139.210.amzn2023
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12Amazon Linux1:6.12.114-139.210.amzn2023
python3-perf6.12Amazon Linux1:6.12.114-139.210.amzn2023

Risk scores

EPSS Score
0.21%
11.5th percentile

Affected products

VendorProductVersions
LinuxLinuxe3fc065682ebbbd15b0ce0036800f4acbf765d46, e3fc065682ebbbd15b0ce0036800f4acbf765d46, e3fc065682ebbbd15b0ce0036800f4acbf765d46
LinuxLinux5.15, 0, 6.1.191
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023python3-perf6.120
linuxlinux_kernel5.15, 5.15, 5.15
LinuxLinux7.2, 6.12.114, 6.18.57
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023perf6.120

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›