RDX: 0000000000000003 RSI: 000000000000540a RDI: 0000000000000003 RBP: 00007f036c8461d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff9619f01f R14: 00007f036c846300 R15: 0000000000022000 ====================================================== WARNING: possible circular locking dependency detected 4.14.218-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.3/27098 is trying to acquire lock: (console_owner){-.-.}, at: [] console_trylock_spinning syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1658 [inline] (console_owner){-.-.}, at: [] vprintk_emit+0x32a/0x620 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1922 but task is already holding lock: (&(&port->lock)->rlock){-.-.}, at: [] pty_write+0xdb/0x1d0 syzkaller/managers/linux-4-14/kernel/drivers/tty/pty.c:120 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&(&port->lock)->rlock){-.-.}: __raw_spin_lock_irqsave syzkaller/managers/linux-4-14/kernel/./include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 syzkaller/managers/linux-4-14/kernel/kernel/locking/spinlock.c:160 tty_port_tty_get+0x1d/0x80 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_port.c:288 tty_port_default_wakeup+0x11/0x40 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_port.c:46 serial8250_tx_chars+0x3fe/0xbf0 syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_port.c:1810 serial8250_handle_irq.part.0+0x28d/0x330 syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_port.c:1897 serial8250_handle_irq syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_port.c:1870 [inline] serial8250_default_handle_irq+0x8a/0x1f0 syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_port.c:1913 serial8250_interrupt+0xf3/0x210 syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_core.c:129 __handle_irq_event_percpu+0xee/0x7f0 syzkaller/managers/linux-4-14/kernel/kernel/irq/handle.c:147 handle_irq_event_percpu syzkaller/managers/linux-4-14/kernel/kernel/irq/handle.c:187 [inline] handle_irq_event+0xf0/0x250 syzkaller/managers/linux-4-14/kernel/kernel/irq/handle.c:204 handle_edge_irq+0x224/0xc40 syzkaller/managers/linux-4-14/kernel/kernel/irq/chip.c:770 generic_handle_irq_desc syzkaller/managers/linux-4-14/kernel/./include/linux/irqdesc.h:159 [inline] handle_irq+0x35/0x50 syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/irq_64.c:87 do_IRQ+0x93/0x1d0 syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/irq.c:230 ret_from_intr+0x0/0x1e native_safe_halt+0xe/0x10 syzkaller/managers/linux-4-14/kernel/./arch/x86/include/asm/irqflags.h:60 arch_safe_halt syzkaller/managers/linux-4-14/kernel/./arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0x47/0x370 syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/process.c:558 cpuidle_idle_call syzkaller/managers/linux-4-14/kernel/kernel/sched/idle.c:156 [inline] do_idle+0x250/0x3c0 syzkaller/managers/linux-4-14/kernel/kernel/sched/idle.c:246 cpu_startup_entry+0x14/0x20 syzkaller/managers/linux-4-14/kernel/kernel/sched/idle.c:351 start_kernel+0x750/0x770 syzkaller/managers/linux-4-14/kernel/init/main.c:708 secondary_startup_64+0xa5/0xb0 syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/head_64.S:240 -> #1 (&port_lock_key){-.-.}: __raw_spin_lock_irqsave syzkaller/managers/linux-4-14/kernel/./include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 syzkaller/managers/linux-4-14/kernel/kernel/locking/spinlock.c:160 serial8250_console_write+0x7a7/0x9d0 syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_port.c:3253 call_console_drivers syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1725 [inline] console_unlock+0x99d/0xf20 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:2400 vprintk_emit+0x224/0x620 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1923 vprintk_func+0x58/0x160 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk_safe.c:401 printk+0x9e/0xbc syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1996 register_console+0x6f4/0xad0 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:2719 univ8250_console_init+0x2f/0x3a syzkaller/managers/linux-4-14/kernel/drivers/tty/serial/8250/8250_core.c:691 console_init+0x46/0x53 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:2800 start_kernel+0x52e/0x770 syzkaller/managers/linux-4-14/kernel/init/main.c:634 secondary_startup_64+0xa5/0xb0 syzkaller/managers/linux-4-14/kernel/arch/x86/kernel/head_64.S:240 -> #0 (console_owner){-.-.}: lock_acquire+0x170/0x3f0 syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:3998 console_trylock_spinning syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1679 [inline] vprintk_emit+0x367/0x620 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1922 vprintk_func+0x58/0x160 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk_safe.c:401 printk+0x9e/0xbc syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1996 fail_dump syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:44 [inline] should_fail.cold+0xdf/0x149 syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:149 should_failslab+0xd6/0x130 syzkaller/managers/linux-4-14/kernel/mm/failslab.c:32 slab_pre_alloc_hook syzkaller/managers/linux-4-14/kernel/mm/slab.h:421 [inline] slab_alloc syzkaller/managers/linux-4-14/kernel/mm/slab.c:3376 [inline] __do_kmalloc syzkaller/managers/linux-4-14/kernel/mm/slab.c:3718 [inline] __kmalloc+0x6d/0x400 syzkaller/managers/linux-4-14/kernel/mm/slab.c:3729 kmalloc syzkaller/managers/linux-4-14/kernel/./include/linux/slab.h:493 [inline] tty_buffer_alloc+0xc0/0x270 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_buffer.c:169 __tty_buffer_request_room+0x12c/0x290 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_buffer.c:267 tty_insert_flip_string_fixed_flag+0x8b/0x210 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_buffer.c:312 tty_insert_flip_string syzkaller/managers/linux-4-14/kernel/./include/linux/tty_flip.h:37 [inline] pty_write+0x10d/0x1d0 syzkaller/managers/linux-4-14/kernel/drivers/tty/pty.c:122 tty_send_xchar+0x2d5/0x360 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:1092 n_tty_ioctl_helper+0x145/0x350 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_ioctl.c:926 n_tty_ioctl+0x47/0x2e0 syzkaller/managers/linux-4-14/kernel/drivers/tty/n_tty.c:2466 tty_ioctl+0x5af/0x13c0 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:2670 vfs_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:46 [inline] file_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:684 SYSC_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb other info that might help us debug this: Chain exists of: console_owner --> &port_lock_key --> &(&port->lock)->rlock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&(&port->lock)->rlock); lock(&port_lock_key); lock(&(&port->lock)->rlock); lock(console_owner); *** DEADLOCK *** 4 locks held by syz-executor.3/27098: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_ldisc.c:284 #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write_lock syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:885 [inline] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_send_xchar+0x1b5/0x360 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:1086 #2: (&o_tty->termios_rwsem/1){++++}, at: [] tty_send_xchar+0x1e8/0x360 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:1089 #3: (&(&port->lock)->rlock){-.-.}, at: [] pty_write+0xdb/0x1d0 syzkaller/managers/linux-4-14/kernel/drivers/tty/pty.c:120 stack backtrace: CPU: 0 PID: 27098 Comm: syz-executor.3 Not tainted 4.14.218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:58 print_circular_bug.constprop.0.cold+0x2d7/0x41e syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:1258 check_prev_add syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:1905 [inline] check_prevs_add syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:2022 [inline] validate_chain syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x2e0e/0x3f20 syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:3491 lock_acquire+0x170/0x3f0 syzkaller/managers/linux-4-14/kernel/kernel/locking/lockdep.c:3998 console_trylock_spinning syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1679 [inline] vprintk_emit+0x367/0x620 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1922 vprintk_func+0x58/0x160 syzkaller/managers/linux-4-14/kernel/kernel/printk/printk_safe.c:401 printk+0x9e/0xbc syzkaller/managers/linux-4-14/kernel/kernel/printk/printk.c:1996 fail_dump syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:44 [inline] should_fail.cold+0xdf/0x149 syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:149 should_failslab+0xd6/0x130 syzkaller/managers/linux-4-14/kernel/mm/failslab.c:32 slab_pre_alloc_hook syzkaller/managers/linux-4-14/kernel/mm/slab.h:421 [inline] slab_alloc syzkaller/managers/linux-4-14/kernel/mm/slab.c:3376 [inline] __do_kmalloc syzkaller/managers/linux-4-14/kernel/mm/slab.c:3718 [inline] __kmalloc+0x6d/0x400 syzkaller/managers/linux-4-14/kernel/mm/slab.c:3729 kmalloc syzkaller/managers/linux-4-14/kernel/./include/linux/slab.h:493 [inline] tty_buffer_alloc+0xc0/0x270 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_buffer.c:169 __tty_buffer_request_room+0x12c/0x290 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_buffer.c:267 tty_insert_flip_string_fixed_flag+0x8b/0x210 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_buffer.c:312 tty_insert_flip_string syzkaller/managers/linux-4-14/kernel/./include/linux/tty_flip.h:37 [inline] pty_write+0x10d/0x1d0 syzkaller/managers/linux-4-14/kernel/drivers/tty/pty.c:122 tty_send_xchar+0x2d5/0x360 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:1092 n_tty_ioctl_helper+0x145/0x350 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_ioctl.c:926 n_tty_ioctl+0x47/0x2e0 syzkaller/managers/linux-4-14/kernel/drivers/tty/n_tty.c:2466 tty_ioctl+0x5af/0x13c0 syzkaller/managers/linux-4-14/kernel/drivers/tty/tty_io.c:2670 vfs_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:46 [inline] file_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:684 SYSC_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465b09 RSP: 002b:00007f036c846188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000000000003 RSI: 000000000000540a RDI: 0000000000000003 RBP: 00007f036c8461d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff9619f01f R14: 00007f036c846300 R15: 0000000000022000 audit: type=1800 audit(1612633871.894:17653): pid=27112 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor.0" name="file0" dev="loop0" ino=131 res=0 CPU: 1 PID: 27105 Comm: syz-executor.4 Not tainted 4.14.218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:58 fail_dump syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:149 should_failslab+0xd6/0x130 syzkaller/managers/linux-4-14/kernel/mm/failslab.c:32 slab_pre_alloc_hook syzkaller/managers/linux-4-14/kernel/mm/slab.h:421 [inline] slab_alloc_node syzkaller/managers/linux-4-14/kernel/mm/slab.c:3297 [inline] kmem_cache_alloc_node+0x263/0x410 syzkaller/managers/linux-4-14/kernel/mm/slab.c:3640 __alloc_skb+0x5c/0x510 syzkaller/managers/linux-4-14/kernel/net/core/skbuff.c:193 alloc_skb syzkaller/managers/linux-4-14/kernel/./include/linux/skbuff.h:980 [inline] pfkey_sendmsg+0x129/0x6f0 syzkaller/managers/linux-4-14/kernel/net/key/af_key.c:3671 sock_sendmsg_nosec syzkaller/managers/linux-4-14/kernel/net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 syzkaller/managers/linux-4-14/kernel/net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 syzkaller/managers/linux-4-14/kernel/net/socket.c:2062 __sys_sendmsg+0xa3/0x120 syzkaller/managers/linux-4-14/kernel/net/socket.c:2096 SYSC_sendmsg syzkaller/managers/linux-4-14/kernel/net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 syzkaller/managers/linux-4-14/kernel/net/socket.c:2103 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465b09 RSP: 002b:00007f2563cf4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f2563cf41d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc6684446f R14: 00007f2563cf4300 R15: 0000000000022000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 27125 Comm: syz-executor.5 Not tainted 4.14.218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:58 fail_dump syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:149 should_failslab+0xd6/0x130 syzkaller/managers/linux-4-14/kernel/mm/failslab.c:32 slab_pre_alloc_hook syzkaller/managers/linux-4-14/kernel/mm/slab.h:421 [inline] slab_alloc syzkaller/managers/linux-4-14/kernel/mm/slab.c:3376 [inline] kmem_cache_alloc_trace+0x29a/0x3d0 syzkaller/managers/linux-4-14/kernel/mm/slab.c:3616 kmalloc syzkaller/managers/linux-4-14/kernel/./include/linux/slab.h:488 [inline] snd_pcm_oss_change_params_locked+0x192/0x3530 syzkaller/managers/linux-4-14/kernel/sound/core/oss/pcm_oss.c:867 snd_pcm_oss_change_params syzkaller/managers/linux-4-14/kernel/sound/core/oss/pcm_oss.c:1108 [inline] snd_pcm_oss_get_active_substream+0x128/0x190 syzkaller/managers/linux-4-14/kernel/sound/core/oss/pcm_oss.c:1125 snd_pcm_oss_get_channels syzkaller/managers/linux-4-14/kernel/sound/core/oss/pcm_oss.c:1812 [inline] snd_pcm_oss_set_channels+0x1bf/0x2e0 syzkaller/managers/linux-4-14/kernel/sound/core/oss/pcm_oss.c:1804 snd_pcm_oss_ioctl+0xd5b/0x2d20 syzkaller/managers/linux-4-14/kernel/sound/core/oss/pcm_oss.c:2654 vfs_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:46 [inline] file_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:684 SYSC_ioctl syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 syzkaller/managers/linux-4-14/kernel/fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465b09 RSP: 002b:00007fb0e3517188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000020000040 RSI: 00000000c0045006 RDI: 0000000000000003 RBP: 00007fb0e35171d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffed5a1e3cf R14: 00007fb0e3517300 R15: 0000000000022000 CPU: 1 PID: 27131 Comm: syz-executor.4 Not tainted 4.14.218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 syzkaller/managers/linux-4-14/kernel/lib/dump_stack.c:58 fail_dump syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 syzkaller/managers/linux-4-14/kernel/lib/fault-inject.c:149 should_failslab+0xd6/0x130 syzkaller/managers/linux-4-14/kernel/mm/failslab.c:32 slab_pre_alloc_hook syzkaller/managers/linux-4-14/kernel/mm/slab.h:421 [inline] slab_alloc_node syzkaller/managers/linux-4-14/kernel/mm/slab.c:3297 [inline] kmem_cache_alloc_node_trace+0x25a/0x400 syzkaller/managers/linux-4-14/kernel/mm/slab.c:3659 __do_kmalloc_node syzkaller/managers/linux-4-14/kernel/mm/slab.c:3681 [inline] __kmalloc_node_track_caller+0x38/0x70 syzkaller/managers/linux-4-14/kernel/mm/slab.c:3696 __kmalloc_reserve syzkaller/managers/linux-4-14/kernel/net/core/skbuff.c:137 [inline] __alloc_skb+0x96/0x510 syzkaller/managers/linux-4-14/kernel/net/core/skbuff.c:205 alloc_skb syzkaller/managers/linux-4-14/kernel/./include/linux/skbuff.h:980 [inline] pfkey_sendmsg+0x129/0x6f0 syzkaller/managers/linux-4-14/kernel/net/key/af_key.c:3671 sock_sendmsg_nosec syzkaller/managers/linux-4-14/kernel/net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 syzkaller/managers/linux-4-14/kernel/net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 syzkaller/managers/linux-4-14/kernel/net/socket.c:2062 __sys_sendmsg+0xa3/0x120 syzkaller/managers/linux-4-14/kernel/net/socket.c:2096 SYSC_sendmsg syzkaller/managers/linux-4-14/kernel/net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 syzkaller/managers/linux-4-14/kernel/net/socket.c:2103 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465b09 RSP: 002b:00007f2563cf4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f2563cf41d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc6684446f R14: 00007f2563cf4300 R15: 0000000000022000 audit: type=1804 audit(1612633875.785:17654): pid=27291 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir328148245/syzkaller.uwRowk/1751/file0" dev="sda1" ino=16362 res=1 Unknown ioctl -1073459191 UBIFS error (pid: 27291): cannot open "/dev/loop5", error -22 Unknown ioctl -1073459191 print_req_error: I/O error, dev loop5, sector 0 audit: type=1804 audit(1612633875.875:17655): pid=27291 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.5" name="/root/syzkaller-testdir328148245/syzkaller.uwRowk/1751/file0" dev="sda1" ino=16362 res=1 UBIFS error (pid: 27316): cannot open "/dev/loop5", error -22 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. audit: type=1804 audit(1612633875.905:17656): pid=27291 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir328148245/syzkaller.uwRowk/1751/file0" dev="sda1" ino=16362 res=1 audit: type=1804 audit(1612633875.915:17657): pid=27316 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.5" name="/root/syzkaller-testdir328148245/syzkaller.uwRowk/1751/file0" dev="sda1" ino=16362 res=1 IPv6: ADDRCONF(NETDEV_UP): bond1: link is not ready 8021q: adding VLAN 0 to HW filter on device bond1 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'. UBIFS error (pid: 27384): cannot open "/dev/loop1", error -22 print_req_error: I/O error, dev loop1, sector 0