syzbot


INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (3)

Status: auto-closed as invalid on 2022/09/09 16:10
Subsystems: batman
[Documentation on labels]
First crash: 912d, last: 850d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (2) 25 6h22m 143d 0/3 upstream: reported on 2024/05/18 05:47
linux-4.19 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet 1 1692d 1692d 0/1 auto-closed as invalid on 2020/06/19 05:22
linux-6.1 INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet 3 349d 455d 0/3 auto-obsoleted due to no activity on 2024/02/02 20:15
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (2) batman 6 1002d 1195d 0/28 closed as invalid on 2022/02/08 10:00
upstream BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet netfilter C error 44 14d 92d 0/28 upstream: reported C repro on 2024/07/09 03:12
linux-5.15 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet origin:lts-only C error 35 2d23h 579d 0/3 upstream: reported C repro on 2023/03/09 22:19
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (4) batman 3 619d 744d 0/28 auto-obsoleted due to no activity on 2023/04/28 17:43
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet batman 2 1322d 1326d 0/28 auto-closed as invalid on 2021/05/25 23:54
upstream INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet (5) batman C 44 97d 96d 0/28 closed as dup on 2024/07/04 19:37
linux-4.14 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet C error 1 770d 832d 0/1 upstream: reported C repro on 2022/06/30 02:55
linux-4.19 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet (2) 1 791d 791d 0/1 auto-obsoleted due to no activity on 2022/12/07 08:10
linux-4.19 BUG: soft lockup in batadv_iv_send_outstanding_bat_ogm_packet 1 1136d 1136d 0/1 auto-closed as invalid on 2021/12/28 02:54

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P14682/1:b..l
	(detected by 0, t=10503 jiffies, g=301605, q=196 ncpus=2)
task:kworker/u4:4    state:R  running task     stack:25384 pid:14682 ppid:     2 flags:0x00004000
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5116 [inline]
 __schedule+0xa00/0x4b30 kernel/sched/core.c:6428
 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6736
 irqentry_exit+0x31/0x80 kernel/entry/common.c:428
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:lock_acquire+0x1ef/0x570 kernel/locking/lockdep.c:5633
Code: f2 a4 7e 83 f8 01 0f 85 e8 02 00 00 9c 58 f6 c4 02 0f 85 fb 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0018:ffffc900039d7aa0 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff9200073af56 RCX: 871e6d97e0f2bad0
RDX: 1ffff110045ef18b RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff90679907
R10: fffffbfff20cf320 R11: 0000000000000001 R12: 0000000000000002
R13: 0000000000000000 R14: ffffffff8bd83ce0 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:269 [inline]
 rcu_read_lock include/linux/rcupdate.h:695 [inline]
 batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline]
 batadv_iv_ogm_schedule_buff+0x5d2/0x1430 net/batman-adv/bat_iv_ogm.c:826
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline]
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline]
 batadv_iv_send_outstanding_bat_ogm_packet+0x740/0x910 net/batman-adv/bat_iv_ogm.c:1713
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10480 jiffies! g301605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=1 timer-softirq=176900
rcu: rcu_preempt kthread starved for 10481 jiffies! g301605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:I stack:28368 pid:   17 ppid:     2 flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5116 [inline]
 __schedule+0xa00/0x4b30 kernel/sched/core.c:6428
 schedule+0xd2/0x1f0 kernel/sched/core.c:6500
 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1935
 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1999
 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2187
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26070 Comm: syz-executor.3 Not tainted 5.19.0-rc1-syzkaller-00262-g0885eacdc81f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:201 [inline]
RIP: 0010:rb_erase+0x0/0x1210 lib/rbtree.c:443
Code: 08 4c 8b 04 24 e9 1f f6 ff ff e8 9b 7e a5 fd 48 8b 54 24 08 4c 8b 04 24 e9 f7 f5 ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <48> b8 00 00 00 00 00 fc ff df 41 57 49 89 f7 41 56 41 55 49 89 fd
RSP: 0018:ffffc900003f8dd0 EFLAGS: 00000046
RAX: 0000000080010002 RBX: ffff88807b9d8340 RCX: 0000000000000000
RDX: ffff8880773ec180 RSI: ffff8880b9b2a650 RDI: ffff88807b9d8340
RBP: ffff8880b9b2a650 R08: 0000000000000006 R09: 0000000000000001
R10: ffff88807b9d8340 R11: 0000000000000001 R12: ffff8880b9b2a658
R13: 0000000000000000 R14: ffff8880b9b2a500 R15: 0000000000000000
FS:  00007f1196f5e700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb7eab6c058 CR3: 000000009d7b8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 rb_erase_cached include/linux/rbtree.h:126 [inline]
 timerqueue_del+0x7f/0x140 lib/timerqueue.c:57
 __remove_hrtimer+0xa1/0x2a0 kernel/time/hrtimer.c:1116
 __run_hrtimer kernel/time/hrtimer.c:1665 [inline]
 __hrtimer_run_queues+0x4ea/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:finish_task_switch.isra.0+0x323/0xb80 kernel/sched/core.c:4996
