================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.6.3254/15546 [HC0[0]:SC1[3]:HE1:SE0] takes: ffffffff8ee92940 (fs_reclaim){+.?.}-{0:0}, at: might_alloc include/linux/sched/mm.h:316 [inline] ffffffff8ee92940 (fs_reclaim){+.?.}-{0:0}, at: slab_pre_alloc_hook mm/slub.c:4673 [inline] ffffffff8ee92940 (fs_reclaim){+.?.}-{0:0}, at: slab_alloc_node mm/slub.c:5011 [inline] ffffffff8ee92940 (fs_reclaim){+.?.}-{0:0}, at: kmem_cache_alloc_node_noprof+0x5f/0x600 mm/slub.c:5105 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __fs_reclaim_acquire mm/page_alloc.c:4382 [inline] fs_reclaim_acquire+0x71/0x100 mm/page_alloc.c:4396 might_alloc include/linux/sched/mm.h:316 [inline] xa_alloc include/linux/xarray.h:876 [inline] mem_cgroup_alloc mm/memcontrol.c:4269 [inline] mem_cgroup_css_alloc+0xa2/0x19a0 mm/memcontrol.c:4335 cgroup_init_subsys+0x114/0x630 kernel/cgroup/cgroup.c:6452 cgroup_init+0x729/0xbf0 kernel/cgroup/cgroup.c:6579 start_kernel+0x37e/0x3e0 init/main.c:1179 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x137/0x1b0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x157 irq event stamp: 1138 hardirqs last enabled at (1138): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (1137): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (1108): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last enabled at (1108): [] rcu_read_lock_bh include/linux/rcupdate.h:902 [inline] softirqs last enabled at (1108): [] __dev_queue_xmit+0x29b/0x3920 net/core/dev.c:4907 softirqs last disabled at (1109): [] do_softirq+0x77/0xd0 kernel/softirq.c:546 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(fs_reclaim); lock(fs_reclaim); *** DEADLOCK *** locks held by syz.6.3254/15546: 8, last CPU#1: #0: ffff888034bf8f60 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] #0: ffff888034bf8f60 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x21/0x50 net/ipv4/tcp.c:1453 #1: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x65/0x1b10 net/ipv4/ip_output.c:476 #2: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #2: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: ip_output+0x5a/0x450 net/ipv4/ip_output.c:432 #3: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x3de/0x10b0 net/ipv4/ip_output.c:229 #4: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: local_lock_acquire include/linux/local_lock_internal.h:46 [inline] #4: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3de/0x18b0 net/core/dev.c:6792 #5: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #5: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #5: ffffffff8ed5c620 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ae/0x6f0 net/ipv4/ip_input.c:240 #6: ffff88803272b5e8 (slock-AF_INET/1){+.-.}-{3:3}, at: tcp_v4_rcv+0x26e7/0x3170 net/ipv4/tcp_ipv4.c:2244 #7: ffff88803272b808 (clock-AF_INET){++.-}-{3:3}, at: psock_data_ready+0xaa/0x250 net/kcm/kcmsock.c:358 stack backtrace: CPU: 1 UID: 0 PID: 15546 Comm: syz.6.3254 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4086 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4100 mark_lock_irq+0x36/0x380 kernel/locking/lockdep.c:4311 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4797 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x71e/0x2de0 kernel/locking/lockdep.c:5242 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 __fs_reclaim_acquire mm/page_alloc.c:4382 [inline] fs_reclaim_acquire+0x71/0x100 mm/page_alloc.c:4396 might_alloc include/linux/sched/mm.h:316 [inline] slab_pre_alloc_hook mm/slub.c:4673 [inline] slab_alloc_node mm/slub.c:5011 [inline] kmem_cache_alloc_node_noprof+0x5f/0x600 mm/slub.c:5105 __alloc_skb+0x1db/0x7a0 net/core/skbuff.c:704 alloc_skb include/linux/skbuff.h:1384 [inline] alloc_skb_with_frags+0xc6/0x760 net/core/skbuff.c:6799 tls_alloc_clrtxt_skb net/tls/tls_sw.c:1230 [inline] tls_decrypt_sg+0x3e8/0x3110 net/tls/tls_sw.c:1302 tls_decrypt_sw net/tls/tls_sw.c:1448 [inline] tls_rx_one_record+0x209/0x1950 net/tls/tls_sw.c:1574 tls_sw_read_sock+0x812/0x10e0 net/tls/tls_sw.c:2118 strp_read_sock net/strparser/strparser.c:-1 [inline] strp_data_ready+0x415/0x5c0 net/strparser/strparser.c:402 psock_data_ready+0xe0/0x250 net/kcm/kcmsock.c:362 tcp_data_queue+0x1e94/0x5fa0 net/ipv4/tcp_input.c:5712 tcp_rcv_established+0xb05/0x2940 net/ipv4/tcp_input.c:6709 tcp_v4_do_rcv+0x727/0x13b0 net/ipv4/tcp_ipv4.c:1854 tcp_v4_rcv+0x27d4/0x3170 net/ipv4/tcp_ipv4.c:2248 ip_protocol_deliver_rcu+0x21d/0x440 net/ipv4/ip_input.c:207 ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325 __netif_receive_skb_one_core net/core/dev.c:6332 [inline] __netif_receive_skb net/core/dev.c:6445 [inline] process_backlog+0xa6b/0x18b0 net/core/dev.c:6796 __napi_poll+0xaa/0x330 net/core/dev.c:7865 napi_poll net/core/dev.c:7928 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8085 handle_softirqs+0x223/0x840 kernel/softirq.c:645 do_softirq+0x77/0xd0 kernel/softirq.c:546 __local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:923 [inline] __dev_queue_xmit+0x1efb/0x3920 net/core/dev.c:5028 dev_queue_xmit include/linux/netdevice.h:3459 [inline] neigh_hh_output include/net/neighbour.h:538 [inline] neigh_output include/net/neighbour.h:552 [inline] ip_finish_output2+0xbda/0x10b0 net/ipv4/ip_output.c:236 NF_HOOK_COND include/linux/netfilter.h:314 [inline] ip_output+0x29f/0x450 net/ipv4/ip_output.c:437 __ip_queue_xmit+0x10df/0x1b10 net/ipv4/ip_output.c:533 __tcp_transmit_skb+0x2d18/0x47c0 net/ipv4/tcp_output.c:1767 tcp_transmit_skb net/ipv4/tcp_output.c:1784 [inline] tcp_write_xmit+0x1cdf/0x6550 net/ipv4/tcp_output.c:3120 __tcp_push_pending_frames+0x96/0x380 net/ipv4/tcp_output.c:3303 tcp_sendmsg_locked+0x47da/0x5400 net/ipv4/tcp.c:1417 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1454 sock_sendmsg_nosec+0x10f/0x190 net/socket.c:801 __sock_sendmsg net/socket.c:818 [inline] __sys_sendto+0x408/0x5a0 net/socket.c:2283 __do_sys_sendto net/socket.c:2290 [inline] __se_sys_sendto net/socket.c:2286 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2286 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe4219e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efe43054028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007efe42425fa0 RCX: 00007efe4219e159 RDX: 0000000000000025 RSI: 0000200000000400 RDI: 0000000000000004 RBP: 00007efe4223506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efe42426038 R14: 00007efe42425fa0 R15: 00007ffcd066ec78 BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 15546, name: syz.6.3254 preempt_count: 303, expected: 0 RCU nest depth: 5, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] local_bh_disable include/linux/bottom_half.h:20 [inline] [] rcu_read_lock_bh include/linux/rcupdate.h:902 [inline] [] __dev_queue_xmit+0x2a8/0x3920 net/core/dev.c:4907 CPU: 1 UID: 0 PID: 15546 Comm: syz.6.3254 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x36a/0x4c0 kernel/sched/core.c:9197 might_alloc include/linux/sched/mm.h:322 [inline] slab_pre_alloc_hook mm/slub.c:4673 [inline] slab_alloc_node mm/slub.c:5011 [inline] kmem_cache_alloc_node_noprof+0x92/0x600 mm/slub.c:5105 __alloc_skb+0x1db/0x7a0 net/core/skbuff.c:704 alloc_skb include/linux/skbuff.h:1384 [inline] alloc_skb_with_frags+0xc6/0x760 net/core/skbuff.c:6799 tls_alloc_clrtxt_skb net/tls/tls_sw.c:1230 [inline] tls_decrypt_sg+0x3e8/0x3110 net/tls/tls_sw.c:1302 tls_decrypt_sw net/tls/tls_sw.c:1448 [inline] tls_rx_one_record+0x209/0x1950 net/tls/tls_sw.c:1574 tls_sw_read_sock+0x812/0x10e0 net/tls/tls_sw.c:2118 strp_read_sock net/strparser/strparser.c:-1 [inline] strp_data_ready+0x415/0x5c0 net/strparser/strparser.c:402 psock_data_ready+0xe0/0x250 net/kcm/kcmsock.c:362 tcp_data_queue+0x1e94/0x5fa0 net/ipv4/tcp_input.c:5712 tcp_rcv_established+0xb05/0x2940 net/ipv4/tcp_input.c:6709 tcp_v4_do_rcv+0x727/0x13b0 net/ipv4/tcp_ipv4.c:1854 tcp_v4_rcv+0x27d4/0x3170 net/ipv4/tcp_ipv4.c:2248 ip_protocol_deliver_rcu+0x21d/0x440 net/ipv4/ip_input.c:207 ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:325 __netif_receive_skb_one_core net/core/dev.c:6332 [inline] __netif_receive_skb net/core/dev.c:6445 [inline] process_backlog+0xa6b/0x18b0 net/core/dev.c:6796 __napi_poll+0xaa/0x330 net/core/dev.c:7865 napi_poll net/core/dev.c:7928 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8085 handle_softirqs+0x223/0x840 kernel/softirq.c:645 do_softirq+0x77/0xd0 kernel/softirq.c:546 __local_bh_enable_ip+0x100/0x140 kernel/softirq.c:473 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:923 [inline] __dev_queue_xmit+0x1efb/0x3920 net/core/dev.c:5028 dev_queue_xmit include/linux/netdevice.h:3459 [inline] neigh_hh_output include/net/neighbour.h:538 [inline] neigh_output include/net/neighbour.h:552 [inline] ip_finish_output2+0xbda/0x10b0 net/ipv4/ip_output.c:236 NF_HOOK_COND include/linux/netfilter.h:314 [inline] ip_output+0x29f/0x450 net/ipv4/ip_output.c:437 __ip_queue_xmit+0x10df/0x1b10 net/ipv4/ip_output.c:533 __tcp_transmit_skb+0x2d18/0x47c0 net/ipv4/tcp_output.c:1767 tcp_transmit_skb net/ipv4/tcp_output.c:1784 [inline] tcp_write_xmit+0x1cdf/0x6550 net/ipv4/tcp_output.c:3120 __tcp_push_pending_frames+0x96/0x380 net/ipv4/tcp_output.c:3303 tcp_sendmsg_locked+0x47da/0x5400 net/ipv4/tcp.c:1417 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1454 sock_sendmsg_nosec+0x10f/0x190 net/socket.c:801 __sock_sendmsg net/socket.c:818 [inline] __sys_sendto+0x408/0x5a0 net/socket.c:2283 __do_sys_sendto net/socket.c:2290 [inline] __se_sys_sendto net/socket.c:2286 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2286 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7efe4219e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efe43054028 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007efe42425fa0 RCX: 00007efe4219e159 RDX: 0000000000000025 RSI: 0000200000000400 RDI: 0000000000000004 RBP: 00007efe4223506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007efe42426038 R14: 00007efe42425fa0 R15: 00007ffcd066ec78