new mount options do not match the existing superblock, will be ignored ================================ WARNING: inconsistent lock state 4.19.196-syzkaller #0 Not tainted -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. syz-executor.1/20073 [HC0[0]:SC0[0]:HE1:SE1] takes: 0000000022f2f469 (slock-AF_BLUETOOTH-BTPROTO_SCO){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 0000000022f2f469 (slock-AF_BLUETOOTH-BTPROTO_SCO){+.?.}, at: sco_conn_del+0xe2/0x240 net/bluetooth/sco.c:175 {IN-SOFTIRQ-W} state was registered at: __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] sco_sock_timeout+0x31/0x210 net/bluetooth/sco.c:82 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] console_unlock+0xe7b/0x1110 kernel/printk/printk.c:2468 vprintk_emit+0x2d1/0x740 kernel/printk/printk.c:1965 vprintk_func+0x79/0x180 kernel/printk/printk_safe.c:405 printk+0xba/0xed kernel/printk/printk.c:2040 nla_parse.cold+0x26/0x2b lib/nlattr.c:267 nlmsg_parse include/net/netlink.h:398 [inline] rtnl_setlink+0x130/0x350 net/core/rtnetlink.c:2681 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225 __sys_sendmsg net/socket.c:2263 [inline] __do_sys_sendmsg net/socket.c:2272 [inline] __se_sys_sendmsg net/socket.c:2270 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2270 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe irq event stamp: 4241569 hardirqs last enabled at (4241569): [] kfree+0x110/0x210 mm/slab.c:3823 hardirqs last disabled at (4241568): [] kfree+0x6f/0x210 mm/slab.c:3816 softirqs last enabled at (4241398): [] spin_unlock_bh include/linux/spinlock.h:374 [inline] softirqs last enabled at (4241398): [] peernet2id+0x8f/0xc0 net/core/net_namespace.c:266 softirqs last disabled at (4241396): [] spin_lock_bh include/linux/spinlock.h:334 [inline] softirqs last disabled at (4241396): [] peernet2id+0x6f/0xc0 net/core/net_namespace.c:264 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(slock-AF_BLUETOOTH-BTPROTO_SCO); lock(slock-AF_BLUETOOTH-BTPROTO_SCO); *** DEADLOCK *** 4 locks held by syz-executor.1/20073: #0: 0000000020d4cefe (rfkill_global_mutex){+.+.}, at: rfkill_fop_write+0xfe/0x4a0 net/rfkill/core.c:1241 #1: 00000000ee6e679d (&hdev->req_lock){+.+.}, at: hci_dev_do_close+0x196/0xf10 net/bluetooth/hci_core.c:1623 #2: 000000003c61e2a3 (&hdev->lock){+.+.}, at: hci_dev_do_close+0x2e0/0xf10 net/bluetooth/hci_core.c:1660 #3: 00000000c824e38c (hci_cb_list_lock){+.+.}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1259 [inline] #3: 00000000c824e38c (hci_cb_list_lock){+.+.}, at: hci_conn_hash_flush+0xda/0x260 net/bluetooth/hci_conn.c:1512 stack backtrace: CPU: 1 PID: 20073 Comm: syz-executor.1 Not tainted 4.19.196-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_usage_bug.cold+0x42e/0x570 kernel/locking/lockdep.c:2545 valid_state kernel/locking/lockdep.c:2558 [inline] mark_lock_irq kernel/locking/lockdep.c:2752 [inline] mark_lock+0xc70/0x1160 kernel/locking/lockdep.c:3132 mark_irqflags kernel/locking/lockdep.c:3028 [inline] __lock_acquire+0x6a8/0x3ff0 kernel/locking/lockdep.c:3373 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] sco_conn_del+0xe2/0x240 net/bluetooth/sco.c:175 sco_disconn_cfm+0x74/0xb0 net/bluetooth/sco.c:1133 hci_disconn_cfm include/net/bluetooth/hci_core.h:1262 [inline] hci_conn_hash_flush+0x127/0x260 net/bluetooth/hci_conn.c:1512 hci_dev_do_close+0x659/0xf10 net/bluetooth/hci_core.c:1673 hci_rfkill_set_block+0xe7/0x160 net/bluetooth/hci_core.c:2107 rfkill_set_block+0x1f9/0x540 net/rfkill/core.c:353 rfkill_fop_write+0x250/0x4a0 net/rfkill/core.c:1249 __vfs_write+0xf7/0x770 fs/read_write.c:485 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0bc4760188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000008 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd16766f6f R14: 00007f0bc4760300 R15: 0000000000022000 new mount options do not match the existing superblock, will be ignored new mount options do not match the existing superblock, will be ignored audit: type=1800 audit(1625686970.727:50): pid=20398 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.3" name="SYSV00000000" dev="hugetlbfs" ino=32769 res=0 Process accounting resumed audit: type=1800 audit(1625686970.747:51): pid=20398 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.3" name="SYSV00000000" dev="hugetlbfs" ino=98307 res=0 Process accounting resumed audit: type=1804 audit(1625686970.817:52): pid=20403 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir348870791/syzkaller.BO4yfs/11/memory.events" dev="sda1" ino=14609 res=1 Process accounting resumed audit: type=1800 audit(1625686970.917:53): pid=20415 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.3" name="SYSV00000000" dev="hugetlbfs" ino=163844 res=0 Process accounting resumed Process accounting resumed Process accounting resumed audit: type=1800 audit(1625686970.927:54): pid=20420 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.5" name="SYSV00000000" dev="hugetlbfs" ino=32769 res=0 Process accounting resumed Process accounting resumed Process accounting resumed audit: type=1804 audit(1625686971.057:55): pid=20403 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir348870791/syzkaller.BO4yfs/11/memory.events" dev="sda1" ino=14609 res=1 Process accounting resumed Process accounting resumed audit: type=1800 audit(1625686971.197:56): pid=20440 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.3" name="SYSV00000000" dev="hugetlbfs" ino=229382 res=0 Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed audit: type=1800 audit(1625686971.227:57): pid=20439 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.4" name="SYSV00000000" dev="hugetlbfs" ino=32769 res=0 Process accounting resumed Process accounting resumed Process accounting resumed audit: type=1804 audit(1625686971.307:58): pid=20437 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir348870791/syzkaller.BO4yfs/12/memory.events" dev="sda1" ino=14810 res=1 Process accounting resumed audit: type=1800 audit(1625686971.347:59): pid=20444 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed comm="syz-executor.5" name="SYSV00000000" dev="hugetlbfs" ino=98306 res=0 Process accounting resumed Process accounting resumed Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 Process accounting resumed Process accounting resumed IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 kauditd_printk_skb: 34 callbacks suppressed audit: type=1804 audit(1625686975.787:94): pid=20824 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir545295565/syzkaller.aqT5oT/217/memory.events" dev="sda1" ino=14856 res=1 audit: type=1804 audit(1625686975.847:95): pid=20835 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir802853509/syzkaller.fsaK3T/265/memory.events" dev="sda1" ino=14857 res=1 audit: type=1804 audit(1625686975.937:96): pid=20830 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir215105480/syzkaller.bkGwwI/232/memory.events" dev="sda1" ino=14855 res=1 audit: type=1804 audit(1625686976.287:97): pid=20878 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir570619732/syzkaller.aAoV09/290/memory.events" dev="sda1" ino=14594 res=1 audit: type=1804 audit(1625686976.317:98): pid=20872 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir215105480/syzkaller.bkGwwI/233/memory.events" dev="sda1" ino=14857 res=1 audit: type=1804 audit(1625686976.357:99): pid=20874 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir802853509/syzkaller.fsaK3T/266/memory.events" dev="sda1" ino=14859 res=1 audit: type=1804 audit(1625686976.367:100): pid=20871 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir545295565/syzkaller.aqT5oT/218/memory.events" dev="sda1" ino=14853 res=1 audit: type=1804 audit(1625686976.467:101): pid=20882 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.1" name="/root/syzkaller-testdir545295565/syzkaller.aqT5oT/218/memory.events" dev="sda1" ino=14853 res=1 audit: type=1804 audit(1625686976.487:102): pid=20891 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir570619732/syzkaller.aAoV09/290/memory.events" dev="sda1" ino=14594 res=1 netlink: 176 bytes leftover after parsing attributes in process `syz-executor.3'. audit: type=1804 audit(1625686976.577:103): pid=20884 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.0" name="/root/syzkaller-testdir215105480/syzkaller.bkGwwI/233/memory.events" dev="sda1" ino=14857 res=1