SecurityContext

CVE-2026-68312: Linux Kernel CIFS - Resource Leak

  • Cve: CVE-2026-68312
  • Name: Linux Kernel CIFS - Resource Leak
  • 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.
  • Impact: Attackers can cause resource leaks leading to potential denial of service due to exhaustion of file handles or memory.
  • Remediation: Update to the latest Linux kernel version containing the fix.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00212
  • Epss percentile: 0.11319
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-08-10T13:20:21Z
  • Age in days: 106
  • Modified at: 2026-10-30T13:19:43Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-68312
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/32390b3f06f26e366cfb27dbac4bc0196c321535
https://git.kernel.org/stable/c/6089f561e2c31a3ba52836c75c7d2ab50d2eea41
https://git.kernel.org/stable/c/75143abc21f627da7ee3b0336814bd702692e830
https://git.kernel.org/stable/c/7af7ec3af091f55d01f0ebe0246d10e37f358311
https://git.kernel.org/stable/c/c2f2e83e3bbc5483730fd4ee903182761f1ae50f
https://git.kernel.org/stable/c/c968b2417f6a15d35ff4b97d534af4a126cb510b

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 5.15, < 7.2; >= 5.15, < 7.1.6; >= 5.15, < 6.18.57; >= 5.15, < 6.12.114; >= 5.15, < 6.6.160; >= 5.15, < 6.1.191nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports