Re: [PATCH] configfs: give the root directory inode its own lockdep class

From: Roy

Date: Wed Nov 25 2026 - 11:31:38 EST


On Tue, 17 Nov 2026 06:53:20 +0000, William Chuang wrote:
> Not tested: syzbot's own C reproducer.

I tested this on arm64 with a syzbot C reproducer.

syzbot has a second report of the same cycle, "possible deadlock in
uvc_func_allow_link":
https://syzkaller.appspot.com/bug?extid=8c0a48f6c8357c9da819

I ran its C reproducer (it creates functions/tcm.usb0, the
target/usb_gadget/naa.*/tpgt_1 group, then uvc.usb0 and the
strings/0x409/iad_desc symlink) in QEMU/KVM on a Raspberry Pi 5
(arm64, PROVE_LOCKING, KASAN), mainline 65e4fd942f72. After it I also
ran a teardown script: rmdir of tpgt_1, then mkdir/rmdir of tpgt_1
three times.

Without the patch: 2 lockdep "possible circular locking dependency"
reports in the reproducer run, and 2 more in a run with only the tcm
mkdir/rmdir steps (no UVC).
With the patch: 0 reports in 3 runs of each, and every step gave the
same result as before.

So this looks like it also fixes that report. If you send a v2, maybe add:

Reported-by: syzbot+8c0a48f6c8357c9da819@xxxxxxxxxxxxxxxxxxxxxxxxx
Closes: https://syzkaller.appspot.com/bug?extid=8c0a48f6c8357c9da819

Tested-by: Roy <rongh7426@xxxxxxxxx>