Re: [syzbot] [overlayfs?] possible deadlock in __d_alloc_parallel
From: Björn Bärtschi
Date: Wed Dec 02 2026 - 13:10:22 EST
#syz fix: VFS: per-fs-type lockdep key for dentry in-lookup locking
This is the false positive from the single global DCACHE_PAR_LOOKUP
lockdep class added in 59492f9991dc, seen with overlayfs on top of
another filesystem. NeilBrown's series "Fixes for dentry lockdep
tracking on stacking filesystems" (merged for v7.4-rc1) addressed it;
syzbot has not seen this crash since the series was applied.
I checked it with the C reproducer on v7.4-rc5 (overlay on tmpfs):
- with 9f611778a273, 11f6be214ba3 and a5478f5c226b reverted, lockdep
reports the same DCACHE_PAR_LOOKUP vs. i_mutex_dir_key cycle, with
ovl_lookup_single() -> lookup_slow() in the dependency chain;
- with only a5478f5c226b reverted, and with the series applied, the
reproducer runs clean.
The analysis was done with the help of an AI assistant (Claude); I
reviewed the results.
Björn