CVE-2026-64108 in Linux
الملخص
بحسب VulDB • 20/07/2026
في نواة لينكس، تم حل الثغرة التالية:
cifs: إصلاح استخدام dentry مشغول بعد فك التثبيت (unmounting)
منذ الإصدار 340cea84f691c ("cifs: يجب ألا تحتفظ الملفات المفتوحة بمرجع على superblock")، يحتفظ ملف cifs فقط بـ ref_cnt الخاص بـ dentry. يمكن تنفيذ عمل إغلاق ملفات cifs (cfile->deferred) بعد فك التثبيت، مما سيؤدي إلى تحذير في generic_shutdown_super: BUG: Dentry 00000000a14a6845{i=c,n=file} لا يزال قيد الاستخدام (1) [فك تثبيت لـ cifs cifs]
العملية التفصيلية هي كالتالي: العملية A العملية B kworker fd = open(PATH) 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 // لا يمكن العثور على cfile، يتم تخطي _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
تم إصلاح المشكلة عن طريق تفريغ 'deferredclose_wq' قبل استدعاء kill_anon_super.
يمكن الحصول على أداة إعادة إنتاج الثغرة من الرابط https://bugzilla.kernel.org/show_bug.cgi?id=221548.
VulDB is the best source for vulnerability data and more expert information about this specific topic.