syzbot


INFO: rcu detected stall in clone3 (2)

Status: auto-closed as invalid on 2022/09/10 23:49
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 176d, last: 176d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in clone3 2 328d 354d 0/24 closed as invalid on 2022/02/08 10:10

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (0 ticks this GP) idle=5e1/1/0x4000000000000000 softirq=41643/41643 fqs=0 
	(detected by 1, t=10506 jiffies, g=63061, q=33 ncpus=2)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 16485 Comm: syz-executor.0 Not tainted 5.19.0-rc1-syzkaller-00336-g997952851843 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_preemption_disabled+0x3f/0x170 lib/smp_processor_id.c:56
Code: 8b 25 c5 4a 8b 76 65 8b 1d 2e a0 8b 76 81 e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d <41> 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c 5b 81 e3 00 02 00 00 31 ff
RSP: 0018:ffffc90000007dd0 EFLAGS: 00000006
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000010003 RDI: 0000000000000000
RBP: ffffffff8bd83c20 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: ffffffff89cc65c0 R14: 00000000ffffffff R15: ffff88801eb7cce8
FS:  00007fb96cd1c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc227ba0000 CR3: 00000000432a0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lockdep_recursion_finish kernel/locking/lockdep.c:466 [inline]
 lock_is_held_type+0xd7/0x140 kernel/locking/lockdep.c:5709
 lock_is_held include/linux/lockdep.h:279 [inline]
 rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
 trace_hrtimer_expire_entry include/trace/events/timer.h:235 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1682 [inline]
 __hrtimer_run_queues+0x9b0/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: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:ffffc9000377f268 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920006efe4f RCX: ffffffff815d31ce
RDX: 1ffff11003d6f983 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9067990f
R10: fffffbfff20cf321 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8bf748f8 R15: 0000000000000000
 __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]
 __kernfs_new_node+0xff/0x8b0 fs/kernfs/dir.c:598
 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:655
 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:987
 sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294
 create_files fs/sysfs/group.c:64 [inline]
 internal_create_group+0x322/0xb10 fs/sysfs/group.c:148
 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:188
 internal_create_groups fs/sysfs/group.c:184 [inline]
 sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:214
 setup_gid_attrs drivers/infiniband/core/sysfs.c:1169 [inline]
 ib_setup_port_attrs+0x3ec/0x5b0 drivers/infiniband/core/sysfs.c:1441
 add_one_compat_dev drivers/infiniband/core/device.c:969 [inline]
 add_one_compat_dev+0x517/0x7f0 drivers/infiniband/core/device.c:920
 rdma_dev_init_net+0x28b/0x480 drivers/infiniband/core/device.c:1185
 ops_init+0xaf/0x470 net/core/net_namespace.c:134
 setup_net+0x5d1/0xc50 net/core/net_namespace.c:325
 copy_net_ns+0x318/0x760 net/core/net_namespace.c:471
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x391/0x450 kernel/nsproxy.c:178
 copy_process+0x2ffd/0x7020 kernel/fork.c:2243
 kernel_clone+0xe7/0xab0 kernel/fork.c:2655
 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2947
 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:0x7fb96bc89109
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:00007fb96cd1c038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007fb96bd9c100 RCX: 00007fb96bc89109
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007fb96cd1c050
RBP: 00007fb96bce30ad R08: 0000000000000000 R09: 0000000000000058
R10: 00007fb96cd1c050 R11: 0000000000000246 R12: 0000000000000058
R13: 00007ffe50e9343f R14: 00007fb96cd1c300 R15: 0000000000022000
 </TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10505 jiffies! g63061 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=36470
rcu: rcu_preempt kthread starved for 10506 jiffies! g63061 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
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:28128 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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 16485 Comm: syz-executor.0 Not tainted 5.19.0-rc1-syzkaller-00336-g997952851843 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lock_is_held_type+0xeb/0x140 kernel/locking/lockdep.c:5710
Code: 45 31 ed 44 39 f0 41 0f 94 c5 48 c7 c7 c0 65 cc 89 e8 69 0d 00 00 b8 ff ff ff ff 65 0f c1 05 e4 b5 8b 76 83 f8 01 75 29 9c 58 <f6> c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 44 89
RSP: 0018:ffffc90000007df0 EFLAGS: 00000046
RAX: 0000000000000046 RBX: 0000000000000006 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000010003 RDI: 0000000000000000
RBP: ffffffff8bd83c20 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88801eb7c1c0
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88801eb7cce8
FS:  00007fb96cd1c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc227ba0000 CR3: 00000000432a0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_is_held include/linux/lockdep.h:279 [inline]
 rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
 trace_hrtimer_expire_entry include/trace/events/timer.h:235 [inline]
 __run_hrtimer kernel/time/hrtimer.c:1682 [inline]
 __hrtimer_run_queues+0x9b0/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: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:ffffc9000377f268 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920006efe4f RCX: ffffffff815d31ce
