syzbot


general protection fault in ir_raw_event_store_with_filter

Status: upstream: reported C repro on 2020/03/11 13:36
Reported-by: syzbot+34008406ee9a31b13c73@syzkaller.appspotmail.com
First crash: 846d, last: 2d14h

Sample crash report:
rc rc1: IR event FIFO is full!
rc rc1: IR event FIFO is full!
rc rc1: IR event FIFO is full!
rc rc1: IR event FIFO is full!
rc rc1: IR event FIFO is full!
general protection fault, probably for non-canonical address 0xdffffc0000000219: 0000 [#1] SMP KASAN
KASAN: probably user-memory-access in range [0x00000000000010c8-0x00000000000010cf]
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ir_raw_event_store_with_filter+0x41b/0x580 drivers/media/rc/rc-ir-raw.c:186
Code: 80 3c 02 00 0f 85 5b 01 00 00 4c 8b a5 f0 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d bc 24 c8 10 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4b 01 00 00 48 ba 00 00 00 00 00 fc ff df 48 89
RSP: 0018:ffff8881db209948 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff8881db2099b8 RCX: 0000000000000000
RDX: 0000000000000219 RSI: ffffffff8406b41d RDI: 00000000000010c8
RBP: ffff8881d8dd0000 R08: 000000000000001e R09: ffffed103b646248
R10: ffffed103b646247 R11: ffff8881db23123f R12: 0000000000000000
R13: ffff8881db2099bd R14: 000000000001f400 R15: ffff8881d8dd05f0
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd349b76000 CR3: 00000001cdfa2000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 sz_push.isra.0+0xa4/0x1e0 drivers/media/rc/streamzap.c:118
 sz_push_half_space drivers/media/rc/streamzap.c:182 [inline]
 streamzap_callback+0x337/0x8a0 drivers/media/rc/streamzap.c:234
 __usb_hcd_giveback_urb+0x1f2/0x470 drivers/usb/core/hcd.c:1648
 usb_hcd_giveback_urb+0x368/0x420 drivers/usb/core/hcd.c:1713
 dummy_timer+0x1258/0x32ae drivers/usb/gadget/udc/dummy_hcd.c:1966
 call_timer_fn+0x195/0x6f0 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0x5f9/0x1500 kernel/time/timer.c:1786
 __do_softirq+0x21e/0x950 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x178/0x1a0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:546 [inline]
 smp_apic_timer_interrupt+0x141/0x540 arch/x86/kernel/apic/apic.c:1146
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:default_idle+0x28/0x300 arch/x86/kernel/process.c:696
Code: cc cc 41 56 41 55 65 44 8b 2d 94 c9 72 7a 41 54 55 53 0f 1f 44 00 00 e8 16 bb b5 fb e9 07 00 00 00 0f 00 2d 3a 5f 53 00 fb f4 <65> 44 8b 2d 70 c9 72 7a 0f 1f 44 00 00 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffffff87007d80 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffffffff8702cc40 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffffffff8702d48c
RBP: fffffbfff0e05988 R08: ffffffff8702cc40 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff87e60000 R15: 0000000000000000
 cpuidle_idle_call kernel/sched/idle.c:154 [inline]
 do_idle+0x3e0/0x500 kernel/sched/idle.c:269
 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:361
 start_kernel+0xde3/0xe27 init/main.c:992
 secondary_startup_64+0xb6/0xc0 arch/x86/kernel/head_64.S:242
Modules linked in:
---[ end trace 4d98998d0ee72932 ]---
RIP: 0010:ir_raw_event_store_with_filter+0x41b/0x580 drivers/media/rc/rc-ir-raw.c:186
Code: 80 3c 02 00 0f 85 5b 01 00 00 4c 8b a5 f0 05 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d bc 24 c8 10 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4b 01 00 00 48 ba 00 00 00 00 00 fc ff df 48 89
RSP: 0018:ffff8881db209948 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff8881db2099b8 RCX: 0000000000000000
RDX: 0000000000000219 RSI: ffffffff8406b41d RDI: 00000000000010c8
RBP: ffff8881d8dd0000 R08: 000000000000001e R09: ffffed103b646248
R10: ffffed103b646247 R11: ffff8881db23123f R12: 0000000000000000
R13: ffff8881db2099bd R14: 000000000001f400 R15: ffff8881d8dd05f0
FS:  0000000000000000(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd349b76000 CR3: 00000001cdfa2000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-usb 2020/03/12 16:23 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c d850e9d0 .config log report syz C
ci2-upstream-usb 2020/03/10 20:54 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 35f53e45 .config log report syz C
ci2-upstream-usb 2022/07/02 09:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 90557fa89d3e 1434eec0 .config log report info general protection fault in ir_raw_event_store_with_filter