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: 37d, last: 37d
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 150d 1288d 0/27 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 118 8d02h 535d 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 96 18d 535d 0/3 upstream: reported C repro on 2023/03/26 16:24

Sample crash report:
usb 1-1: Direct firmware load for v4l-pvrusb2-29xxx-01.fw failed with error -2
usb 1-1: Falling back to sysfs fallback for: v4l-pvrusb2-29xxx-01.fw
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2036 at drivers/base/firmware_loader/fallback.c:148 fw_load_from_user_helper drivers/base/firmware_loader/fallback.c:148 [inline]
WARNING: CPU: 0 PID: 2036 at drivers/base/firmware_loader/fallback.c:148 firmware_fallback_sysfs+0x782/0x9e0 drivers/base/firmware_loader/fallback.c:238
Modules linked in:
CPU: 0 UID: 0 PID: 2036 Comm: pvrusb2-context Not tainted 6.11.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 ec cb 9f fb c6 05 45 f0 0d 0a 01 48 c7 c7 80 83 86 8c e8 f9 1e bf 05 e9 72 fc ff ff e8 cf cb 9f fb 90 <0f> 0b 90 48 89 df 48 c7 c6 60 84 86 8c 4c 89 ea e8 29 85 c1 05 e9
RSP: 0018:ffffc90004daf730 EFLAGS: 00010293
RAX: ffffffff85f3ab21 RBX: ffff88805bb470a8 RCX: ffff8880258a8000
RDX: 0000000000000000 RSI: 00000000fffffff5 RDI: 0000000000000000
RBP: 000000000000003c R08: ffffffff85f3a530 R09: 1ffffffff26e5922
R10: dffffc0000000000 R11: fffffbfff26e5923 R12: 00000000fffffff5
R13: ffffffff8cddfb00 R14: 0000000000000001 R15: 0000000000001770
FS:  0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020bc5000 CR3: 000000000e734000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 _request_firmware+0xcf5/0x12b0 drivers/base/firmware_loader/main.c:914
 request_firmware+0x36/0x50 drivers/base/firmware_loader/main.c:963
 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+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
* Struck through repros no longer work on HEAD.