{"id":"CVE-2026-64108","aliases":["CVE-2026-64108"],"related":[],"kind":"vulnerability","state":"published","title":"cifs: Fix busy dentry used after unmounting","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix busy dentry used after unmounting\n\nSince commit 340cea84f691c (\"cifs: open files should not hold ref on\nsuperblock\"), cifs file only holds the dentry ref_cnt, the cifs file\nclose work(cfile->deferred) could be executed after unmounting, which\nwill trigger a warning in generic_shutdown_super:\n BUG: Dentry 00000000a14a6845{i=c,n=file}  still in use (1) [unmount of\n cifs cifs]\n\nThe detailed processs is:\n   process A           process B           kworker\n fd = open(PATH)\n  vfs_open\n   file->__f_path = *path // dentry->d_lockref.count = 1\n   cifs_open\n    cifs_new_fileinfo\n     cfile->dentry = dget(dentry) // dentry->d_lockref.count = 2\n close(fd)\n  __fput\n  cifs_close\n   queue_delayed_work(deferredclose_wq, cfile->deferred)\n  dput(dentry) // dentry->d_lockref.count = 1\n\t\t\t                 smb2_deferred_work_close\n\t\t\t\t\t  _cifsFileInfo_put\n\t\t\t\t\t   list_del(&cifs_file->flist)\n                    umount\n\t\t     cleanup_mnt\n\t\t      deactivate_super\n\t\t       cifs_kill_sb\n\t\t        cifs_close_all_deferred_files_sb\n\t\t\t cifs_close_all_deferred_files\n\t\t\t  // cannot find cfile, skip _cifsFileInfo_put\n\t\t\tkill_anon_super\n\t\t\t generic_shutdown_super\n\t\t\t  shrink_dcache_for_umount\n\t\t\t   umount_check\n\t\t\t    WARN ! // dentry->d_lockref.count = 1\n\t\t\t\t\t   cifsFileInfo_put_final\n\t\t\t\t\t    dput(cifs_file->dentry)\n\t\t                            // dentry->d_lockref.count = 0\n\nFix it by flushing 'deferredclose_wq' before calling kill_anon_super.\n\nFetch a reproducer in https://bugzilla.kernel.org/show_bug.cgi?id=221548.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix busy dentry used after unmounting\n\nSince commit 340cea84f691c (\"cifs: open files should not hold ref on\nsuperblock\"), cifs file only holds the dentry ref_cnt, the cifs file\nclose work(cfile->deferred) could be executed after unmounting, which\nwill trigger a warning in generic_shutdown_super:\n BUG: Dentry 00000000a14a6845{i=c,n=file}  still in use (1) [unmount of\n cifs cifs]\n\nThe detailed processs is:\n   process A           process B           kworker\n fd = open(PATH)\n  vfs_open\n   file->__f_path = *path // dentry->d_lockref.count = 1\n   cifs_open\n    cifs_new_fileinfo\n     cfile->dentry = dget(dentry) // dentry->d_lockref.count = 2\n close(fd)\n  __fput\n  cifs_close\n   queue_delayed_work(deferredclose_wq, cfile->deferred)\n  dput(dentry) // dentry->d_lockref.count = 1\n\t\t\t                 smb2_deferred_work_close\n\t\t\t\t\t  _cifsFileInfo_put\n\t\t\t\t\t   list_del(&cifs_file->flist)\n                    umount\n\t\t     cleanup_mnt\n\t\t      deactivate_super\n\t\t       cifs_kill_sb\n\t\t        cifs_close_all_deferred_files_sb\n\t\t\t cifs_close_all_deferred_files\n\t\t\t  // cannot find cfile, skip _cifsFileInfo_put\n\t\t\tkill_anon_super\n\t\t\t generic_shutdown_super\n\t\t\t  shrink_dcache_for_umount\n\t\t\t   umount_check\n\t\t\t    WARN ! // dentry->d_lockref.count = 1\n\t\t\t\t\t   cifsFileInfo_put_final\n\t\t\t\t\t    dput(cifs_file->dentry)\n\t\t                            // dentry->d_lockref.count = 0\n\nFix it by flushing 'deferredclose_wq' before calling kill_anon_super.\n\nFetch a reproducer in https://bugzilla.kernel.org/show_bug.cgi?id=221548.","source":"cvelist"}],"published":"2026-07-19T15:40:10.784Z","modified":"2026-08-12T15:14:14.520Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"708c276f516d27beaded7f372ac8111cee43926c","fixed":"c7364cea52531534676b9f7dbc0a477c11f4c050","status":"affected"},{"type":"git","introduced":"0629a1a187e424373364d681b42b101894bdb548","fixed":"bdc349a87f1fb02c18c4071858a06542bfea783d","status":"affected"},{"type":"git","introduced":"0e4b8faaaebe3137bec5723ef2b3cb0437fb38fd","fixed":"f2deaa2f409a4598eaa10f2a93a676c0632af248","status":"affected"},{"type":"git","introduced":"f655467a9973f964b267871e5fef533ad5014494","fixed":"5e7d9d0805e58fa3760894e73115b7a74024fd07","status":"affected"},{"type":"git","introduced":"340cea84f691c5206561bb2e0147158fe02070be","fixed":"e1ffa6cf662383f95816eed1b623429d82675e75","status":"affected"},{"type":"git","introduced":"340cea84f691c5206561bb2e0147158fe02070be","fixed":"c68337442f03953237a94577beb468ab2662a851","status":"affected"},{"type":"git","version":"30afc6ea72cc6cf7c8d579e79b64232801c38d08","status":"affected"},{"type":"semver","introduced":"6.1.167","fixed":"6.1.175","status":"affected"},{"type":"semver","introduced":"6.6.130","fixed":"6.6.142","status":"affected"},{"type":"semver","introduced":"6.12.78","fixed":"6.12.92","status":"affected"},{"type":"semver","introduced":"6.18.20","fixed":"6.18.34","status":"affected"},{"type":"semver","introduced":"6.19.10","fixed":"6.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.142","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.167","fixed":"6.1.175"},{"status":"affected","introduced":"6.6.130","fixed":"6.6.142"},{"status":"affected","introduced":"6.12.78","fixed":"6.12.92"},{"status":"affected","introduced":"6.18.20","fixed":"6.18.34"},{"status":"affected","introduced":"6.19.10","fixed":"7.0"},{"status":"affected","introduced":"7.0.1","fixed":"7.0.11"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c7364cea52531534676b9f7dbc0a477c11f4c050","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdc349a87f1fb02c18c4071858a06542bfea783d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2deaa2f409a4598eaa10f2a93a676c0632af248","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e7d9d0805e58fa3760894e73115b7a74024fd07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1ffa6cf662383f95816eed1b623429d82675e75","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c68337442f03953237a94577beb468ab2662a851","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64108","url":"https://www.cve.org/CVERecord?id=CVE-2026-64108","licence":"CVE Terms of Use","modified":"2026-08-05T12:39:17.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64108","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64108","licence":"Public domain","modified":"2026-08-12T15:14:14.520Z"}],"updatedAt":"2026-11-25T22:59:29.150Z","epss":{"score":0.00129,"percentile":0.02785,"date":"2026-12-01T12:00:22.000Z"}}