kvm [22876]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000007 BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2582 in_atomic(): 1, irqs_disabled(): 1, pid: 22891, name: syz-executor.1 5 locks held by syz-executor.1/22891: #0: 00000000154f66ac (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000c09d63c2 (&tty->atomic_write_lock){+.+.}, at: tty_write_lock drivers/tty/tty_io.c:886 [inline] #1: 00000000c09d63c2 (&tty->atomic_write_lock){+.+.}, at: tty_send_xchar+0x1d9/0x3b0 drivers/tty/tty_io.c:1087 #2: 00000000449e8683 (&tty->termios_rwsem){++++}, at: tty_send_xchar+0x226/0x3b0 drivers/tty/tty_io.c:1090 #3: 00000000a93e4cf5 (&(&tty->flow_lock)->rlock){....}, at: start_tty+0x26/0x180 drivers/tty/tty_io.c:813 #4: 00000000154f66ac (&tty->ldisc_sem){++++}, at: tty_ldisc_ref+0x1d/0x80 drivers/tty/tty_ldisc.c:293 irq event stamp: 66 hardirqs last enabled at (65): [] do_syscall_64+0x21/0x620 arch/x86/entry/common.c:280 hardirqs last disabled at (66): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (66): [] _raw_spin_lock_irqsave+0x66/0xc0 kernel/locking/spinlock.c:152 softirqs last enabled at (0): [] copy_process.part.0+0x15b9/0x8260 kernel/fork.c:1855 softirqs last disabled at (0): [<0000000000000000>] (null) Preemption disabled at: [<0000000000000000>] (null) CPU: 0 PID: 22891 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 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6192 do_con_write+0x116/0x1d90 drivers/tty/vt/vt.c:2582 con_write+0x22/0xb0 drivers/tty/vt/vt.c:3146 n_hdlc_send_frames+0x278/0x470 drivers/tty/n_hdlc.c:403 n_hdlc_tty_wakeup+0xa0/0xc0 drivers/tty/n_hdlc.c:479 tty_wakeup+0xd4/0x110 drivers/tty/tty_io.c:534 __start_tty drivers/tty/tty_io.c:806 [inline] __start_tty drivers/tty/tty_io.c:799 [inline] start_tty+0x130/0x180 drivers/tty/tty_io.c:814 tty_send_xchar+0x2d2/0x3b0 drivers/tty/tty_io.c:1092 n_tty_ioctl_helper+0x18d/0x3a0 drivers/tty/tty_ioctl.c:927 n_hdlc_tty_ioctl+0x102/0x350 drivers/tty/n_hdlc.c:783 tty_ioctl+0x65d/0x15c0 drivers/tty/tty_io.c:2678 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 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:00007f0484c7c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000002 RSI: 000000000000540a RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd1219677f R14: 00007f0484c7c300 R15: 0000000000022000 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. netlink: 'syz-executor.2': attribute type 1 has an invalid length. IPv6: ADDRCONF(NETDEV_UP): bond1: link is not ready 8021q: adding VLAN 0 to HW filter on device bond1 bond1: The slave device specified does not support setting the MAC address Unknown ioctl 1074310944 Unknown ioctl 1074310944 netlink: 'syz-executor.2': attribute type 1 has an invalid length. bond2 (uninitialized): Released all slaves netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.4'. tmpfs: No value for mount option './bus' overlayfs: upperdir is in-use as upperdir/workdir of another mount, mount with '-o index=off' to override exclusive upperdir protection. gfs2: not a GFS2 filesystem ipt_CLUSTERIP: Please specify destination IP qnx6: invalid mount options. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. device veth3 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth3: link is not ready netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. device veth5 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): veth5: link is not ready audit: type=1804 audit(1625714078.821:31): pid=23187 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir729810488/syzkaller.SfRxgC/606/bus" dev="sda1" ino=14150 res=1 audit: type=1804 audit(1625714078.861:32): pid=23187 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir729810488/syzkaller.SfRxgC/606/bus" dev="sda1" ino=14150 res=1 ptrace attach of "/root/syz-executor.3"[23191] was attempted by "/root/syz-executor.3"[23201] audit: type=1800 audit(1625714079.181:33): pid=23224 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=14563 res=0 ptrace attach of "/root/syz-executor.3"[23228] was attempted by "/root/syz-executor.3"[23242] audit: type=1804 audit(1625714080.241:34): pid=23335 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir675292235/syzkaller.uiePU3/637/bus" dev="sda1" ino=14646 res=1 audit: type=1804 audit(1625714080.281:35): pid=23335 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir675292235/syzkaller.uiePU3/637/bus" dev="sda1" ino=14646 res=1 binder: 23357:23361 unknown command 0 binder: 23357:23361 ioctl c0306201 20000200 returned -22 audit: type=1804 audit(1625714080.471:36): pid=23363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir101628458/syzkaller.mKwt3y/62/bus" dev="sda1" ino=14579 res=1 audit: type=1804 audit(1625714080.471:37): pid=23363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir101628458/syzkaller.mKwt3y/62/bus" dev="sda1" ino=14579 res=1 audit: type=1804 audit(1625714080.481:38): pid=23363 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir101628458/syzkaller.mKwt3y/62/bus" dev="sda1" ino=14579 res=1 audit: type=1804 audit(1625714081.091:39): pid=23423 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir101628458/syzkaller.mKwt3y/63/cgroup.controllers" dev="sda1" ino=14711 res=1 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 112 bytes leftover after parsing attributes in process `syz-executor.4'. binder: 23546:23556 unknown command 0 binder: 23546:23556 ioctl c0306201 20000200 returned -22 binder: BINDER_SET_CONTEXT_MGR already set binder: 23546:23561 unknown command 0 binder: BINDER_SET_CONTEXT_MGR already set binder: 23546:23561 ioctl c0306201 20000200 returned -22 binder: 23546:23556 ioctl 40046207 0 returned -16 binder: 23546:23566 ioctl 40046207 0 returned -16