bisecting fixing commit since fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 building syzkaller on 5140bd58017d71af46d2b1ef26d7fce1a975dd5e testing commit fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 13be3ffc91bba911ea8cdb0cc757ac0c5d0041a3da935fb5ced93fbfbee0ac1f run #0: crashed: KASAN: use-after-free Read in kernfs_add_one run #1: crashed: KASAN: use-after-free Read in kernfs_next_descendant_post run #2: crashed: KASAN: use-after-free Read in kernfs_next_descendant_post run #3: crashed: KASAN: use-after-free Read in kernfs_add_one run #4: crashed: WARNING in firmware_fallback_sysfs run #5: crashed: WARNING in firmware_fallback_sysfs run #6: crashed: WARNING in firmware_fallback_sysfs run #7: crashed: WARNING in firmware_fallback_sysfs run #8: crashed: WARNING in firmware_fallback_sysfs run #9: crashed: WARNING in firmware_fallback_sysfs run #10: crashed: WARNING in firmware_fallback_sysfs run #11: crashed: WARNING in firmware_fallback_sysfs run #12: crashed: WARNING in firmware_fallback_sysfs run #13: crashed: WARNING in firmware_fallback_sysfs run #14: crashed: WARNING in firmware_fallback_sysfs run #15: crashed: WARNING in firmware_fallback_sysfs run #16: crashed: WARNING in firmware_fallback_sysfs run #17: crashed: WARNING in firmware_fallback_sysfs run #18: crashed: WARNING in firmware_fallback_sysfs run #19: crashed: WARNING in firmware_fallback_sysfs testing current HEAD 0280e3c58f92b2fe0e8fbbdf8d386449168de4a8 testing commit 0280e3c58f92b2fe0e8fbbdf8d386449168de4a8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 3da82cc72317f28f005cf6cd2007ab42f60582f8c8923172da635e21a6352da9 run #0: crashed: WARNING in dpm_sysfs_add run #1: crashed: KASAN: use-after-free Read in kernfs_get run #2: crashed: WARNING in firmware_fallback_sysfs run #3: crashed: WARNING in firmware_fallback_sysfs run #4: crashed: WARNING in firmware_fallback_sysfs run #5: crashed: WARNING in firmware_fallback_sysfs run #6: crashed: WARNING in firmware_fallback_sysfs run #7: crashed: WARNING in firmware_fallback_sysfs run #8: crashed: WARNING in firmware_fallback_sysfs run #9: crashed: WARNING in firmware_fallback_sysfs revisions tested: 2, total time: 23m35.257223371s (build: 13m47.21799013s, test: 9m10.668100067s) the crash still happens on HEAD commit msg: Merge tag 'nfs-for-5.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfs crash: WARNING in firmware_fallback_sysfs WARNING: CPU: 0 PID: 1138 at fs/sysfs/group.c:278 sysfs_remove_group+0xf2/0x140 fs/sysfs/group.c:278 Modules linked in: CPU: 0 PID: 1138 Comm: kworker/0:2 Not tainted 5.17.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events request_firmware_work_func RIP: 0010:sysfs_remove_group+0xf2/0x140 fs/sysfs/group.c:278 Code: 48 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 3e 48 8b 33 48 c7 c7 c0 8c fc 88 e8 e3 a2 63 06 <0f> 0b 48 83 c4 08 5b 5d 41 5c c3 e8 1e 14 d0 ff e9 26 ff ff ff 48 RSP: 0018:ffffc90004ebfad0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff8959e640 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffff520009d7f4c RBP: 0000000000000000 R08: 0000000000000001 R09: ffff8880b9e27a2b R10: ffffed10173c4f45 R11: 0000000000000001 R12: ffff88807d0b4008 R13: 1ffff920009d7f65 R14: ffff888018862000 R15: ffff8880188620c0 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc9b1880e60 CR3: 000000001bbae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_del+0x1f4/0xc20 drivers/base/core.c:3569 fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:550 [inline] fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:588 [inline] firmware_fallback_sysfs+0x7c9/0xb60 drivers/base/firmware_loader/fallback.c:664 _request_firmware+0x663/0xd20 drivers/base/firmware_loader/main.c:774 request_firmware_work_func+0xd7/0x230 drivers/base/firmware_loader/main.c:1020 process_one_work+0x879/0x1410 kernel/workqueue.c:2307 worker_thread+0x5a0/0xf60 kernel/workqueue.c:2454 kthread+0x299/0x340 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295