RDX: 1ffff11003d6f983 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9067990f
R10: fffffbfff20cf321 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8bf748f8 R15: 0000000000000000
 __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]
 __kernfs_new_node+0xff/0x8b0 fs/kernfs/dir.c:598
 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:655
 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:987
 sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294
 create_files fs/sysfs/group.c:64 [inline]
 internal_create_group+0x322/0xb10 fs/sysfs/group.c:148
 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:188
 internal_create_groups fs/sysfs/group.c:184 [inline]
 sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:214
 setup_gid_attrs drivers/infiniband/core/sysfs.c:1169 [inline]
 ib_setup_port_attrs+0x3ec/0x5b0 drivers/infiniband/core/sysfs.c:1441
 add_one_compat_dev drivers/infiniband/core/device.c:969 [inline]
 add_one_compat_dev+0x517/0x7f0 drivers/infiniband/core/device.c:920
 rdma_dev_init_net+0x28b/0x480 drivers/infiniband/core/device.c:1185
 ops_init+0xaf/0x470 net/core/net_namespace.c:134
 setup_net+0x5d1/0xc50 net/core/net_namespace.c:325
 copy_net_ns+0x318/0x760 net/core/net_namespace.c:471
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x391/0x450 kernel/nsproxy.c:178
 copy_process+0x2ffd/0x7020 kernel/fork.c:2243
 kernel_clone+0xe7/0xab0 kernel/fork.c:2655
 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2947
 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:0x7fb96bc89109
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:00007fb96cd1c038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007fb96bd9c100 RCX: 00007fb96bc89109
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007fb96cd1c050
RBP: 00007fb96bce30ad R08: 0000000000000000 R09: 0000000000000058
R10: 00007fb96cd1c050 R11: 0000000000000246 R12: 0000000000000058
R13: 00007ffe50e9343f R14: 00007fb96cd1c300 R15: 0000000000022000
 </TASK>
watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [syz-executor.4:16520]
Modules linked in:
irq event stamp: 51188
hardirqs last  enabled at (51187): [<ffffffff89800c8b>] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
hardirqs last disabled at (51188): [<ffffffff8976b75b>] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106
softirqs last  enabled at (1442): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last  enabled at (1442): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
softirqs last disabled at (1357): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last disabled at (1357): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
CPU: 1 PID: 16520 Comm: syz-executor.4 Not tainted 5.19.0-rc1-syzkaller-00336-g997952851843 #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: 97 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 39 9b 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:ffffc90003f9fb98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880b9a44fc0 RCX: ffffc90006774000
RDX: 0000000000040000 RSI: ffffffff816f07a7 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10173489f9
R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000
FS:  00007f01a2821700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f421000 CR3: 0000000076f71000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 clock_was_set+0x599/0x790 kernel/time/hrtimer.c:974
 do_settimeofday64 kernel/time/timekeeping.c:1344 [inline]
 do_settimeofday64+0x3b9/0x5b0 kernel/time/timekeeping.c:1311
 do_sys_settimeofday64 kernel/time/time.c:195 [inline]
 do_sys_settimeofday64+0x1de/0x260 kernel/time/time.c:169
 __do_sys_clock_settime kernel/time/posix-timers.c:1079 [inline]
 __se_sys_clock_settime kernel/time/posix-timers.c:1067 [inline]
 __x64_sys_clock_settime+0x1a1/0x280 kernel/time/posix-timers.c:1067
 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:0x7f01a1689109

