syzbot


WARNING in firmware_fallback_sysfs (2)

Status: upstream: reported on 2024/08/09 15:45
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+8f06445357a052a92657@syzkaller.appspotmail.com
First crash: 129d, last: 3d11h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in firmware_fallback_sysfs (2) 0 (1) 2024/08/09 15:45
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in firmware_fallback_sysfs usb fs C error error 3432 241d 1379d 0/28 auto-obsoleted due to no activity on 2024/06/24 11:12
linux-5.15 WARNING in firmware_fallback_sysfs origin:upstream missing-backport C error 140 3d01h 627d 0/3 upstream: reported C repro on 2023/03/26 17:15
linux-6.1 WARNING in firmware_fallback_sysfs origin:upstream missing-backport C error 107 3d06h 627d 0/3 upstream: reported C repro on 2023/03/26 16:24

Sample crash report:
pvrusb2: Giving up since device microcontroller firmware appears to be missing.
usb 5-1: Direct firmware load for v4l-pvrusb2-29xxx-01.fw failed with error -2
usb 5-1: Falling back to sysfs fallback for: v4l-pvrusb2-29xxx-01.fw
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2342 at drivers/base/firmware_loader/fallback.c:148 fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:148 [inline]
WARNING: CPU: 1 PID: 2342 at drivers/base/firmware_loader/fallback.c:148 firmware_fallback_sysfs+0x782/0x9e0 drivers/base/firmware_loader/fallback.c:238
Modules linked in:
CPU: 1 UID: 0 PID: 2342 Comm: pvrusb2-context Not tainted 6.13.0-rc1-syzkaller-00378-g62b5a46999c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:148 [inline]
RIP: 0010:firmware_fallback_sysfs+0x782/0x9e0 drivers/base/firmware_loader/fallback.c:238
Code: 1c 24 e9 4d fc ff ff e8 bc c1 8d fb c6 05 c4 d9 f1 09 01 48 c7 c7 c0 cc 85 8c e8 59 56 f5 fa e9 72 fc ff ff e8 9f c1 8d fb 90 <0f> 0b 90 48 89 df 48 c7 c6 a0 cd 85 8c 4c 89 ea e8 d9 b6 f7 fa e9
RSP: 0018:ffffc90005357730 EFLAGS: 00010293
RAX: ffffffff8611b071 RBX: ffff88805aced0a8 RCX: ffff88802a561e00
RDX: 0000000000000000 RSI: 00000000fffffff5 RDI: 0000000000000000
RBP: 000000000000003c R08: ffffffff8611aa80 R09: 1ffffffff2857538
R10: dffffc0000000000 R11: fffffbfff2857539 R12: 00000000fffffff5
R13: ffffffff8cdd4280 R14: 0000000000000001 R15: 0000000000001770
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe30fd49a0 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 _request_firmware+0xdf7/0x13b0 drivers/base/firmware_loader/main.c:941
 request_firmware+0x36/0x50 drivers/base/firmware_loader/main.c:992
 pvr2_locate_firmware+0xb1/0x500 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:1359
 pvr2_upload_firmware1+0x1c6/0x950 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:1426
 pvr2_hdw_setup_low drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2107 [inline]
 pvr2_hdw_setup drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2261 [inline]
 pvr2_hdw_initialize+0x411/0x3d10 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2338
 pvr2_context_check drivers/media/usb/pvrusb2/pvrusb2-context.c:111 [inline]
 pvr2_context_thread_func+0x4b3/0xb50 drivers/media/usb/pvrusb2/pvrusb2-context.c:158
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/09 03:35 upstream 62b5a46999c7 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/11/23 11:02 upstream 06afb0f36106 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/11/08 13:57 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/11/05 11:08 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/10/31 00:40 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/10/31 00:29 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/10/26 16:03 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/10/17 12:10 upstream c964ced77262 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/10/16 18:36 upstream 2f87d0916ce0 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/09/20 13:14 upstream 2004cef11ea0 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in firmware_fallback_sysfs
2024/08/05 15:38 upstream de9c2c66ad8e e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in firmware_fallback_sysfs
2024/12/09 07:33 upstream 62b5a46999c7 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in firmware_fallback_sysfs
2024/10/06 12:32 upstream 8f602276d390 d7906eff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in firmware_fallback_sysfs
2024/10/31 20:37 linux-next f9f24ca362a4 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in firmware_fallback_sysfs
* Struck through repros no longer work on HEAD.