XFS (loop5): Invalid superblock magic number BUG: sleeping function called from invalid context at kernel/locking/mutex.c:908 in_atomic(): 1, irqs_disabled(): 0, pid: 8174, name: syz-fuzzer 1 lock held by syz-fuzzer/8174: #0: 000000001ab42ba8 ((&sp->resync_t)){+.-.}, at: lockdep_copy_map include/linux/lockdep.h:168 [inline] #0: 000000001ab42ba8 ((&sp->resync_t)){+.-.}, at: call_timer_fn+0xda/0x720 kernel/time/timer.c:1316 Preemption disabled at: [] __do_softirq+0xf3/0x921 kernel/softirq.c:269 CPU: 1 PID: 8174 Comm: syz-fuzzer Not tainted 4.19.100-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+0x197/0x210 lib/dump_stack.c:118 ___might_sleep.cold+0x1bd/0x1f6 kernel/sched/core.c:6192 __might_sleep+0x95/0x190 kernel/sched/core.c:6145 __mutex_lock_common kernel/locking/mutex.c:908 [inline] __mutex_lock+0xc8/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 tpk_write+0x5d/0x340 drivers/char/ttyprintk.c:123 resync_tnc+0x1b6/0x320 drivers/net/hamradio/6pack.c:522 call_timer_fn+0x18d/0x720 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers kernel/time/timer.c:1684 [inline] __run_timers kernel/time/timer.c:1652 [inline] run_timer_softirq+0x64f/0x16a0 kernel/time/timer.c:1697 __do_softirq+0x25c/0x921 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13b/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0033:0x6fde79 Code: e2 48 89 94 24 a0 00 00 00 48 8d 05 e1 ed 13 00 48 89 04 24 e8 a8 29 d1 ff 48 8b 44 24 08 48 8b 8c 24 a0 00 00 00 48 8b 51 08 <48> 8b 19 48 8b 49 10 48 89 18 48 89 48 10 8b 0d 43 30 75 01 48 8d RSP: 002b:000000c445afc3a0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: 000000c43da4f060 RBX: 0000000000000018 RCX: 000000c425d069c0 RDX: 00000000016b8e00 RSI: 000000c000000000 RDI: 000000c43da4f060 RBP: 000000c445afc4a8 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000009e7396 R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000018 R14: 0000000000000013 R15: 0000000000000100 ================================ WARNING: inconsistent lock state 4.19.100-syzkaller #0 Tainted: G W -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-fuzzer/8174 [HC0[0]:SC1[1]:HE1:SE0] takes: 000000009ebd50e7 (&tpk_port.port_write_mutex){+.?.}, at: tpk_write+0x5d/0x340 drivers/char/ttyprintk.c:123 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3903 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0xf7/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 tpk_write+0x5d/0x340 drivers/char/ttyprintk.c:123 tnc_init drivers/net/hamradio/6pack.c:536 [inline] sixpack_open+0x9d3/0xbf5 drivers/net/hamradio/6pack.c:632 tty_ldisc_open.isra.0+0x89/0xd0 drivers/tty/tty_ldisc.c:469 tty_set_ldisc+0x2d7/0x690 drivers/tty/tty_ldisc.c:594 tiocsetd drivers/tty/tty_io.c:2359 [inline] tty_ioctl+0x65e/0x1510 drivers/tty/tty_io.c:2603 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe irq event stamp: 9172960 hardirqs last enabled at (9172960): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (9172959): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (9172194): [] __do_softirq+0x633/0x921 kernel/softirq.c:318 softirqs last disabled at (9172885): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (9172885): [] irq_exit+0x180/0x1d0 kernel/softirq.c:412 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&tpk_port.port_write_mutex); lock(&tpk_port.port_write_mutex); *** DEADLOCK *** 1 lock held by syz-fuzzer/8174: #0: 000000001ab42ba8 ((&sp->resync_t)){+.-.}, at: lockdep_copy_map include/linux/lockdep.h:168 [inline] #0: 000000001ab42ba8 ((&sp->resync_t)){+.-.}, at: call_timer_fn+0xda/0x720 kernel/time/timer.c:1316 stack backtrace: CPU: 1 PID: 8174 Comm: syz-fuzzer Tainted: G W 4.19.100-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+0x197/0x210 lib/dump_stack.c:118 print_usage_bug.cold+0x330/0x42a kernel/locking/lockdep.c:2540 valid_state kernel/locking/lockdep.c:2553 [inline] mark_lock_irq kernel/locking/lockdep.c:2747 [inline] mark_lock+0xd1b/0x1370 kernel/locking/lockdep.c:3127 mark_irqflags kernel/locking/lockdep.c:3005 [inline] __lock_acquire+0xc62/0x49c0 kernel/locking/lockdep.c:3368 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3903 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0xf7/0x1300 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 tpk_write+0x5d/0x340 drivers/char/ttyprintk.c:123 resync_tnc+0x1b6/0x320 drivers/net/hamradio/6pack.c:522 call_timer_fn+0x18d/0x720 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers kernel/time/timer.c:1684 [inline] __run_timers kernel/time/timer.c:1652 [inline] run_timer_softirq+0x64f/0x16a0 kernel/time/timer.c:1697 __do_softirq+0x25c/0x921 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x13b/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0033:0x6fde79 Code: e2 48 89 94 24 a0 00 00 00 48 8d 05 e1 ed 13 00 48 89 04 24 e8 a8 29 d1 ff 48 8b 44 24 08 48 8b 8c 24 a0 00 00 00 48 8b 51 08 <48> 8b 19 48 8b 49 10 48 89 18 48 89 48 10 8b 0d 43 30 75 01 48 8d RSP: 002b:000000c445afc3a0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: 000000c43da4f060 RBX: 0000000000000018 RCX: 000000c425d069c0 RDX: 00000000016b8e00 RSI: 000000c000000000 RDI: 000000c43da4f060 RBP: 000000c445afc4a8 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000009e7396 R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000018 R14: 0000000000000013 R15: 0000000000000100 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 audit: type=1800 audit(1580468669.272:157): pid=15030 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed comm="syz-executor.0" name="SYSV00000000" dev="hugetlbfs" ino=0 res=0 [U] è`è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 ISOFS: Unable to identify CD-ROM format. sp0: Synchronizing with TNC [U] è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 FAT-fs (loop0): Unrecognized mount option "check" or missing value sp0: Synchronizing with TNC FAT-fs (loop0): Unrecognized mount option "check" or missing value 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. [U] è FAT-fs (loop0): Unrecognized mount option "check" or missing value A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. FAT-fs (loop0): Unrecognized mount option "check" or missing value 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC FAT-fs (loop0): Unrecognized mount option "check" or missing value 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC FAT-fs (loop0): Unrecognized mount option "check" or missing value 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 [U] èèè 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 [U] è sp0: Synchronizing with TNC [U] è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 [U] è FAT-fs (loop0): Unrecognized mount option "check" or missing value 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 FAT-fs (loop0): Unrecognized mount option "check" or missing value 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 [U] è FAT-fs (loop0): bogus number of reserved sectors FAT-fs (loop0): Can't find a valid FAT filesystem 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC [U] è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC [U] è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 [U] è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 [U] è 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 sp0: Synchronizing with TNC [U] è cgroup: fork rejected by pids controller in /syz5 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0 IPv6: ADDRCONF(NETDEV_CHANGE): vcan0: link becomes ready 9pnet: Could not find request transport: ‡yÞ”Ètpport=0x00000000ø0