ntfs: (device loop3): parse_options(): Unrecognized mount option . ====================================================== WARNING: possible circular locking dependency detected 4.14.183-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.4/3192 is trying to acquire lock: (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}, at: [] spin_lock include/linux/spinlock.h:317 [inline] (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}, at: [] __dev_xmit_skb net/core/dev.c:3202 [inline] (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}, at: [] __dev_queue_xmit+0x1f48/0x25a0 net/core/dev.c:3493 but task is already holding lock: (_xmit_ETHER#2){+.-.}, at: [] spin_lock include/linux/spinlock.h:317 [inline] (_xmit_ETHER#2){+.-.}, at: [] __netif_tx_lock include/linux/netdevice.h:3536 [inline] (_xmit_ETHER#2){+.-.}, at: [] sch_direct_xmit+0x1db/0x4f0 net/sched/sch_generic.c:184 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (_xmit_ETHER#2){+.-.}: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] __netif_tx_lock include/linux/netdevice.h:3536 [inline] sch_direct_xmit+0x1db/0x4f0 net/sched/sch_generic.c:184 __dev_xmit_skb net/core/dev.c:3218 [inline] __dev_queue_xmit+0x1b8d/0x25a0 net/core/dev.c:3493 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0xac5/0x1430 net/ipv4/ip_output.c:229 ip_finish_output+0x471/0xc20 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1cd/0x510 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:462 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124 ip_send_skb+0x3a/0xc0 net/ipv4/ip_output.c:1422 udp_send_skb+0x622/0xba0 net/ipv4/udp.c:833 udp_sendmsg+0x1563/0x1b60 net/ipv4/udp.c:1057 inet_sendmsg+0x116/0x4d0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x349/0x840 net/socket.c:2062 __sys_sendmmsg+0x129/0x330 net/socket.c:2152 SYSC_sendmmsg net/socket.c:2183 [inline] SyS_sendmmsg+0x2f/0x50 net/socket.c:2178 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb -> #0 (dev->qdisc_tx_busylock ?: &qdisc_tx_busylock){+.-.}: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] __dev_xmit_skb net/core/dev.c:3202 [inline] __dev_queue_xmit+0x1f48/0x25a0 net/core/dev.c:3493 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0xac5/0x1430 net/ipv4/ip_output.c:229 ip_finish_output+0x471/0xc20 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1cd/0x510 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:462 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124 iptunnel_xmit+0x5cc/0x940 net/ipv4/ip_tunnel_core.c:91 ip_tunnel_xmit+0xed7/0x33b0 net/ipv4/ip_tunnel.c:797 erspan_xmit net/ipv4/ip_gre.c:750 [inline] erspan_xmit+0x442/0xfe0 net/ipv4/ip_gre.c:725 __netdev_start_xmit include/linux/netdevice.h:4039 [inline] netdev_start_xmit include/linux/netdevice.h:4048 [inline] xmit_one net/core/dev.c:3009 [inline] dev_hard_start_xmit+0x186/0x880 net/core/dev.c:3025 sch_direct_xmit+0x256/0x4f0 net/sched/sch_generic.c:186 __dev_xmit_skb net/core/dev.c:3218 [inline] __dev_queue_xmit+0x1b8d/0x25a0 net/core/dev.c:3493 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0xac5/0x1430 net/ipv4/ip_output.c:229 ip_finish_output+0x471/0xc20 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1cd/0x510 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:462 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124 ip_send_skb+0x3a/0xc0 net/ipv4/ip_output.c:1422 udp_send_skb+0x622/0xba0 net/ipv4/udp.c:833 udp_sendmsg+0x1563/0x1b60 net/ipv4/udp.c:1057 inet_sendmsg+0x116/0x4d0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x349/0x840 net/socket.c:2062 __sys_sendmmsg+0x129/0x330 net/socket.c:2152 SYSC_sendmmsg net/socket.c:2183 [inline] SyS_sendmmsg+0x2f/0x50 net/socket.c:2178 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(_xmit_ETHER#2); lock(dev->qdisc_tx_busylock ?: &qdisc_tx_busylock); lock(_xmit_ETHER#2); lock(dev->qdisc_tx_busylock ?: &qdisc_tx_busylock); *** DEADLOCK *** 6 locks held by syz-executor.4/3192: #0: (rcu_read_lock_bh){....}, at: [] lwtunnel_xmit_redirect include/net/lwtunnel.h:92 [inline] #0: (rcu_read_lock_bh){....}, at: [] ip_finish_output2+0x255/0x1430 net/ipv4/ip_output.c:213 #1: (rcu_read_lock_bh){....}, at: [] __dev_queue_xmit+0x1e2/0x25a0 net/core/dev.c:3459 #2: (dev->qdisc_running_key ?: &qdisc_running_key){+...}, at: [] neigh_hh_output include/net/neighbour.h:490 [inline] #2: (dev->qdisc_running_key ?: &qdisc_running_key){+...}, at: [] neigh_output include/net/neighbour.h:498 [inline] #2: (dev->qdisc_running_key ?: &qdisc_running_key){+...}, at: [] ip_finish_output2+0xac5/0x1430 net/ipv4/ip_output.c:229 #3: (_xmit_ETHER#2){+.-.}, at: [] spin_lock include/linux/spinlock.h:317 [inline] #3: (_xmit_ETHER#2){+.-.}, at: [] __netif_tx_lock include/linux/netdevice.h:3536 [inline] #3: (_xmit_ETHER#2){+.-.}, at: [] sch_direct_xmit+0x1db/0x4f0 net/sched/sch_generic.c:184 #4: (rcu_read_lock_bh){....}, at: [] lwtunnel_xmit_redirect include/net/lwtunnel.h:92 [inline] #4: (rcu_read_lock_bh){....}, at: [] ip_finish_output2+0x255/0x1430 net/ipv4/ip_output.c:213 #5: (rcu_read_lock_bh){....}, at: [] __dev_queue_xmit+0x1e2/0x25a0 net/core/dev.c:3459 stack backtrace: CPU: 1 PID: 3192 Comm: syz-executor.4 Not tainted 4.14.183-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_circular_bug.isra.0.cold+0x2dc/0x425 kernel/locking/lockdep.c:1258 check_prev_add kernel/locking/lockdep.c:1905 [inline] check_prevs_add kernel/locking/lockdep.c:2022 [inline] validate_chain kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x3057/0x42a0 kernel/locking/lockdep.c:3491 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] __dev_xmit_skb net/core/dev.c:3202 [inline] __dev_queue_xmit+0x1f48/0x25a0 net/core/dev.c:3493 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0xac5/0x1430 net/ipv4/ip_output.c:229 ip_finish_output+0x471/0xc20 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1cd/0x510 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:462 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124 iptunnel_xmit+0x5cc/0x940 net/ipv4/ip_tunnel_core.c:91 ip_tunnel_xmit+0xed7/0x33b0 net/ipv4/ip_tunnel.c:797 erspan_xmit net/ipv4/ip_gre.c:750 [inline] erspan_xmit+0x442/0xfe0 net/ipv4/ip_gre.c:725 __netdev_start_xmit include/linux/netdevice.h:4039 [inline] netdev_start_xmit include/linux/netdevice.h:4048 [inline] xmit_one net/core/dev.c:3009 [inline] dev_hard_start_xmit+0x186/0x880 net/core/dev.c:3025 sch_direct_xmit+0x256/0x4f0 net/sched/sch_generic.c:186 __dev_xmit_skb net/core/dev.c:3218 [inline] __dev_queue_xmit+0x1b8d/0x25a0 net/core/dev.c:3493 neigh_hh_output include/net/neighbour.h:490 [inline] neigh_output include/net/neighbour.h:498 [inline] ip_finish_output2+0xac5/0x1430 net/ipv4/ip_output.c:229 ip_finish_output+0x471/0xc20 net/ipv4/ip_output.c:317 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip_output+0x1cd/0x510 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:462 [inline] ip_local_out+0x93/0x170 net/ipv4/ip_output.c:124 ip_send_skb+0x3a/0xc0 net/ipv4/ip_output.c:1422 udp_send_skb+0x622/0xba0 net/ipv4/udp.c:833 udp_sendmsg+0x1563/0x1b60 net/ipv4/udp.c:1057 inet_sendmsg+0x116/0x4d0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x349/0x840 net/socket.c:2062 __sys_sendmmsg+0x129/0x330 net/socket.c:2152 SYSC_sendmmsg net/socket.c:2183 [inline] SyS_sendmmsg+0x2f/0x50 net/socket.c:2178 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ca69 RSP: 002b:00007f8421d20c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00000000004fcbe0 RCX: 000000000045ca69 RDX: 0400000000000075 RSI: 0000000020007fc0 RDI: 0000000000000005 RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000008ee R14: 00000000004cbbdf R15: 00007f8421d216d4 ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): ntfs_fill_super(): Unable to determine device size. __ntfs_error: 6 callbacks suppressed ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option casü†#ñè. ntfs: (device loop3): parse_options(): Unrecognized mount option casü†#ñè. ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option casîš®qnsitive. ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . ntfs: (device loop3): parse_options(): Unrecognized mount option . VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop3. VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop3.