syzbot


INFO: rcu detected stall in mas_store_prealloc

Status: auto-obsoleted due to no activity on 2023/10/13 16:47
Subsystems: mm
[Documentation on labels]
First crash: 476d, last: 476d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in mas_store_prealloc 1 134d 134d 0/3 auto-obsoleted due to no activity on 2024/09/30 04:09

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

Sending NMI from CPU 1 to CPUs 0:
cdc_wdm 4-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 0
CPU: 0 PID: 7530 Comm: syz-executor.3 Not tainted 6.5.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:__sanitizer_cov_trace_pc+0x60/0x70 kernel/kcov.c:225
Code: 82 18 15 00 00 83 f8 02 75 20 48 8b 8a 20 15 00 00 8b 92 1c 15 00 00 48 8b 01 48 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 <c3> 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 41 57
RSP: 0018:ffffc90000006f40 EFLAGS: 00000083
RAX: 0000000000014f7a RBX: ffffc90000007329 RCX: ffffc90001001000
RDX: 0000000000040000 RSI: ffffffff8637494a RDI: ffffc90000007329
RBP: dffffc0000000000 R08: 0000000000000005 R09: 000000000000002f
R10: 0000000000000010 R11: 000000000010ae78 R12: ffffffff868865e5
R13: ffffc900000071c8 R14: ffffc90080007327 R15: 0000000000000009
FS:  00005555564e1480(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8eaeab8018 CR3: 000000010eb1e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 number+0x8a/0xb80 lib/vsprintf.c:456
 vsnprintf+0x905/0x1870 lib/vsprintf.c:2883
 sprintf+0xcd/0x100 lib/vsprintf.c:3021
 print_time kernel/printk/printk.c:1327 [inline]
 info_print_prefix+0x258/0x350 kernel/printk/printk.c:1353
 record_print_text+0x143/0x410 kernel/printk/printk.c:1402
 printk_get_next_message+0x2ca/0x7c0 kernel/printk/printk.c:2809
 console_emit_next_record kernel/printk/printk.c:2844 [inline]
 console_flush_all+0x39e/0xf50 kernel/printk/printk.c:2933
 console_unlock+0xc6/0x1f0 kernel/printk/printk.c:3007
 vprintk_emit+0x1c5/0x640 kernel/printk/printk.c:2307
 dev_vprintk_emit drivers/base/core.c:4840 [inline]
 dev_printk_emit+0xfb/0x140 drivers/base/core.c:4851
 __dev_printk+0xf5/0x270 drivers/base/core.c:4863
 _dev_warn+0xe5/0x120 drivers/base/core.c:4907
 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1771
 __usb_hcd_giveback_urb+0x359/0x5c0 drivers/usb/core/hcd.c:1671
 usb_hcd_giveback_urb+0x389/0x430 drivers/usb/core/hcd.c:1754
 dummy_timer+0x1415/0x35f0 drivers/usb/gadget/udc/dummy_hcd.c:1987
 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x764/0xb10 kernel/time/timer.c:2022
 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035
 __do_softirq+0x20b/0x94e 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+0x8e/0xb0 arch/x86/kernel/apic/apic.c:1109
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:stack_access_ok+0x24/0x1f0 arch/x86/kernel/unwind_orc.c:389
Code: 00 00 00 00 00 90 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 4c 8d 77 08 41 55 41 54 49 89 d4 4c 89 f2 55 48 c1 ea 03 48 89 f5 <53> 48 89 fb 48 83 ec 08 80 3c 02 00 0f 85 8c 01 00 00 4c 8d 6b 10
RSP: 0018:ffffc9000fddf678 EFLAGS: 00000a06
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffffff898cb4de
RDX: 1ffff92001fbbee4 RSI: ffffc9000fddfa50 RDI: ffffc9000fddf718
RBP: ffffc9000fddfa50 R08: 0000000000000001 R09: ffffffff898cb4e2
R10: ffffc9000fddf718 R11: 00000000000096b3 R12: 0000000000000008
R13: ffffc9000fddf718 R14: ffffc9000fddf720 R15: ffffc9000fddfa60
 deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
 unwind_next_frame+0x14e3/0x2020 arch/x86/kernel/unwind_orc.c:648
 arch_stack_walk+0x8b/0xf0 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
 ____kasan_slab_free mm/kasan/common.c:236 [inline]
 ____kasan_slab_free+0x13f/0x190 mm/kasan/common.c:200
 kasan_slab_free include/linux/kasan.h:162 [inline]
 slab_free_hook mm/slub.c:1792 [inline]
 slab_free_freelist_hook mm/slub.c:1818 [inline]
 slab_free mm/slub.c:3801 [inline]
 kmem_cache_free+0x13a/0x4f0 mm/slub.c:3823
 mas_destroy+0x1e4/0x700 lib/maple_tree.c:5602
 mas_store_prealloc+0x129/0x270 lib/maple_tree.c:5531
 mmap_region+0xe1e/0x2480 mm/mmap.c:2817
 do_mmap+0x884/0xee0 mm/mmap.c:1362
 vm_mmap_pgoff+0x1a6/0x3a0 mm/util.c:543
 ksys_mmap_pgoff+0x422/0x5b0 mm/mmap.c:1408
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8eae998b63
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:00007ffe003ea4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f8eaeab8018 RCX: 00007f8eae998b63
RDX: 0000000000000003 RSI: 0000000000200000 RDI: 0000000000000000
RBP: 00007ffe003ea5e0 R08: 00000000000000d8 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffe003eabc8
R13: 0000000000000003 R14: 00007f8eaeab8018 R15: 0000000000000000
 </TASK>
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: nonzero urb status received: -71
cdc_wdm 4-1:1.0: wdm_int_callback - 0 bytes
cdc_wdm 4-1:1.0: wdm_int_callback - usb_submit_urb failed with result -19
usb 2-1: new high-speed USB device number 106 using dummy_hcd
usb 2-1: device descriptor read/64, error 18
usb 2-1: device descriptor read/64, error 18
usb 2-1: new high-speed USB device number 107 using dummy_hcd
usb 2-1: device descriptor read/64, error 18
usb 2-1: device descriptor read/64, error 18
usb usb2-port1: attempt power cycle
usb 2-1: new high-speed USB device number 108 using dummy_hcd
usb 2-1: device descriptor read/8, error -61
usb 2-1: device descriptor read/8, error -71

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