INFO: task syz-executor.3:22382 blocked for more than 143 seconds.
Not tainted 5.15.113-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24736 pid:22382 ppid: 1 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514
__mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
add_one_compat_dev+0x103/0x6c0 drivers/infiniband/core/device.c:942
rdma_dev_init_net+0x1bb/0x250 drivers/infiniband/core/device.c:1184
ops_init+0x356/0x600 net/core/net_namespace.c:135
setup_net+0x358/0x9e0 net/core/net_namespace.c:329
copy_net_ns+0x395/0x5d0 net/core/net_namespace.c:473
create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0x11e/0x170 kernel/nsproxy.c:226
ksys_unshare+0x580/0xb20 kernel/fork.c:3094
__do_sys_unshare kernel/fork.c:3168 [inline]
__se_sys_unshare kernel/fork.c:3166 [inline]
__x64_sys_unshare+0x34/0x40 kernel/fork.c:3166
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f9c7a9e8727
RSP: 002b:00007fffbc9f8018 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007fffbc9f8658 RCX: 00007f9c7a9e8727
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000006
R13: 00007fffbc9f80f0 R14: 00007f9c7ab074f8 R15: 0000000000000006
</TASK>
Showing all locks held in the system:
2 locks held by ksoftirqd/0/14:
1 lock held by khungtaskd/27:
#0: ffffffff8c91c560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3268:
#0: ffff8880248b3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
3 locks held by kworker/u4:14/4150:
5 locks held by syz-executor.3/22279:
4 locks held by syz-executor.3/22382:
#0: ffffffff8d9d1150 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d7d7590 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x162/0x250 drivers/infiniband/core/device.c:1178
#2: ffffffff8d7d7750 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1b0/0x250 drivers/infiniband/core/device.c:1183
#3: ffff88804644cfe0 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0x103/0x6c0 drivers/infiniband/core/device.c:942
4 locks held by syz-executor.3/22419:
#0: ffffffff8d9d1150 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d7d7590 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x162/0x250 drivers/infiniband/core/device.c:1178
#2: ffffffff8d7d7750 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1b0/0x250 drivers/infiniband/core/device.c:1183
#3: ffff88804644cfe0 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0x103/0x6c0 drivers/infiniband/core/device.c:942
4 locks held by syz-executor.3/22427:
#0: ffffffff8d9d1150 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d7d7590 (devices_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x162/0x250 drivers/infiniband/core/device.c:1178
#2: ffffffff8d7d7750 (rdma_nets_rwsem){++++}-{3:3}, at: rdma_dev_init_net+0x1b0/0x250 drivers/infiniband/core/device.c:1183
#3: ffff88804644cfe0 (&device->compat_devs_mutex){+.+.}-{3:3}, at: add_one_compat_dev+0x103/0x6c0 drivers/infiniband/core/device.c:942
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4150 Comm: kworker/u4:14 Not tainted 5.15.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__kasan_check_read+0x2/0x10 mm/kasan/shadow.c:31
Code: 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 fa 87 15 8c eb 0a 48 c7 c7 32 88 15 8c 4c 89 fe e8 5f 3c 50 08 31 db eb d7 cc cc 89 f6 <48> 8b 0c 24 31 d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 ba 01
RSP: 0018:ffffc90005467a78 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8de3b668
RBP: ffffc90005467bd8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000a8cf58
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880209a1540
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00a008710 CR3: 0000000074dae000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:344 [inline]
cpu_online include/linux/cpumask.h:895 [inline]
trace_lock_acquire include/trace/events/lock.h:13 [inline]
lock_acquire+0xcc/0x4f0 kernel/locking/lockdep.c:5593
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269
rcu_read_lock include/linux/rcupdate.h:696 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307
worker_thread+0xaca/0x1280 kernel/workqueue.c:2454
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
net_ratelimit: 16951 callbacks suppressed
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:2e:05:d8:06:ff:ce, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:1b, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:c6:91:26:35:56:93, vlan:0)
bridge0: received packet on veth0_to_bridge with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)
bridge0: received packet on bridge_slave_0 with own address as source address (addr:aa:aa:aa:aa:aa:0c, vlan:0)