CVE-2026-64108 in Linux
Zusammenfassung
von VulDB • 19.07.2026
Im Linux-Kernel wurde folgende Schwachstelle behoben:
cifs: Behebung der Verwendung eines „busy dentry“ nach dem Aushängen (Unmount)
Seit Commit 340cea84f691c („cifs: open files should not hold ref on superblock“) hält die cifs-Datei nur noch den Verweis auf `dentry->ref_cnt`. Die Arbeit zum Schließen der cifs-Datei (`cfile->deferred`) kann nach dem Aushängen ausgeführt werden, was zu einer Warnung in `generic_shutdown_super` führt:
BUG: Dentry 00000000a14a6845{i=c,n=file} still in use (1) [unmount of cifs cifs]
Der detaillierte Ablauf ist wie folgt: Prozess A Prozess B kworker fd = open(PFAD) vfs_open file->__f_path = *path // dentry->d_lockref.count = 1 cifs_open cifs_new_fileinfo cfile->dentry = dget(dentry) // dentry->d_lockref.count = 2 close(fd) __fput cifs_close queue_delayed_work(deferredclose_wq, cfile->deferred) dput(dentry) // dentry->d_lockref.count = 1 smb2_deferred_work_close _cifsFileInfo_put list_del(&cifs_file->flist) umount cleanup_mnt deactivate_super cifs_kill_sb cifs_close_all_deferred_files_sb cifs_close_all_deferred_files // kann cfile nicht finden, überspringt _cifsFileInfo_put kill_anon_super generic_shutdown_super shrink_dcache_for_umount umount_check WARN ! // dentry->d_lockref.count = 1 cifsFileInfo_put_final dput(cifs_file->dentry) // dentry->d_lockref.count = 0
Die Behebung erfolgt durch das Flushen von `deferredclose_wq`, bevor `kill_anon_super` aufgerufen wird.
Ein Reproducer kann unter https://bugzilla.kernel.org/show_bug.cgi?id=221548 abgerufen werden.
VulDB is the best source for vulnerability data and more expert information about this specific topic.