------------[ cut here ]------------ ====================================================== WARNING: possible circular locking dependency detected 6.11.0-rc5-next-20240827-syzkaller #0 Not tainted ------------------------------------------------------ kworker/u8:7/2577 is trying to acquire lock: ffffffff8e815278 ((console_sem).lock){-.-.}-{2:2}, at: down_trylock+0x20/0xa0 kernel/locking/semaphore.c:139 but task is already holding lock: ffff8880b903ead8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:595 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&rq->__lock){-.-.}-{2:2}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:587 raw_spin_rq_lock kernel/sched/sched.h:1488 [inline] task_rq_lock+0xc6/0x360 kernel/sched/core.c:689 cgroup_move_task+0x92/0x2d0 kernel/sched/psi.c:1161 css_set_move_task+0x72e/0x950 kernel/cgroup/cgroup.c:898 cgroup_post_fork+0x256/0x880 kernel/cgroup/cgroup.c:6690 copy_process+0x39e9/0x3d50 kernel/fork.c:2598 kernel_clone+0x226/0x8f0 kernel/fork.c:2784 user_mode_thread+0x132/0x1a0 kernel/fork.c:2862 rest_init+0x23/0x300 init/main.c:712 start_kernel+0x47f/0x500 init/main.c:1105 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x147 -> #1 (&p->pi_lock){-.-.}-{2:2}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] try_to_wake_up+0xb0/0x1480 kernel/sched/core.c:4150 up+0x72/0x90 kernel/locking/semaphore.c:191 __up_console_sem kernel/printk/printk.c:342 [inline] __console_unlock kernel/printk/printk.c:2828 [inline] console_unlock+0x22f/0x4d0 kernel/printk/printk.c:3155 fb_flashcursor+0x29e/0x3f0 drivers/video/fbdev/core/fbcon.c:395 process_one_work kernel/workqueue.c:3232 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3313 worker_thread+0x86d/0xd10 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 -> #0 ((console_sem).lock){-.-.}-{2:2}: check_prev_add kernel/locking/lockdep.c:3161 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain+0x18ef/0x5920 kernel/locking/lockdep.c:3904 __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 down_trylock+0x20/0xa0 kernel/locking/semaphore.c:139 __down_trylock_console_sem+0x109/0x250 kernel/printk/printk.c:325 console_trylock kernel/printk/printk.c:2811 [inline] console_trylock_spinning kernel/printk/printk.c:1985 [inline] vprintk_emit+0x4b2/0xa10 kernel/printk/printk.c:2398 _printk+0xd5/0x120 kernel/printk/printk.c:2424 __report_bug lib/bug.c:195 [inline] report_bug+0x346/0x500 lib/bug.c:219 handle_bug+0x60/0x90 arch/x86/kernel/traps.c:285 exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:309 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 place_entity+0x463/0x520 kernel/sched/fair.c:5337 enqueue_entity+0x271/0x1920 kernel/sched/fair.c:5409 enqueue_task_fair+0x206/0xe30 kernel/sched/fair.c:6985 enqueue_task+0x1a5/0x300 kernel/sched/core.c:2014 activate_task kernel/sched/core.c:2056 [inline] ttwu_do_activate+0x1d1/0x7e0 kernel/sched/core.c:3665 ttwu_queue kernel/sched/core.c:3940 [inline] try_to_wake_up+0x8bc/0x1480 kernel/sched/core.c:4266 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106 sock_def_readable+0x20f/0x5b0 net/core/sock.c:3374 tcp_data_queue+0x20fd/0x76c0 net/ipv4/tcp_input.c:5283 tcp_rcv_established+0xfba/0x2020 net/ipv4/tcp_input.c:6230 tcp_v6_do_rcv+0x5c8/0x13a0 net/ipv6/tcp_ipv6.c:1640 tcp_v6_rcv+0x253a/0x2fb0 net/ipv6/tcp_ipv6.c:1912 ip6_protocol_deliver_rcu+0xc79/0x1580 net/ipv6/ip6_input.c:438 ip6_input_finish+0x187/0x2d0 net/ipv6/ip6_input.c:483 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_sabotage_in+0x203/0x290 net/bridge/br_netfilter_hooks.c:1012 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 __netif_receive_skb_one_core net/core/dev.c:5663 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5777 netif_receive_skb_internal net/core/dev.c:5863 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5923 NF_HOOK+0x9e/0x400 include/linux/netfilter.h:314 br_handle_frame_finish+0x18ed/0x1fe0 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9fd/0x1530 net/bridge/br_input.c:424 __netif_receive_skb_core+0x13e8/0x4570 net/core/dev.c:5557 __netif_receive_skb_one_core net/core/dev.c:5661 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5777 process_backlog+0x662/0x15b0 net/core/dev.c:6110 __napi_poll+0xcb/0x490 net/core/dev.c:6774 napi_poll net/core/dev.c:6843 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6965 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x1763/0x3e90 net/core/dev.c:4452 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0x1001/0x1730 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xef8/0x18b0 net/ipv6/ip6_output.c:366 inet6_csk_xmit+0x468/0x710 net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1ed1/0x3b30 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x18b4/0x6a10 net/ipv4/tcp_output.c:2829 __tcp_push_pending_frames+0x9b/0x360 net/ipv4/tcp_output.c:3014 tcp_sendmsg_locked+0x43b1/0x4e10 net/ipv4/tcp.c:1322 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1354 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xef/0x270 net/socket.c:745 sock_sendmsg+0x134/0x200 net/socket.c:768 rds_tcp_xmit+0x6dc/0xcb0 net/rds/tcp_send.c:125 rds_send_xmit+0x1291/0x25b0 net/rds/send.c:366 rds_send_worker+0x7d/0x2b0 net/rds/threads.c:200 process_one_work kernel/workqueue.c:3232 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3313 worker_thread+0x86d/0xd10 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 other info that might help us debug this: Chain exists of: (console_sem).lock --> &p->pi_lock --> &rq->__lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rq->__lock); lock(&p->pi_lock); lock(&rq->__lock); lock((console_sem).lock); *** DEADLOCK *** 14 locks held by kworker/u8:7/2577: #0: ffff88814ae9b948 ((wq_completion)krdsd){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #0: ffff88814ae9b948 ((wq_completion)krdsd){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3313 #1: ffffc90009937d00 ((work_completion)(&(&cp->cp_send_w)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3208 [inline] #1: ffffc90009937d00 ((work_completion)(&(&cp->cp_send_w)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3313 #2: ffff88807f189c58 (k-sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1607 [inline] #2: ffff88807f189c58 (k-sk_lock-AF_INET6){+.+.}-{0:0}, at: tcp_sendmsg+0x22/0x50 net/ipv4/tcp.c:1353 #3: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #3: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: inet6_csk_xmit+0x1be/0x710 net/ipv6/inet6_connection_sock.c:129 #4: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #4: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #4: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: ip6_finish_output2+0x75c/0x1730 net/ipv6/ip6_output.c:126 #5: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: local_lock_acquire include/linux/local_lock_internal.h:29 [inline] #5: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x33b/0x15b0 net/core/dev.c:6106 #6: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #6: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #6: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb_internal net/core/dev.c:5850 [inline] #6: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb+0x131/0x890 net/core/dev.c:5923 #7: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #7: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #7: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: nf_hook include/linux/netfilter.h:238 [inline] #7: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: NF_HOOK+0x9a/0x450 include/linux/netfilter.h:312 #8: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #8: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #8: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: ip6_input_finish+0xdc/0x2d0 net/ipv6/ip6_input.c:482 #9: ffff88807f18a8d8 (slock-AF_INET6/1){+.-.}-{2:2}, at: tcp_v6_rcv+0x24d2/0x2fb0 net/ipv6/tcp_ipv6.c:1908 #10: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #10: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #10: ffffffff8e939b60 (rcu_read_lock){....}-{1:2}, at: sock_def_readable+0xd7/0x5b0 net/core/sock.c:3371 #11: ffff888062a8ec58 (&ei->socket.wq.wait){..-.}-{2:2}, at: __wake_up_common_lock+0x25/0x1e0 kernel/sched/wait.c:105 #12: ffff888028ccc618 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] #12: ffff888028ccc618 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xb0/0x1480 kernel/sched/core.c:4150 #13: ffff8880b903ead8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:595 stack backtrace: CPU: 1 UID: 0 PID: 2577 Comm: kworker/u8:7 Not tainted 6.11.0-rc5-next-20240827-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: krdsd rds_send_worker Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_circular_bug+0x13a/0x1b0 kernel/locking/lockdep.c:2074 check_noncircular+0x36a/0x4a0 kernel/locking/lockdep.c:2206 check_prev_add kernel/locking/lockdep.c:3161 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain+0x18ef/0x5920 kernel/locking/lockdep.c:3904 __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5202 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 down_trylock+0x20/0xa0 kernel/locking/semaphore.c:139 __down_trylock_console_sem+0x109/0x250 kernel/printk/printk.c:325 console_trylock kernel/printk/printk.c:2811 [inline] console_trylock_spinning kernel/printk/printk.c:1985 [inline] vprintk_emit+0x4b2/0xa10 kernel/printk/printk.c:2398 _printk+0xd5/0x120 kernel/printk/printk.c:2424 __report_bug lib/bug.c:195 [inline] report_bug+0x346/0x500 lib/bug.c:219 handle_bug+0x60/0x90 arch/x86/kernel/traps.c:285 exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:309 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 RIP: 0010:place_entity+0x463/0x520 kernel/sched/fair.c:5337 Code: 27 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 48 8b 3c 24 4c 89 fe e8 77 14 00 00 48 89 04 24 e9 e0 fd ff ff 90 <0f> 0b 90 41 bd 01 00 00 00 e9 22 ff ff ff 89 d9 80 e1 07 38 c1 0f RSP: 0018:ffffc90000a17030 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000 RDX: 0000000000000400 RSI: ffff888028ccbc80 RDI: ffff888028ccbd00 RBP: dffffc0000000000 R08: ffff888042e887c7 R09: 1ffff110085d10f8 R10: dffffc0000000000 R11: ffffed10085d10f9 R12: 00000000290f4692 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888028ccbc80 enqueue_entity+0x271/0x1920 kernel/sched/fair.c:5409 enqueue_task_fair+0x206/0xe30 kernel/sched/fair.c:6985 enqueue_task+0x1a5/0x300 kernel/sched/core.c:2014 activate_task kernel/sched/core.c:2056 [inline] ttwu_do_activate+0x1d1/0x7e0 kernel/sched/core.c:3665 ttwu_queue kernel/sched/core.c:3940 [inline] try_to_wake_up+0x8bc/0x1480 kernel/sched/core.c:4266 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106 sock_def_readable+0x20f/0x5b0 net/core/sock.c:3374 tcp_data_queue+0x20fd/0x76c0 net/ipv4/tcp_input.c:5283 tcp_rcv_established+0xfba/0x2020 net/ipv4/tcp_input.c:6230 tcp_v6_do_rcv+0x5c8/0x13a0 net/ipv6/tcp_ipv6.c:1640 tcp_v6_rcv+0x253a/0x2fb0 net/ipv6/tcp_ipv6.c:1912 ip6_protocol_deliver_rcu+0xc79/0x1580 net/ipv6/ip6_input.c:438 ip6_input_finish+0x187/0x2d0 net/ipv6/ip6_input.c:483 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_sabotage_in+0x203/0x290 net/bridge/br_netfilter_hooks.c:1012 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 __netif_receive_skb_one_core net/core/dev.c:5663 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5777 netif_receive_skb_internal net/core/dev.c:5863 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5923 NF_HOOK+0x9e/0x400 include/linux/netfilter.h:314 br_handle_frame_finish+0x18ed/0x1fe0 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9fd/0x1530 net/bridge/br_input.c:424 __netif_receive_skb_core+0x13e8/0x4570 net/core/dev.c:5557 __netif_receive_skb_one_core net/core/dev.c:5661 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5777 process_backlog+0x662/0x15b0 net/core/dev.c:6110 __napi_poll+0xcb/0x490 net/core/dev.c:6774 napi_poll net/core/dev.c:6843 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6965 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x1763/0x3e90 net/core/dev.c:4452 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0x1001/0x1730 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xef8/0x18b0 net/ipv6/ip6_output.c:366 inet6_csk_xmit+0x468/0x710 net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1ed1/0x3b30 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x18b4/0x6a10 net/ipv4/tcp_output.c:2829 __tcp_push_pending_frames+0x9b/0x360 net/ipv4/tcp_output.c:3014 tcp_sendmsg_locked+0x43b1/0x4e10 net/ipv4/tcp.c:1322 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1354 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xef/0x270 net/socket.c:745 sock_sendmsg+0x134/0x200 net/socket.c:768 rds_tcp_xmit+0x6dc/0xcb0 net/rds/tcp_send.c:125 rds_send_xmit+0x1291/0x25b0 net/rds/send.c:366 rds_send_worker+0x7d/0x2b0 net/rds/threads.c:200 process_one_work kernel/workqueue.c:3232 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3313 worker_thread+0x86d/0xd10 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 WARNING: CPU: 1 PID: 2577 at kernel/sched/fair.c:5337 place_entity+0x463/0x520 kernel/sched/fair.c:5337 Modules linked in: CPU: 1 UID: 0 PID: 2577 Comm: kworker/u8:7 Not tainted 6.11.0-rc5-next-20240827-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: krdsd rds_send_worker RIP: 0010:place_entity+0x463/0x520 kernel/sched/fair.c:5337 Code: 27 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 48 8b 3c 24 4c 89 fe e8 77 14 00 00 48 89 04 24 e9 e0 fd ff ff 90 <0f> 0b 90 41 bd 01 00 00 00 e9 22 ff ff ff 89 d9 80 e1 07 38 c1 0f RSP: 0018:ffffc90000a17030 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000100000 RDX: 0000000000000400 RSI: ffff888028ccbc80 RDI: ffff888028ccbd00 RBP: dffffc0000000000 R08: ffff888042e887c7 R09: 1ffff110085d10f8 R10: dffffc0000000000 R11: ffffed10085d10f9 R12: 00000000290f4692 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888028ccbc80 FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002003d000 CR3: 000000007b3d4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_entity+0x271/0x1920 kernel/sched/fair.c:5409 enqueue_task_fair+0x206/0xe30 kernel/sched/fair.c:6985 enqueue_task+0x1a5/0x300 kernel/sched/core.c:2014 activate_task kernel/sched/core.c:2056 [inline] ttwu_do_activate+0x1d1/0x7e0 kernel/sched/core.c:3665 ttwu_queue kernel/sched/core.c:3940 [inline] try_to_wake_up+0x8bc/0x1480 kernel/sched/core.c:4266 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106 sock_def_readable+0x20f/0x5b0 net/core/sock.c:3374 tcp_data_queue+0x20fd/0x76c0 net/ipv4/tcp_input.c:5283 tcp_rcv_established+0xfba/0x2020 net/ipv4/tcp_input.c:6230 tcp_v6_do_rcv+0x5c8/0x13a0 net/ipv6/tcp_ipv6.c:1640 tcp_v6_rcv+0x253a/0x2fb0 net/ipv6/tcp_ipv6.c:1912 ip6_protocol_deliver_rcu+0xc79/0x1580 net/ipv6/ip6_input.c:438 ip6_input_finish+0x187/0x2d0 net/ipv6/ip6_input.c:483 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_sabotage_in+0x203/0x290 net/bridge/br_netfilter_hooks.c:1012 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc3/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 __netif_receive_skb_one_core net/core/dev.c:5663 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5777 netif_receive_skb_internal net/core/dev.c:5863 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5923 NF_HOOK+0x9e/0x400 include/linux/netfilter.h:314 br_handle_frame_finish+0x18ed/0x1fe0 br_nf_hook_thresh+0x472/0x590 br_nf_pre_routing_finish_ipv6+0xaa0/0xdd0 NF_HOOK include/linux/netfilter.h:314 [inline] br_nf_pre_routing_ipv6+0x379/0x770 net/bridge/br_netfilter_ipv6.c:184 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_bridge_pre net/bridge/br_input.c:277 [inline] br_handle_frame+0x9fd/0x1530 net/bridge/br_input.c:424 __netif_receive_skb_core+0x13e8/0x4570 net/core/dev.c:5557 __netif_receive_skb_one_core net/core/dev.c:5661 [inline] __netif_receive_skb+0x12f/0x650 net/core/dev.c:5777 process_backlog+0x662/0x15b0 net/core/dev.c:6110 __napi_poll+0xcb/0x490 net/core/dev.c:6774 napi_poll net/core/dev.c:6843 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6965 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 do_softirq+0x11b/0x1e0 kernel/softirq.c:455 __local_bh_enable_ip+0x1bb/0x200 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x1763/0x3e90 net/core/dev.c:4452 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0x1001/0x1730 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x810 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ip6_xmit+0xef8/0x18b0 net/ipv6/ip6_output.c:366 inet6_csk_xmit+0x468/0x710 net/ipv6/inet6_connection_sock.c:135 __tcp_transmit_skb+0x1ed1/0x3b30 net/ipv4/tcp_output.c:1466 tcp_transmit_skb net/ipv4/tcp_output.c:1484 [inline] tcp_write_xmit+0x18b4/0x6a10 net/ipv4/tcp_output.c:2829 __tcp_push_pending_frames+0x9b/0x360 net/ipv4/tcp_output.c:3014 tcp_sendmsg_locked+0x43b1/0x4e10 net/ipv4/tcp.c:1322 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1354 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xef/0x270 net/socket.c:745 sock_sendmsg+0x134/0x200 net/socket.c:768 rds_tcp_xmit+0x6dc/0xcb0 net/rds/tcp_send.c:125 rds_send_xmit+0x1291/0x25b0 net/rds/send.c:366 rds_send_worker+0x7d/0x2b0 net/rds/threads.c:200 process_one_work kernel/workqueue.c:3232 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3313 worker_thread+0x86d/0xd10 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244