syzbot


WARNING in dpm_sysfs_add
Status: upstream: reported on 2021/10/19 18:43
Reported-by: syzbot+578bea23bb8e6bd8c33c@syzkaller.appspotmail.com
First crash: 224d, last: 2d18h

Sample crash report:
usb 4-1: Direct firmware load for ueagle-atm/eagleI.fw failed with error -2
usb 4-1: Falling back to sysfs fallback for: ueagle-atm/eagleI.fw
------------[ cut here ]------------
sysfs group 'power' not found for kobject 'ueagle-atm!eagleI.fw'
WARNING: CPU: 0 PID: 3735 at fs/sysfs/group.c:278 sysfs_remove_group+0x126/0x170 fs/sysfs/group.c:278
Modules linked in:
CPU: 0 PID: 3735 Comm: kworker/0:8 Not tainted 5.18.0-syzkaller-01850-gaa051d36ce4a #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+0x126/0x170 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 37 48 8b 33 48 c7 c7 00 b9 de 89 e8 68 5a 2a 07 <0f> 0b eb 98 e8 81 8d c4 ff e9 01 ff ff ff 48 89 df e8 74 8d c4 ff
RSP: 0018:ffffc90003fb7a80 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffffffff8a40b5a0 RCX: 0000000000000000
RDX: ffff8880798c4040 RSI: ffffffff815f7898 RDI: fffff520007f6f42
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815f226e R11: 0000000000000000 R12: ffff8880715db008
R13: ffffffff8a40bb40 R14: 1ffff920007f6f63 R15: ffff8880763c00a8
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0ca7bc3670 CR3: 000000000ba8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dpm_sysfs_add+0x1f4/0x290 drivers/base/power/sysfs.c:734
 device_add+0xa30/0x1e20 drivers/base/core.c:3362
 fw_load_sysfs_fallback drivers/base/firmware_loader/fallback.c:512 [inline]
 fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:588 [inline]
 firmware_fallback_sysfs+0x402/0xe70 drivers/base/firmware_loader/fallback.c:664
 _request_firmware+0xc2c/0x1020 drivers/base/firmware_loader/main.c:788
 request_firmware_work_func+0xdd/0x230 drivers/base/firmware_loader/main.c:1037
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>

Crashes (13):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/05/25 04:45 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in dpm_sysfs_add
ci-upstream-kasan-gce-smack-root 2022/04/19 01:56 upstream b2d229d4ddb1 8bcc32a6 .config log report info WARNING in dpm_sysfs_add
ci-upstream-kasan-gce-selinux-root 2022/04/18 18:56 upstream b2d229d4ddb1 8bcc32a6 .config log report info WARNING in dpm_sysfs_add
ci-upstream-kasan-gce-selinux-root 2022/04/17 05:59 upstream 90ea17a9e27b 8bcc32a6 .config log report info WARNING in dpm_sysfs_add
ci-qemu-upstream 2022/04/14 11:54 upstream a19944809fe9 b17b2923 .config log report info WARNING in dpm_sysfs_add
ci-qemu-upstream 2022/04/14 11:46 upstream a19944809fe9 b17b2923 .config log report info WARNING in dpm_sysfs_add
ci-upstream-kasan-gce-smack-root 2022/03/01 23:45 upstream 575115360652 45a13a73 .config log report info WARNING in dpm_sysfs_add
ci-upstream-kasan-gce 2022/01/25 12:14 upstream a08b41ab9e2e 2cbffd88 .config log report info WARNING in dpm_sysfs_add
ci-upstream-kasan-gce-386 2022/04/17 05:39 upstream 90ea17a9e27b 8bcc32a6 .config log report info WARNING in dpm_sysfs_add
ci-qemu-upstream-386 2022/02/20 03:14 upstream 4f12b742eb2b 3cd800e4 .config log report info WARNING in dpm_sysfs_add
ci-qemu-upstream-386 2021/10/15 18:31 upstream ec681c53f8d2 0c5d9412 .config log report info WARNING in dpm_sysfs_add
ci-upstream-linux-next-kasan-gce-root 2022/02/20 02:08 linux-next ef6b35306dd8 3cd800e4 .config log report info WARNING in dpm_sysfs_add
ci-upstream-linux-next-kasan-gce-root 2021/12/27 12:37 linux-next ea586a076e8a e4f103c4 .config log report info WARNING in dpm_sysfs_add