syzbot


BUG: unable to handle kernel paging request in ir_raw_event_store_with_filter

Status: upstream: reported C repro on 2023/04/29 23:42
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6e664bfda2d7e484dd0b@syzkaller.appspotmail.com
First crash: 368d, last: 5d06h
Bug presence (1)
Date Name Commit Repro Result
2023/05/14 upstream (ToT) 838a854820ee C [report] BUG: unable to handle kernel paging request in ir_raw_event_store_with_filter
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in ir_raw_event_store_with_filter origin:upstream C error 8 19d 406d 0/3 upstream: reported C repro on 2023/03/22 20:40
upstream general protection fault in ir_raw_event_store_with_filter usb media C error 869 8d08h 1513d 0/26 upstream: reported C repro on 2020/03/11 13:36
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/04/27 05:50 2h25m bisect fix linux-6.1.y job log (0) log
2024/03/27 05:58 2h01m bisect fix linux-6.1.y job log (0) log
2024/01/12 00:03 2h00m bisect fix linux-6.1.y job log (0) log
2023/11/18 00:24 1h42m bisect fix linux-6.1.y job log (0) log
2023/10/16 20:57 1h43m bisect fix linux-6.1.y job log (0) log
2023/09/11 21:11 1h35m bisect fix linux-6.1.y job log (0) log
2023/06/28 22:22 1h15m bisect fix linux-6.1.y job log (0) log

Sample crash report:
rc rc0: IR event FIFO is full!
rc rc0: IR event FIFO is full!
rc rc0: IR event FIFO is full!
rc rc0: IR event FIFO is full!
rc rc0: IR event FIFO is full!
Unable to handle kernel paging request at virtual address dfff80000000021b
KASAN: probably user-memory-access in range [0x00000000000010d8-0x00000000000010df]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff80000000021b] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.79-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ir_raw_event_store_with_filter+0x354/0x7ac drivers/media/rc/rc-ir-raw.c:184
lr : ir_raw_event_store drivers/media/rc/rc-ir-raw.c:81 [inline]
lr : ir_raw_event_store_with_filter+0x464/0x7ac drivers/media/rc/rc-ir-raw.c:183
sp : ffff800008017580
x29: ffff8000080175a0 x28: 0000000000000400 x27: 1fffe0001ab73eba
x26: dfff800000000000 x25: 0000000000000200 x24: 00000000000010d8
x23: 00000000000010d8 x22: 0000000000000080 x21: ffff800008017740
x20: ffff0000d5b9f5d0 x19: ffff0000d5b9f000 x18: ffff8000080176e5
x17: 0000000000000000 x16: ffff80001215a28c x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 140881be9f1e5c00
x8 : 000000000000021b x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800008016d78 x4 : ffff800015922ce0 x3 : ffff8000085872e4
x2 : 0000000000000001 x1 : 0000000000000101 x0 : 000000000000001e
Call trace:
 ir_raw_event_store_with_filter+0x354/0x7ac drivers/media/rc/rc-ir-raw.c:184
 sz_push drivers/media/rc/streamzap.c:104 [inline]
 sz_push_full_space drivers/media/rc/streamzap.c:132 [inline]
 sz_push_half_space drivers/media/rc/streamzap.c:138 [inline]
 streamzap_callback+0x668/0xee4 drivers/media/rc/streamzap.c:190
 __usb_hcd_giveback_urb+0x2e0/0x504 drivers/usb/core/hcd.c:1675
 usb_hcd_giveback_urb+0x108/0x3f8 drivers/usb/core/hcd.c:1758
 dummy_timer+0x66c/0x26cc drivers/usb/gadget/udc/dummy_hcd.c:1988
 call_timer_fn+0x1c0/0xa1c kernel/time/timer.c:1474
 expire_timers kernel/time/timer.c:1519 [inline]
 __run_timers+0x554/0x718 kernel/time/timer.c:1790
 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1803
 __do_softirq+0x314/0xe38 kernel/softirq.c:571
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:650
 irq_exit_rcu+0x14/0x84 kernel/softirq.c:662
 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline]
 el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:486
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581
 arch_local_irq_enable+0xc/0x18 arch/arm64/include/asm/irqflags.h:35
 default_idle_call+0x68/0xdc kernel/sched/idle.c:109
 cpuidle_idle_call kernel/sched/idle.c:191 [inline]
 do_idle+0x1e0/0x514 kernel/sched/idle.c:303
 cpu_startup_entry+0x5c/0x74 kernel/sched/idle.c:401
 secondary_start_kernel+0x19c/0x1c4 arch/arm64/kernel/smp.c:265
 __secondary_switched+0xb0/0xb4 arch/arm64/kernel/head.S:618
Code: 38fa6908 35001428 d343fee8 f94002b6 (387a6908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	38fa6908 	ldrsb	w8, [x8, x26]
   4:	35001428 	cbnz	w8, 0x288
   8:	d343fee8 	lsr	x8, x23, #3
   c:	f94002b6 	ldr	x22, [x21]
* 10:	387a6908 	ldrb	w8, [x8, x26] <-- trapping instruction

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/25 22:17 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ir_raw_event_store_with_filter
2024/01/21 14:50 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ir_raw_event_store_with_filter
2023/12/12 08:23 linux-6.1.y e7cddbb41b63 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ir_raw_event_store_with_filter
2023/04/29 23:42 linux-6.1.y ca1c9012c941 62df2017 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ir_raw_event_store_with_filter
2023/05/28 22:32 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ir_raw_event_store_with_filter
* Struck through repros no longer work on HEAD.