sock: process `syz-executor4' is using obsolete setsockopt SO_BSDCOMPAT INFO: task syz-executor3:9902 blocked for more than 140 seconds. Not tainted 4.9.116-g0137ea2 #18 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D27656 9902 3877 0x00000004 ffff8801d8b2e000 ffff8801c6129f80 ffff8801c6129f80 ffff8801ca7e8000 ffff8801db321c18 ffff88019d31f650 ffffffff839ead0d dffffc0000000000 ffff8801d61fe3d0 ffff88019d31f610 00ff8801d8b2e8c0 ffff8801db3224e8 Call Trace: [] schedule+0x7f/0x1b0 kernel/sched/core.c:3553 [] d_wait_lookup fs/dcache.c:2455 [inline] [] d_alloc_parallel+0xeb2/0x17c0 fs/dcache.c:2537 [] lookup_slow+0x19c/0x470 fs/namei.c:1650 [] walk_component+0x716/0x1bb0 fs/namei.c:1784 [] lookup_last fs/namei.c:2266 [inline] [] path_lookupat.isra.41+0x186/0x410 fs/namei.c:2283 [] filename_lookup.part.55+0x177/0x370 fs/namei.c:2317 [] filename_lookup fs/namei.c:2310 [inline] [] user_path_at_empty+0x53/0x70 fs/namei.c:2578 [] user_path_at include/linux/namei.h:55 [inline] [] vfs_fstatat+0xc6/0x170 fs/stat.c:106 [] vfs_lstat fs/stat.c:129 [inline] [] SYSC_newlstat+0x89/0x100 fs/stat.c:283 [] SyS_newlstat+0x1d/0x30 fs/stat.c:277 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Showing all locks held in the system: 2 locks held by khungtaskd/519: #0: (rcu_read_lock){......}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline] #0: (rcu_read_lock){......}, at: [] watchdog+0x11c/0xa20 kernel/hung_task.c:239 #1: (tasklist_lock){.+.+..}, at: [] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336 2 locks held by rs:main Q:Reg/3672: #0: (&f->f_pos_lock){+.+.+.}, at: [] __fdget_pos+0xac/0xd0 fs/file.c:781 #1: (sb_writers#3){.+.+.+}, at: [] file_start_write include/linux/fs.h:2640 [inline] #1: (sb_writers#3){.+.+.+}, at: [] vfs_write+0x3ae/0x530 fs/read_write.c:556 2 locks held by getty/3771: #0: (&tty->ldisc_sem){++++++}, at: [] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+...}, at: [] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2142 1 lock held by syz-executor3/9902: #0: (&type->i_mutex_dir_key#5){.+.+.+}, at: [] inode_lock_shared include/linux/fs.h:776 [inline] #0: (&type->i_mutex_dir_key#5){.+.+.+}, at: [] lookup_slow+0x141/0x470 fs/namei.c:1645 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.116-g0137ea2 #18 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d8a87d08 ffffffff81eb46a9 0000000000000000 0000000000000000 0000000000000000 0000000000000001 ffffffff810b9bd0 ffff8801d8a87d40 ffffffff81ebf9a7 0000000000000000 0000000000000000 0000000000000003 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99 [] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60 [] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 [] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline] [] check_hung_task kernel/hung_task.c:125 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline] [] watchdog+0x6b4/0xa20 kernel/hung_task.c:239 [] kthread+0x26d/0x300 kernel/kthread.c:211 [] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9916 Comm: syz-executor3 Not tainted 4.9.116-g0137ea2 #18 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff880197b08000 task.stack: ffff88019dc08000 RIP: 0010:[] c [] atomic_cmpxchg arch/x86/include/asm/atomic.h:186 [inline] RIP: 0010:[] c [] queued_spin_lock include/asm-generic/qspinlock.h:100 [inline] RIP: 0010:[] c [] do_raw_spin_lock+0xbb/0x1b0 kernel/locking/spinlock_debug.c:113 RSP: 0018:ffff88019dc0f348 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8801c0a990c8 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffff880197b08918 RDI: ffff8801c0a990cc RBP: ffff88019dc0f368 R08: ffff880197b08938 R09: 0000000000000001 R10: ffff880197b08000 R11: 1ffff10032f61122 R12: ffff8801c0a990d0 R13: ffff8801c0a990d8 R14: ffff8801c0a990c8 R15: 0000000000000001 FS: 00007eff03257700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2038878000 CR3: 00000001cb596000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c0a990c8c 0000000000000296c ffff88019dc0f498c ffff8801c0a990c8c ffff88019dc0f390c ffffffff839fbb36c ffffffff812215bbc 1ffff10033b81e77c ffff88019dc0f418c ffff88019dc0f440c ffffffff812215bbc ffff88019dc0f3c8c Call Trace: [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] [] _raw_spin_lock_irqsave+0x56/0x62 kernel/locking/spinlock.c:159 [] prepare_to_wait_event+0x6b/0x450 kernel/sched/wait.c:213 [] request_wait_answer+0x22e/0x6e0 fs/fuse/dev.c:459 [] __fuse_request_send+0x109/0x1b0 fs/fuse/dev.c:480 [] fuse_request_send+0x5d/0x70 fs/fuse/dev.c:493 [] fuse_simple_request+0x2f4/0x660 fs/fuse/dev.c:551 [] fuse_lookup_name+0x253/0x5d0 fs/fuse/dir.c:369 [] fuse_lookup+0xed/0x3a0 fs/fuse/dir.c:406 [] lookup_slow+0x23e/0x470 fs/namei.c:1668 [] walk_component+0x716/0x1bb0 fs/namei.c:1784 [] lookup_last fs/namei.c:2266 [inline] [] path_lookupat.isra.41+0x186/0x410 fs/namei.c:2283 [] filename_lookup.part.55+0x177/0x370 fs/namei.c:2317 [] filename_lookup fs/namei.c:2310 [inline] [] user_path_at_empty+0x53/0x70 fs/namei.c:2578 [] user_path_at include/linux/namei.h:55 [inline] [] vfs_fstatat+0xc6/0x170 fs/stat.c:106 [] vfs_lstat fs/stat.c:129 [inline] [] SYSC_newlstat+0x89/0x100 fs/stat.c:283 [] SyS_newlstat+0x1d/0x30 fs/stat.c:277 [] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: c0f cb6 c04 c02 c84 cc0 c74 c08 c3c c03 c0f c8e cd1 c00 c00 c00 c65 c8b c05 c51 c2d cdd c7e c39 c43 c08 c0f c84 c9e c00 c00 c00 c31 cc0 cba c01 c00 c00 c00 cf0 c0f cb1 c13 c<85> cc0 c0f c85 c9d c00 c00 c00 c48 cb8 c00 c00 c00 c00 c00 cfc cff cdf c4c c89 ce2 c