rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P35/1:b..l P12039/1:b..l P11997/1:b..l rcu: (detected by 1, t=10502 jiffies, g=74869, q=545 ncpus=2) task:syz-executor.4 state:R running task stack:24096 pid:11997 tgid:11996 ppid:11043 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:867 [inline] RIP: 0010:count_memcg_event_mm+0x334/0x420 include/linux/memcontrol.h:1079 Code: 72 d9 b2 ff 4c 8b 6c 24 18 eb 1f e8 66 d9 b2 ff e8 91 4f aa 09 4d 85 f6 74 84 e8 57 d9 b2 ff fb 49 be 00 00 00 00 00 fc ff df 27 56 aa 09 89 c3 31 ff 89 c6 e8 7c dd b2 ff 85 db 74 10 e8 c3 RSP: 0018:ffffc90002e0f660 EFLAGS: 00000287 RAX: ffffffff81e389a9 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90010dc3000 RSI: 0000000000029adc RDI: 0000000000029add RBP: ffffc90002e0f730 R08: ffffffff81e38919 R09: 1ffffffff25f92de R10: dffffc0000000000 R11: fffffbfff25f92df R12: 0000000000000046 R13: ffffffff81e38714 R14: dffffc0000000000 R15: 1ffff920005c1ed0 mm_account_fault mm/memory.c:5679 [inline] handle_mm_fault+0x16c4/0x1ba0 mm/memory.c:5826 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc90002e0fad0 EFLAGS: 00050246 RAX: ffffffff84b1e801 RBX: 0000000020059040 RCX: 0000000000000040 RDX: 0000000000000000 RSI: ffffc90002e0fb60 RDI: 0000000020059000 RBP: ffffc90002e0fc10 R08: ffffc90002e0fb9f R09: 1ffff920005c1f73 R10: dffffc0000000000 R11: fffff520005c1f74 R12: 0000000000000040 R13: 0000000000025580 R14: 0000000020059000 R15: ffffc90002e0fb60 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [inline] _copy_to_user+0x86/0xb0 lib/usercopy.c:46 copy_to_user include/linux/uaccess.h:191 [inline] rng_dev_read+0x3be/0x6d0 drivers/char/hw_random/core.c:252 do_loop_readv_writev fs/read_write.c:761 [inline] vfs_readv+0x6c6/0xa90 fs/read_write.c:934 do_preadv fs/read_write.c:1049 [inline] __do_sys_preadv fs/read_write.c:1099 [inline] __se_sys_preadv fs/read_write.c:1094 [inline] __x64_sys_preadv+0x1c7/0x2d0 fs/read_write.c:1094 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb8cd67cf69 RSP: 002b:00007fb8ce4720c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007fb8cd7b3f80 RCX: 00007fb8cd67cf69 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000007 RBP: 00007fb8cd6da6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb8cd7b3f80 R15: 00007ffc885c6328 task:syz-executor.0 state:R running task stack:23504 pid:12039 tgid:12036 ppid:11586 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6708 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6732 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 vprintk_emit+0x82d/0x900 kernel/printk/printk.c:2423 _printk+0xd5/0x120 kernel/printk/printk.c:2447 netdev_info+0x122/0x170 net/core/dev.c:11680 __dev_set_allmulti+0x1b0/0x380 net/core/dev.c:8641 team_change_rx_flags+0x1a8/0x330 drivers/net/team/team_core.c:1775 dev_change_rx_flags net/core/dev.c:8541 [inline] __dev_set_allmulti+0x20a/0x380 net/core/dev.c:8643 nbp_delete_promisc net/bridge/br_if.c:252 [inline] del_nbp+0xce/0xb40 net/bridge/br_if.c:340 br_del_if+0x145/0x320 net/bridge/br_if.c:739 do_set_master net/core/rtnetlink.c:2687 [inline] do_setlink+0xefc/0x41f0 net/core/rtnetlink.c:2907 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x180b/0x20a0 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x89b/0x1180 net/core/rtnetlink.c:6635 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2564 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2585 ___sys_sendmsg net/socket.c:2639 [inline] __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2668 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7ba767cf69 RSP: 002b:00007f7ba830f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7ba77b3f80 RCX: 00007f7ba767cf69 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f7ba76da6fe R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7ba77b3f80 R15: 00007ffd87b71c28 task:kworker/u8:2 state:R running task stack:20344 pid:35 tgid:35 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6851 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5821 Code: 2b 00 74 08 4c 89 f7 e8 3a 18 8a 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90000ab7980 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000156f3c RCX: f985ca44b05bca00 RDX: dffffc0000000000 RSI: ffffffff8bcad360 RDI: ffffffff8c200e00 RBP: ffffc90000ab7ad0 R08: ffffffff92fc96c7 R09: 1ffffffff25f92d8 R10: dffffc0000000000 R11: fffffbfff25f92d9 R12: 1ffff92000156f38 R13: dffffc0000000000 R14: ffffc90000ab79e0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] batadv_nc_process_nc_paths+0xd6/0x3a0 net/batman-adv/network-coding.c:687 batadv_nc_worker+0x42a/0x610 net/batman-adv/network-coding.c:728 process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: rcu_preempt kthread starved for 10621 jiffies! g74869 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:24912 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2029 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2231 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x21/0x30 drivers/acpi/processor_idle.c:112