IPv6 header not found IPv6 header not found ============================================ WARNING: possible recursive locking detected 4.19.211-syzkaller #0 Not tainted -------------------------------------------- syz-executor.3/15281 is trying to acquire lock: 000000002b7099cf (_xmit_ETHER#2){+.-.}, at: spin_lock include/linux/spinlock.h:329 [inline] 000000002b7099cf (_xmit_ETHER#2){+.-.}, at: __netif_tx_lock include/linux/netdevice.h:3842 [inline] 000000002b7099cf (_xmit_ETHER#2){+.-.}, at: sch_direct_xmit+0x254/0xf70 net/sched/sch_generic.c:330 but task is already holding lock: 000000007cb448f3 (_xmit_ETHER#2){+.-.}, at: spin_lock include/linux/spinlock.h:329 [inline] 000000007cb448f3 (_xmit_ETHER#2){+.-.}, at: __netif_tx_lock include/linux/netdevice.h:3842 [inline] 000000007cb448f3 (_xmit_ETHER#2){+.-.}, at: sch_direct_xmit+0x254/0xf70 net/sched/sch_generic.c:330 other info that might help us debug this: Possible unsafe locking scenario: overlayfs: upper fs does not support tmpfile. CPU0 ---- lock(_xmit_ETHER#2); lock(_xmit_ETHER#2); *** DEADLOCK *** May be due to missing lock nesting notation 15 locks held by syz-executor.3/15281: #0: 00000000d36d20fd (&pipe->mutex/1){+.+.}, at: pipe_lock_nested fs/pipe.c:77 [inline] #0: 00000000d36d20fd (&pipe->mutex/1){+.+.}, at: pipe_lock+0x63/0x80 fs/pipe.c:85 #1: 0000000026a66ce3 (rcu_read_lock){....}, at: l3mdev_l3_out include/net/l3mdev.h:172 [inline] #1: 0000000026a66ce3 (rcu_read_lock){....}, at: l3mdev_ip6_out include/net/l3mdev.h:193 [inline] #1: 0000000026a66ce3 (rcu_read_lock){....}, at: rawv6_send_hdrinc net/ipv6/raw.c:682 [inline] #1: 0000000026a66ce3 (rcu_read_lock){....}, at: rawv6_sendmsg+0x1e3d/0x36a0 net/ipv6/raw.c:947 #2: 00000000f29e34bc (rcu_read_lock_bh){....}, at: lwtunnel_xmit_redirect include/net/lwtunnel.h:92 [inline] #2: 00000000f29e34bc (rcu_read_lock_bh){....}, at: ip6_finish_output2+0x1f2/0x2290 net/ipv6/ip6_output.c:106 #3: 00000000f29e34bc (rcu_read_lock_bh){....}, at: __dev_queue_xmit+0x1e2/0x2e00 net/core/dev.c:3773 #4: 00000000dd41fe79 (&(&sch->seqlock)->rlock){+...}, at: spin_trylock include/linux/spinlock.h:339 [inline] #4: 00000000dd41fe79 (&(&sch->seqlock)->rlock){+...}, at: qdisc_run_begin include/net/sch_generic.h:130 [inline] #4: 00000000dd41fe79 (&(&sch->seqlock)->rlock){+...}, at: qdisc_run include/net/pkt_sched.h:119 [inline] #4: 00000000dd41fe79 (&(&sch->seqlock)->rlock){+...}, at: __dev_xmit_skb net/core/dev.c:3451 [inline] #4: 00000000dd41fe79 (&(&sch->seqlock)->rlock){+...}, at: __dev_queue_xmit+0x278b/0x2e00 net/core/dev.c:3807 #5: 000000003467d555 (dev->qdisc_running_key ?: &qdisc_running_key){+...}, at: neigh_resolve_output+0x55a/0x910 net/core/neighbour.c:1374 #6: 000000007cb448f3 (_xmit_ETHER#2){+.-.}, at: spin_lock include/linux/spinlock.h:329 [inline] #6: 000000007cb448f3 (_xmit_ETHER#2){+.-.}, at: __netif_tx_lock include/linux/netdevice.h:3842 [inline] #6: 000000007cb448f3 (_xmit_ETHER#2){+.-.}, at: sch_direct_xmit+0x254/0xf70 net/sched/sch_generic.c:330 #7: 000000008a88a199 (k-slock-AF_INET6){+.-.}, at: spin_trylock include/linux/spinlock.h:339 [inline] #7: 000000008a88a199 (k-slock-AF_INET6){+.-.}, at: icmpv6_xmit_lock net/ipv6/icmp.c:119 [inline] #7: 000000008a88a199 (k-slock-AF_INET6){+.-.}, at: icmp6_send+0x1086/0x22c0 net/ipv6/icmp.c:532 #8: 0000000026a66ce3 (rcu_read_lock){....}, at: icmp6_send+0x170b/0x22c0 net/ipv6/icmp.c:565 #9: 00000000f29e34bc (rcu_read_lock_bh){....}, at: lwtunnel_xmit_redirect include/net/lwtunnel.h:92 [inline] #9: 00000000f29e34bc (rcu_read_lock_bh){....}, at: ip6_finish_output2+0x1f2/0x2290 net/ipv6/ip6_output.c:106 #10: 0000000026a66ce3 (rcu_read_lock){....}, at: ip6_nd_hdr net/ipv6/ndisc.c:449 [inline] #10: 0000000026a66ce3 (rcu_read_lock){....}, at: ndisc_send_skb+0x857/0x1720 net/ipv6/ndisc.c:485 #11: 00000000f29e34bc (rcu_read_lock_bh){....}, at: lwtunnel_xmit_redirect include/net/lwtunnel.h:92 [inline] #11: 00000000f29e34bc (rcu_read_lock_bh){....}, at: ip6_finish_output2+0x1f2/0x2290 net/ipv6/ip6_output.c:106 #12: 00000000f29e34bc (rcu_read_lock_bh){....}, at: __dev_queue_xmit+0x1e2/0x2e00 net/core/dev.c:3773 #13: 00000000f01c1437 (&(&sch->seqlock)->rlock){+...}, at: spin_trylock include/linux/spinlock.h:339 [inline] #13: 00000000f01c1437 (&(&sch->seqlock)->rlock){+...}, at: qdisc_run_begin include/net/sch_generic.h:130 [inline] #13: 00000000f01c1437 (&(&sch->seqlock)->rlock){+...}, at: qdisc_run include/net/pkt_sched.h:119 [inline] #13: 00000000f01c1437 (&(&sch->seqlock)->rlock){+...}, at: __dev_xmit_skb net/core/dev.c:3451 [inline] #13: 00000000f01c1437 (&(&sch->seqlock)->rlock){+...}, at: __dev_queue_xmit+0x278b/0x2e00 net/core/dev.c:3807 #14: 00000000a3d2f05e (dev->qdisc_running_key ?: &qdisc_running_key){+...}, at: neigh_resolve_output+0x55a/0x910 net/core/neighbour.c:1374 stack backtrace: CPU: 0 PID: 15281 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_deadlock_bug kernel/locking/lockdep.c:1764 [inline] check_deadlock kernel/locking/lockdep.c:1808 [inline] validate_chain kernel/locking/lockdep.c:2404 [inline] __lock_acquire.cold+0x121/0x57e kernel/locking/lockdep.c:3416 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] __netif_tx_lock include/linux/netdevice.h:3842 [inline] sch_direct_xmit+0x254/0xf70 net/sched/sch_generic.c:330 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. qdisc_restart net/sched/sch_generic.c:395 [inline] __qdisc_run+0x4d0/0x1640 net/sched/sch_generic.c:403 overlayfs: NFS export requires "index=on", falling back to nfs_export=off. qdisc_run include/net/pkt_sched.h:120 [inline] __dev_xmit_skb net/core/dev.c:3451 [inline] __dev_queue_xmit+0x2102/0x2e00 net/core/dev.c:3807 neigh_resolve_output+0x55a/0x910 net/core/neighbour.c:1374 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x113d/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] ndisc_send_skb+0xa24/0x1720 net/ipv6/ndisc.c:491 ndisc_send_ns+0x51d/0x840 net/ipv6/ndisc.c:633 ndisc_solicit+0x2cd/0x500 net/ipv6/ndisc.c:725 neigh_probe+0xcc/0x110 net/core/neighbour.c:916 __neigh_event_send+0x387/0xf70 net/core/neighbour.c:1074 neigh_event_send include/net/neighbour.h:436 [inline] neigh_resolve_output+0x6d8/0x910 net/core/neighbour.c:1358 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x113d/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] ip6_local_out+0xaf/0x170 net/ipv6/output_core.c:160 ip6_send_skb+0xb3/0x300 net/ipv6/ip6_output.c:1741 ip6_push_pending_frames+0xbd/0xe0 net/ipv6/ip6_output.c:1761 icmpv6_push_pending_frames+0x294/0x470 net/ipv6/icmp.c:288 icmp6_send+0x1c0f/0x22c0 net/ipv6/icmp.c:584 __icmpv6_send include/linux/icmpv6.h:28 [inline] icmpv6_send include/linux/icmpv6.h:49 [inline] ip6_link_failure+0x2d/0x4f0 net/ipv6/route.c:2297 dst_link_failure include/net/dst.h:438 [inline] ip_tunnel_xmit+0x19d2/0x3850 net/ipv4/ip_tunnel.c:796 erspan_xmit+0xd6e/0x27e0 net/ipv4/ip_gre.c:759 __netdev_start_xmit include/linux/netdevice.h:4349 [inline] netdev_start_xmit include/linux/netdevice.h:4363 [inline] xmit_one net/core/dev.c:3256 [inline] dev_hard_start_xmit+0x1a8/0x920 net/core/dev.c:3272 sch_direct_xmit+0x2d6/0xf70 net/sched/sch_generic.c:332 qdisc_restart net/sched/sch_generic.c:395 [inline] __qdisc_run+0x4d0/0x1640 net/sched/sch_generic.c:403 qdisc_run include/net/pkt_sched.h:120 [inline] __dev_xmit_skb net/core/dev.c:3451 [inline] __dev_queue_xmit+0x2102/0x2e00 net/core/dev.c:3807 neigh_resolve_output+0x55a/0x910 net/core/neighbour.c:1374 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x113d/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] rawv6_send_hdrinc net/ipv6/raw.c:692 [inline] rawv6_sendmsg+0x202c/0x36a0 net/ipv6/raw.c:947 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 sock_no_sendpage+0xf5/0x140 net/core/sock.c:2686 kernel_sendpage net/socket.c:3585 [inline] sock_sendpage+0xdf/0x140 net/socket.c:912 pipe_to_sendpage+0x268/0x330 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x389/0x800 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0xd4/0x140 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8c3996c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007f8c37ede168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f8c39a8bf80 RCX: 00007f8c3996c0c9 RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f8c399c7ae9 R08: 0000000000000800 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff8d9ea14f R14: 00007f8c37ede300 R15: 0000000000022000 syz-executor.3 (15281) used greatest stack depth: 20488 bytes left overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. IPv6 header not found IPv6 header not found overlayfs: NFS export requires "index=on", falling back to nfs_export=off. IPv6 header not found IPv6 header not found overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. IPv6 header not found IPv6 header not found overlayfs: NFS export requires "index=on", falling back to nfs_export=off. syz-executor.0 (15337) used greatest stack depth: 20392 bytes left IPv6 header not found IPv6 header not found IPv6 header not found IPv6 header not found overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. IPv6 header not found IPv6 header not found overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. overlayfs: upper fs does not support tmpfile. kauditd_printk_skb: 5 callbacks suppressed audit: type=1800 audit(1675521707.350:26920): pid=15585 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=14641 res=0 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. overlayfs: upper fs does not support tmpfile. audit: type=1800 audit(1675521707.420:26921): pid=15596 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=14667 res=0 overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. audit: type=1800 audit(1675521707.520:26922): pid=15612 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=14672 res=0 audit: type=1800 audit(1675521707.650:26923): pid=15628 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file0" dev="sda1" ino=14294 res=0 overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: upper fs does not support tmpfile. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off. overlayfs: NFS export requires "index=on", falling back to nfs_export=off. net_ratelimit: 71 callbacks suppressed GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog xt_CONNSECMARK: invalid mode: 0 GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog xt_CONNSECMARK: invalid mode: 0 xt_CONNSECMARK: invalid mode: 0 xt_CONNSECMARK: invalid mode: 0 GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. device bond0 entered promiscuous mode PM: Image not found (code -22) device bond_slave_0 entered promiscuous mode device bond_slave_1 entered promiscuous mode device bond1 entered promiscuous mode device bond2 entered promiscuous mode device bond3 entered promiscuous mode netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. PM: Image not found (code -22) PM: Image not found (code -22) netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. PM: Image not found (code -22)