Code: 73 40 25 08 85 c0 75 02 0f 0b 48 85 db 0f 85 25 01 00 00 4c 89 f7 e8 fc f7 ff ff e8 57 71 2e 00 fb 65 48 8b 1c 25 80 6f 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc90006ea7500 EFLAGS: 00000202
RAX: 0000000000004db9 RBX: ffff8880773ec180 RCX: 1ffffffff1b753f9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90006ea7548 R08: 0000000000000001 R09: 0000000000000001
R10: ffffed10173673f8 R11: 0000000000000001 R12: ffff8880b9b3ad18
R13: ffff888028012100 R14: ffff8880b9b39fc0 R15: ffff8880b9b3a9f8
 context_switch kernel/sched/core.c:5119 [inline]
 __schedule+0xa08/0x4b30 kernel/sched/core.c:6428
 schedule+0xd2/0x1f0 kernel/sched/core.c:6500
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911
 unix_wait_for_peer+0x244/0x280 net/unix/af_unix.c:1397
 unix_dgram_sendmsg+0x1855/0x1ad0 net/unix/af_unix.c:1992
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x334/0x810 net/socket.c:2492
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2546
 __sys_sendmmsg+0x195/0x470 net/socket.c:2632
 __do_sys_sendmmsg net/socket.c:2661 [inline]
 __se_sys_sendmmsg net/socket.c:2658 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2658
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f1195e89109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1196f5e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f1195f9bf60 RCX: 00007f1195e89109
RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004
RBP: 00007f1195ee30ad R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe17a5ebdf R14: 00007f1196f5e300 R15: 0000000000022000
 </TASK>
watchdog: BUG: soft lockup - CPU#0 stuck for 248s! [syz-executor.3:26076]
Modules linked in:
irq event stamp: 145126
hardirqs last  enabled at (145125): [<ffffffff89800c8b>] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
hardirqs last disabled at (145126): [<ffffffff8976b86b>] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106
softirqs last  enabled at (46162): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last  enabled at (46162): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
softirqs last disabled at (46117): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last disabled at (46117): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
CPU: 0 PID: 26076 Comm: syz-executor.3 Not tainted 5.19.0-rc1-syzkaller-00262-g0885eacdc81f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline]
RIP: 0010:smp_call_function_many_cond+0x49e/0x1110 kernel/smp.c:988
Code: 98 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 89 9c 0a 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 ff 83 e0 01 41
RSP: 0018:ffffc900071c7350 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880b9b3f760 RCX: ffffc9000495a000
RDX: 0000000000040000 RSI: ffffffff816f0787 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017367eed
R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000
FS:  00007f1196f3d700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200da030 CR3: 000000009d7b8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154
 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline]
 flush_tlb_multi arch/x86/mm/tlb.c:901 [inline]
 flush_tlb_mm_range+0x2e0/0x410 arch/x86/mm/tlb.c:987
 flush_tlb_page arch/x86/include/asm/tlbflush.h:239 [inline]
 ptep_clear_flush+0x12b/0x160 mm/pgtable-generic.c:98
 wp_page_copy+0x8bc/0x1e20 mm/memory.c:3169
 do_wp_page+0x573/0x1b60 mm/memory.c:3396
 handle_pte_fault mm/memory.c:4921 [inline]
 __handle_mm_fault+0x2371/0x3f50 mm/memory.c:5042
 handle_mm_fault+0x1c8/0x790 mm/memory.c:5140
 do_user_addr_fault+0x489/0x11c0 arch/x86/mm/fault.c:1397
 handle_page_fault arch/x86/mm/fault.c:1484 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1540
 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc900071c79c0 EFLAGS: 00050246