================================
WARNING: inconsistent lock state
5.19.0-rc1-syzkaller-00336-g997952851843 #0 Not tainted
--------------------------------
inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage.
syz-executor.4/16520 [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: 51188
hardirqs last  enabled at (51187): [<ffffffff89800c8b>] asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649
hardirqs last disabled at (51188): [<ffffffff8976b75b>] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1106
softirqs last  enabled at (1442): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last  enabled at (1442): [<ffffffff81477753>] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
softirqs last disabled at (1357): [<ffffffff81477753>] invoke_softirq kernel/softirq.c:445 [inline]
softirqs last disabled at (1357): [<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 ***

1 lock held by syz-executor.4/16520:
 #0: ffffffff8bc31330 (cpu_hotplug_lock){++++}-{0:0}, at: clock_was_set+0x124/0x790 kernel/time/hrtimer.c:960

stack backtrace:
CPU: 1 PID: 16520 Comm: syz-executor.4 Not tainted 5.19.0-rc1-syzkaller-00336-g997952851843 #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: 97 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 39 9b 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:ffffc90003f9fb98 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff8880b9a44fc0 RCX: ffffc90006774000
RDX: 0000000000040000 RSI: ffffffff816f07a7 RDI: 0000000000000005
RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10173489f9
R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000
 clock_was_set+0x599/0x790 kernel/time/hrtimer.c:974
 do_settimeofday64 kernel/time/timekeeping.c:1344 [inline]
 do_settimeofday64+0x3b9/0x5b0 kernel/time/timekeeping.c:1311
 do_sys_settimeofday64 kernel/time/time.c:195 [inline]
 do_sys_settimeofday64+0x1de/0x260 kernel/time/time.c:169
 __do_sys_clock_settime kernel/time/posix-timers.c:1079 [inline]
 __se_sys_clock_settime kernel/time/posix-timers.c:1067 [inline]
 __x64_sys_clock_settime+0x1a1/0x280 kernel/time/posix-timers.c:1067
 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:0x7f01a1689109
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:00007f01a2821168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3
RAX: ffffffffffffffda RBX: 00007f01a179bf60 RCX: 00007f01a1689109
RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000000000000
RBP: 00007f01a16e30ad R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc9bba065f R14: 00007f01a2821300 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:00007f01a2821168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3
RAX: ffffffffffffffda RBX: 00007f01a179bf60 RCX: 00007f01a1689109
RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000000000000
RBP: 00007f01a16e30ad R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc9bba065f R14: 00007f01a2821300 R15: 0000000000022000
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 16485 Comm: syz-executor.0 Not tainted 5.19.0-rc1-syzkaller-00336-g997952851843 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:advance_sched+0x2f/0x9a0 net/sched/sch_taprio.c:712
Code: 55 41 54 55 53 48 89 fb 48 83 ec 38 e8 7a 12 f1 f9 48 8d 7b 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 87 08 00 00 48 8b 43 88 4c 8d 63 c0 48 89 44 24 10 48 8d 43
RSP: 0018:ffffc90000007dd0 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: ffff888022226b40 RCX: 0000000000000000
RDX: 1ffff11004444d59 RSI: ffffffff87889066 RDI: ffff888022226ac8
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8880b9a2a600 R14: ffff8880b9a2a500 R15: ffffffff87889050
FS:  00007fb96cd1c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc227ba0000 CR3: 00000000432a0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x609/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: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:ffffc9000377f268 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff920006efe4f RCX: ffffffff815d31ce
RDX: 1ffff11003d6f983 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff9067990f
R10: fffffbfff20cf321 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8bf748f8 R15: 0000000000000000
 __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]
 __kernfs_new_node+0xff/0x8b0 fs/kernfs/dir.c:598
 kernfs_new_node+0x93/0x120 fs/kernfs/dir.c:655
 __kernfs_create_file+0x51/0x350 fs/kernfs/file.c:987
 sysfs_add_file_mode_ns+0x20f/0x3f0 fs/sysfs/file.c:294
 create_files fs/sysfs/group.c:64 [inline]
 internal_create_group+0x322/0xb10 fs/sysfs/group.c:148
 internal_create_groups.part.0+0x90/0x140 fs/sysfs/group.c:188
 internal_create_groups fs/sysfs/group.c:184 [inline]
 sysfs_create_groups+0x25/0x50 fs/sysfs/group.c:214
 setup_gid_attrs drivers/infiniband/core/sysfs.c:1169 [inline]
 ib_setup_port_attrs+0x3ec/0x5b0 drivers/infiniband/core/sysfs.c:1441
 add_one_compat_dev drivers/infiniband/core/device.c:969 [inline]
 add_one_compat_dev+0x517/0x7f0 drivers/infiniband/core/device.c:920
 rdma_dev_init_net+0x28b/0x480 drivers/infiniband/core/device.c:1185
 ops_init+0xaf/0x470 net/core/net_namespace.c:134
 setup_net+0x5d1/0xc50 net/core/net_namespace.c:325
 copy_net_ns+0x318/0x760 net/core/net_namespace.c:471
 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110
 copy_namespaces+0x391/0x450 kernel/nsproxy.c:178
 copy_process+0x2ffd/0x7020 kernel/fork.c:2243
 kernel_clone+0xe7/0xab0 kernel/fork.c:2655
 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2947
 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:0x7fb96bc89109
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:00007fb96cd1c038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007fb96bd9c100 RCX: 00007fb96bc89109
RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007fb96cd1c050
RBP: 00007fb96bce30ad R08: 0000000000000000 R09: 0000000000000058
R10: 00007fb96cd1c050 R11: 0000000000000246 R12: 0000000000000058
R13: 00007ffe50e9343f R14: 00007fb96cd1c300 R15: 0000000000022000
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 25 c5 4a 8b 76    	mov    0x768b4ac5(%rip),%esp        # 0x768b4acb
   6:	65 8b 1d 2e a0 8b 76 	mov    %gs:0x768ba02e(%rip),%ebx        # 0x768ba03b
   d:	81 e3 ff ff ff 7f    	and    $0x7fffffff,%ebx
  13:	31 ff                	xor    %edi,%edi
  15:	89 de                	mov    %ebx,%esi
  17:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  1c:	85 db                	test   %ebx,%ebx
  1e:	74 11                	je     0x31
  20:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  25:	44 89 e0             	mov    %r12d,%eax
  28:	5b                   	pop    %rbx
  29:	5d                   	pop    %rbp
* 2a:	41 5c                	pop    %r12 <-- trapping instruction
  2c:	41 5d                	pop    %r13
  2e:	41 5e                	pop    %r14
  30:	c3                   	retq
  31:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  36:	9c                   	pushfq
  37:	5b                   	pop    %rbx
  38:	81 e3 00 02 00 00    	and    $0x200,%ebx
  3e:	31 ff                	xor    %edi,%edi

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2022/06/12 23:45 upstream 997952851843 0d5abf15 .config log report info INFO: rcu detected stall in clone3
* Struck through repros no longer work on HEAD.