syzbot


INFO: rcu detected stall in kcov_mmap

Status: auto-obsoleted due to no activity on 2024/05/13 16:16
Subsystems: mm
[Documentation on labels]
First crash: 134d, last: 134d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: rcu detected stall in kcov_mmap 1 33d 33d 0/3 upstream: reported on 2024/05/24 02:36
upstream BUG: soft lockup in kcov_mmap mm 1 1173d 1169d 0/27 auto-closed as invalid on 2021/07/09 11:42

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: {
 1-....
 } 2687 jiffies s: 3817 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):

Sending NMI from CPU 0 to CPUs 1:
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
NMI backtrace for cpu 1
CPU: 1 PID: 11456 Comm: syz-executor.2 Not tainted 6.8.0-rc3-syzkaller-00049-g88bae831f381 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0xd/0x60 kernel/kcov.c:207
Code: fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 48 8b 14 25 c0 b0 03 00 <65> 8b 05 a4 d3 b5 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74
RSP: 0018:ffffc90000197fd8 EFLAGS: 00000002
RAX: ffffffff86889e45 RBX: ffffffff86889e46 RCX: ffffc90001203000
RDX: ffff888112673a00 RSI: ffffffff864f43d6 RDI: 0000000000000001
RBP: 0000000000000025 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000018ff18 R12: ffffc900001980e0
R13: ffffffff86889e46 R14: 0000000000000001 R15: dffffc0000000000
FS:  0000555557242480(0000) GS:ffff8881f6700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8b87952018 CR3: 000000011cbd1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 format_decode+0x2ca/0xba0 lib/vsprintf.c:2565
 vsnprintf+0x13d/0x1870 lib/vsprintf.c:2776
 sprintf+0xcd/0x100 lib/vsprintf.c:3028
 print_time kernel/printk/printk.c:1324 [inline]
 info_print_prefix+0x258/0x350 kernel/printk/printk.c:1350
 record_print_text+0x143/0x410 kernel/printk/printk.c:1399
 printk_get_next_message+0x2ce/0x7c0 kernel/printk/printk.c:2828
 console_emit_next_record kernel/printk/printk.c:2868 [inline]
 console_flush_all+0x3b3/0xd60 kernel/printk/printk.c:2967
 console_unlock+0x10c/0x260 kernel/printk/printk.c:3036
 vprintk_emit+0x17f/0x5f0 kernel/printk/printk.c:2303
 dev_vprintk_emit drivers/base/core.c:4850 [inline]
 dev_printk_emit+0xfb/0x140 drivers/base/core.c:4861
 __dev_printk+0xf5/0x270 drivers/base/core.c:4873
 _dev_warn+0xe5/0x120 drivers/base/core.c:4917
 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1771
 __usb_hcd_giveback_urb+0x359/0x5c0 drivers/usb/core/hcd.c:1648
 usb_hcd_giveback_urb+0x389/0x430 drivers/usb/core/hcd.c:1731
 dummy_timer+0x1415/0x3600 drivers/usb/gadget/udc/dummy_hcd.c:1987
 call_timer_fn+0x193/0x590 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x759/0xaa0 kernel/time/timer.c:2038
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2051
 __do_softirq+0x20a/0x8c1 kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xa7/0x110 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x0/0x20 kernel/kcov.c:310
Code: ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 aa fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 <f3> 0f 1e fa 48 8b 0c 24 48 89 f2 48 89 fe bf 07 00 00 00 e9 88 fe
RSP: 0018:ffffc900017efb70 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90002197000 RCX: ffffffff81911cc4
RDX: ffff888112673a00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000100e98067 R08: 0000000000000007 R09: 0000000000000081
R10: 0000000000000001 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000000001 R14: ffff88811215c600 R15: ffff88813ecebb80
 pud_pfn_mask arch/x86/include/asm/pgtable_types.h:434 [inline]
 pud_flags_mask arch/x86/include/asm/pgtable_types.h:442 [inline]
 pud_flags arch/x86/include/asm/pgtable_types.h:447 [inline]
 pud_bad arch/x86/include/asm/pgtable.h:1098 [inline]
 vmalloc_to_page+0x1a0/0x4a0 mm/vmalloc.c:695
 kcov_mmap+0xe0/0x170 kernel/kcov.c:495
 call_mmap include/linux/fs.h:2090 [inline]
 mmap_region+0x746/0x2830 mm/mmap.c:2821
 do_mmap+0x8ad/0xf10 mm/mmap.c:1379
 vm_mmap_pgoff+0x1a8/0x3b0 mm/util.c:556
 ksys_mmap_pgoff+0x422/0x5b0 mm/mmap.c:1425
 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline]
 __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline]
 __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f8b87823de3
Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 b0 ff ff ff 64 c7
RSP: 002b:00007ffeae9b5188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f8b87952018 RCX: 00007f8b87823de3
RDX: 0000000000000003 RSI: 0000000000200000 RDI: 0000000000000000
RBP: 00007ffeae9b5270 R08: 00000000000000d8 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffeae9b5858
R13: 0000000000000003 R14: 00007f8b87952018 R15: 0000000000000000
 </TASK>
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
cdc_wdm 2-1:1.0: nonzero urb status received: -71
cdc_wdm 2-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 2-1:1.0: wdm_int_callback - usb_submit_urb failed with result -19
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored
imon 5-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/13 16:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 88bae831f381 e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in kcov_mmap
* Struck through repros no longer work on HEAD.