RAX: 0000000000000000 RBX: ffffc900071c7e04 RCX: 00000000200da030
RDX: 0000000000000000 RSI: ffffffff87492db5 RDI: 0000000000000005
RBP: ffffc900071c7dc0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: 00000000200da030
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
 ____sys_recvmsg+0x3b4/0x600 net/socket.c:2724
 ___sys_recvmsg+0x127/0x200 net/socket.c:2753
 do_recvmmsg+0x254/0x6d0 net/socket.c:2847
 __sys_recvmmsg net/socket.c:2926 [inline]
 __do_sys_recvmmsg net/socket.c:2949 [inline]
 __se_sys_recvmmsg net/socket.c:2942 [inline]
 __x64_sys_recvmmsg+0x20b/0x260 net/socket.c:2942
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f1195e89109

================================
WARNING: inconsistent lock state
5.19.0-rc1-syzkaller-00262-g0885eacdc81f #0 Not tainted
--------------------------------
inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage.
syz-executor.3/26076 [HC1[1]:SC0[0]:HE0:SE1] takes:
ffffffff8beb3058 (vmap_area_lock){?.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
ffffffff8beb3058 (vmap_area_lock){?.+.}-{2:2}, at: find_vmap_area mm/vmalloc.c:1805 [inline]
ffffffff8beb3058 (vmap_area_lock){?.+.}-{2:2}, at: find_vm_area+0x1c/0x190 mm/vmalloc.c:2525
{HARDIRQ-ON-W} state was registered at:
  lock_acquire kernel/locking/lockdep.c:5665 [inline]
  lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
  __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
  _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
  spin_lock include/linux/spinlock.h:349 [inline]
  alloc_vmap_area+0xa49/0x1f00 mm/vmalloc.c:1586
  __get_vm_area_node+0x142/0x3f0 mm/vmalloc.c:2453
  __vmalloc_node_range+0x250/0x13e0 mm/vmalloc.c:3125
  __vmalloc_node mm/vmalloc.c:3230 [inline]
  __vmalloc+0x69/0x80 mm/vmalloc.c:3244
  pcpu_mem_zalloc mm/percpu.c:516 [inline]
  pcpu_mem_zalloc+0x51/0xa0 mm/percpu.c:508
  pcpu_alloc_chunk mm/percpu.c:1454 [inline]
  pcpu_create_chunk+0xd7/0x930 mm/percpu-vm.c:338
  pcpu_alloc+0x1012/0x13d0 mm/percpu.c:1834
  alloc_kmem_cache_cpus.constprop.0+0x29/0xc0 mm/slab.c:1729
  do_tune_cpucache+0x37/0x230 mm/slab.c:3844
  enable_cpucache+0x3c/0xa0 mm/slab.c:3938
  kmem_cache_init_late+0x33/0x66 mm/slab.c:1276
  start_kernel+0x2f5/0x48f init/main.c:1058
  secondary_startup_64_no_verify+0xce/0xdb
irq event stamp: 145126
hardirqs last  enabled at (145125): [<ffffffff89800c8b>] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
hardirqs last disabled at (145126): [<ffffffff8976b86b>] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106
softirqs last  enabled at (46162): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last  enabled at (46162): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
softirqs last disabled at (46117): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last disabled at (46117): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(vmap_area_lock);
  <Interrupt>
    lock(vmap_area_lock);

 *** DEADLOCK ***

2 locks held by syz-executor.3/26076:
 #0: ffff8880767f71a8 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
 #0: ffff8880767f71a8 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x285/0x11c0 arch/x86/mm/fault.c:1338
 #1: ffff888022d9d618 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:349 [inline]
 #1: ffff888022d9d618 (ptlock_ptr(page)#2){+.+.}-{2:2}, at: wp_page_copy+0x68c/0x1e20 mm/memory.c:3139

stack backtrace:
CPU: 0 PID: 26076 Comm: syz-executor.3 Not tainted 5.19.0-rc1-syzkaller-00262-g0885eacdc81f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 print_usage_bug kernel/locking/lockdep.c:3961 [inline]
 valid_state kernel/locking/lockdep.c:3973 [inline]
 mark_lock_irq kernel/locking/lockdep.c:4176 [inline]
 mark_lock.part.0.cold+0x18/0xd8 kernel/locking/lockdep.c:4632
 mark_lock kernel/locking/lockdep.c:4596 [inline]
 mark_usage kernel/locking/lockdep.c:4524 [inline]
 __lock_acquire+0x14ad/0x5660 kernel/locking/lockdep.c:5007
 lock_acquire kernel/locking/lockdep.c:5665 [inline]
 lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:349 [inline]
 find_vmap_area mm/vmalloc.c:1805 [inline]
 find_vm_area+0x1c/0x190 mm/vmalloc.c:2525
 check_heap_object mm/usercopy.c:176 [inline]
 __check_object_size mm/usercopy.c:252 [inline]
 __check_object_size+0x1fb/0x7a0 mm/usercopy.c:214
 check_object_size include/linux/thread_info.h:199 [inline]
 __copy_from_user_inatomic include/linux/uaccess.h:62 [inline]
 copy_from_user_nmi arch/x86/lib/usercopy.c:47 [inline]
 copy_from_user_nmi+0xcb/0x130 arch/x86/lib/usercopy.c:31
 copy_code arch/x86/kernel/dumpstack.c:91 [inline]
 show_opcodes+0x59/0xb0 arch/x86/kernel/dumpstack.c:121
 show_iret_regs+0xd/0x33 arch/x86/kernel/dumpstack.c:149
 __show_regs+0x1e/0x60 arch/x86/kernel/process_64.c:74
 show_trace_log_lvl+0x25b/0x2ba arch/x86/kernel/dumpstack.c:292
 watchdog_timer_fn+0x469/0x5d0 kernel/watchdog.c:435
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:csd_lock_wait kernel/smp.c:414 [inline]
RIP: 0010:smp_call_function_many_cond+0x49e/0x1110 kernel/smp.c:988
Code: 98 0a 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 89 9c 0a 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 ff 83 e0 01 41
RSP: 0018:ffffc900071c7350 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880b9b3f760 RCX: ffffc9000495a000
RDX: 0000000000040000 RSI: ffffffff816f0787 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017367eed
R13: 0000000000000001 R14: 0000000000000001 R15: dffffc0000000000
 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1154
 __flush_tlb_multi arch/x86/include/asm/paravirt.h:87 [inline]
 flush_tlb_multi arch/x86/mm/tlb.c:901 [inline]
 flush_tlb_mm_range+0x2e0/0x410 arch/x86/mm/tlb.c:987
 flush_tlb_page arch/x86/include/asm/tlbflush.h:239 [inline]
 ptep_clear_flush+0x12b/0x160 mm/pgtable-generic.c:98
 wp_page_copy+0x8bc/0x1e20 mm/memory.c:3169
 do_wp_page+0x573/0x1b60 mm/memory.c:3396
 handle_pte_fault mm/memory.c:4921 [inline]
 __handle_mm_fault+0x2371/0x3f50 mm/memory.c:5042
 handle_mm_fault+0x1c8/0x790 mm/memory.c:5140
 do_user_addr_fault+0x489/0x11c0 arch/x86/mm/fault.c:1397
 handle_page_fault arch/x86/mm/fault.c:1484 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1540
 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc900071c79c0 EFLAGS: 00050246
RAX: 0000000000000000 RBX: ffffc900071c7e04 RCX: 00000000200da030
RDX: 0000000000000000 RSI: ffffffff87492db5 RDI: 0000000000000005
RBP: ffffc900071c7dc0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000001 R12: 00000000200da030
R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000000
 ____sys_recvmsg+0x3b4/0x600 net/socket.c:2724
 ___sys_recvmsg+0x127/0x200 net/socket.c:2753
 do_recvmmsg+0x254/0x6d0 net/socket.c:2847
 __sys_recvmmsg net/socket.c:2926 [inline]
 __do_sys_recvmmsg net/socket.c:2949 [inline]
 __se_sys_recvmmsg net/socket.c:2942 [inline]
 __x64_sys_recvmmsg+0x20b/0x260 net/socket.c:2942
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f1195e89109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1196f3d168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f1195f9c030 RCX: 00007f1195e89109
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f1195ee30ad R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe17a5ebdf R14: 00007f1196f3d300 R15: 0000000000022000
 </TASK>
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1196f3d168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f1195f9c030 RCX: 00007f1195e89109
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f1195ee30ad R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe17a5ebdf R14: 00007f1196f3d300 R15: 0000000000022000
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 26070 Comm: syz-executor.3 Not tainted 5.19.0-rc1-syzkaller-00262-g0885eacdc81f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:enqueue_hrtimer+0xfe/0x3e0 kernel/time/hrtimer.c:1086
Code: 0f 87 f9 29 c9 07 e8 41 dc 0f 00 44 89 e1 b8 01 00 00 00 48 ba 00 00 00 00 00 fc ff df d3 e0 48 89 d9 48 c1 e9 03 80 3c 11 00 <0f> 85 9a 02 00 00 48 ba 00 00 00 00 00 fc ff df 4c 8b 23 49 8d 7c
RSP: 0018:ffffc900003f8e10 EFLAGS: 00000046
RAX: 0000000000000002 RBX: ffff8880b9b2a600 RCX: 1ffff110173654c0
RDX: dffffc0000000000 RSI: ffffffff8169c7cf RDI: 0000000000000005
RBP: ffff88807b9d8340 R08: 0000000000000005 R09: 000000000000001f
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8880b9b2a500 R15: 0000000000000001
FS:  00007f1196f5e700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb7eab6c058 CR3: 000000009d7b8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1702 [inline]
 __hrtimer_run_queues+0xb02/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:finish_task_switch.isra.0+0x323/0xb80 kernel/sched/core.c:4996
Code: 73 40 25 08 85 c0 75 02 0f 0b 48 85 db 0f 85 25 01 00 00 4c 89 f7 e8 fc f7 ff ff e8 57 71 2e 00 fb 65 48 8b 1c 25 80 6f 02 00 <48> 8d bb 80 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc90006ea7500 EFLAGS: 00000202
RAX: 0000000000004db9 RBX: ffff8880773ec180 RCX: 1ffffffff1b753f9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90006ea7548 R08: 0000000000000001 R09: 0000000000000001
R10: ffffed10173673f8 R11: 0000000000000001 R12: ffff8880b9b3ad18
R13: ffff888028012100 R14: ffff8880b9b39fc0 R15: ffff8880b9b3a9f8
 context_switch kernel/sched/core.c:5119 [inline]
 __schedule+0xa08/0x4b30 kernel/sched/core.c:6428
 schedule+0xd2/0x1f0 kernel/sched/core.c:6500
 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911
 unix_wait_for_peer+0x244/0x280 net/unix/af_unix.c:1397
 unix_dgram_sendmsg+0x1855/0x1ad0 net/unix/af_unix.c:1992
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x334/0x810 net/socket.c:2492
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2546
 __sys_sendmmsg+0x195/0x470 net/socket.c:2632
 __do_sys_sendmmsg net/socket.c:2661 [inline]
 __se_sys_sendmmsg net/socket.c:2658 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2658
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f1195e89109
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1196f5e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f1195f9bf60 RCX: 00007f1195e89109
RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000004
RBP: 00007f1195ee30ad R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe17a5ebdf R14: 00007f1196f5e300 R15: 0000000000022000
 </TASK>
----------------
Code disassembly (best guess):
   0:	f2 a4                	repnz movsb %ds:(%rsi),%es:(%rdi)
   2:	7e 83                	jle    0xffffff87
   4:	f8                   	clc
   5:	01 0f                	add    %ecx,(%rdi)
   7:	85 e8                	test   %ebp,%eax
   9:	02 00                	add    (%rax),%al
   b:	00 9c 58 f6 c4 02 0f 	add    %bl,0xf02c4f6(%rax,%rbx,2)
  12:	85 fb                	test   %edi,%ebx
  14:	02 00                	add    (%rax),%al
  16:	00 48 83             	add    %cl,-0x7d(%rax)
  19:	7c 24                	jl     0x3f
  1b:	08 00                	or     %al,(%rax)
  1d:	74 01                	je     0x20
  1f:	fb                   	sti
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	48 01 c3             	add    %rax,%rbx <-- trapping instruction
  2d:	48 c7 03 00 00 00 00 	movq   $0x0,(%rbx)
  34:	48 c7 43 08 00 00 00 	movq   $0x0,0x8(%rbx)
  3b:	00
  3c:	48                   	rex.W
  3d:	8b                   	.byte 0x8b
  3e:	84                   	.byte 0x84
  3f:	24                   	.byte 0x24

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/06/11 16:03 upstream 0885eacdc81f 0d5abf15 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
2022/04/10 19:58 upstream 1862a69c9174 e22c3da3 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in batadv_iv_send_outstanding_bat_ogm_packet
* Struck through repros no longer work on HEAD.