ucma_write: process 1237 (syz-executor0) changed security contexts after opening file descriptor, this is not allowed. INFO: task syz-executor3:13894 blocked for more than 140 seconds. Not tainted 4.19.0-rc7-next-20181012+ #93 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23168 13894 5643 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 request_wait_answer+0x4a6/0x900 fs/fuse/dev.c:526 __fuse_request_send+0x12d/0x1d0 fs/fuse/dev.c:546 fuse_request_send+0x62/0xa0 fs/fuse/dev.c:559 fuse_simple_request+0x33d/0x730 fs/fuse/dev.c:617 fuse_lookup_name+0x3ee/0x830 fs/fuse/dir.c:308 fuse_lookup+0xff/0x3a0 fs/fuse/dir.c:346 __lookup_slow+0x2b5/0x540 fs/namei.c:1671 lookup_slow+0x57/0x80 fs/namei.c:1688 walk_component+0x92b/0x2590 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.43+0x212/0xc00 fs/namei.c:2318 filename_lookup+0x26a/0x520 fs/namei.c:2348 user_path_at_empty+0x40/0x50 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x129/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3162 [inline] __do_sys_newlstat+0x8f/0x110 fs/stat.c:352 __se_sys_newlstat fs/stat.c:346 [inline] __x64_sys_newlstat+0x54/0x80 fs/stat.c:346 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fa0f57d6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000020000680 RDI: 0000000020000200 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa0f57d76d4 R13: 00000000004c279a R14: 00000000004d3a38 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/981: #0: 000000008a0252d7 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4375 1 lock held by rsyslogd/5461: #0: 00000000f4054317 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5551: #0: 00000000959a326f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000a41d577f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5552: #0: 000000007f771086 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008001f485 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5553: #0: 00000000d10e9656 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000039d7ec44 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5554: #0: 000000008ebdbac4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000006facc61f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5555: #0: 000000002f23208a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000a5db23c1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5556: #0: 000000003df2b39c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e4403908 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5557: #0: 000000004a4d58c3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000bb78e7b1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by syz-executor3/13894: #0: 00000000b586037f (&type->i_mutex_dir_key#8){.+.+}, at: inode_lock_shared include/linux/fs.h:779 [inline] #0: 00000000b586037f (&type->i_mutex_dir_key#8){.+.+}, at: lookup_slow+0x49/0x80 fs/namei.c:1687 #1: 00000000241c2b48 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xba/0xf0 fs/fuse/inode.c:363 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 981 Comm: khungtaskd Not tainted 4.19.0-rc7-next-20181012+ #93 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+0x244/0x3ab lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb39/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.0-rc7-next-20181012+ #93 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_on+0x170/0x5b0 kernel/locking/lockdep.c:2798 Code: 58 0f 1f 44 00 00 f6 c4 02 0f 85 b5 03 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 83 e3 07 48 c1 ea 03 83 c3 03 0f b6 04 02 <38> c3 7c 08 84 c0 0f 85 ed 02 00 00 8b 3d 3e e3 8c 09 85 ff 0f 85 RSP: 0018:ffff8801dae072a0 EFLAGS: 00000006 RAX: 0000000000000004 RBX: 0000000000000003 RCX: ffffffff818491aa RDX: 1ffffffff15db29c RSI: ffffffff818491c4 RDI: ffffffff8931f5e8 RBP: ffff8801dae072b0 R08: ffffffff89276e80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff87bd1b22 R13: 0000000000000007 R14: ffffffff87bd1b22 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001bd774000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0xbd/0x310 kernel/trace/trace_preemptirq.c:30 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x82/0xd0 kernel/locking/spinlock.c:184 rq_unlock_irqrestore kernel/sched/sched.h:1142 [inline] update_blocked_averages+0x10fd/0x1e00 kernel/sched/fair.c:7412 _nohz_idle_balance+0x5ba/0x7a0 kernel/sched/fair.c:9440 nohz_idle_balance kernel/sched/fair.c:9493 [inline] run_rebalance_domains+0x2ec/0x500 kernel/sched/fair.c:9676 __do_softirq+0x30d/0xb26 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:413 scheduler_ipi+0x55a/0xad0 kernel/sched/core.c:1785 smp_reschedule_interrupt+0x109/0x650 arch/x86/kernel/smp.c:278 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:828 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57 Code: 45 d8 e8 3d ef 05 fa 48 8b 45 d8 e9 ca fe ff ff 48 89 df e8 2c ef 05 fa eb 82 90 90 90 90 90 90 90 90 90 90 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 90 90 90 90 90 RSP: 0018:ffffffff89207b88 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffffffff1240f75 RCX: 0000000000000000 RDX: 1ffffffff1263ec1 RSI: 0000000000000001 RDI: ffffffff8931f608 RBP: ffffffff89207b88 R08: ffffffff89276e80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89207c48 R13: ffffffff89f2c2e0 R14: 0000000000000000 R15: 0000000000000000 arch_safe_halt arch/x86/include/asm/paravirt.h:151 [inline] default_idle+0xbf/0x490 arch/x86/kernel/process.c:498 arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:489 default_idle_call+0x6d/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x49b/0x5c0 kernel/sched/idle.c:262 cpu_startup_entry+0x10c/0x120 kernel/sched/idle.c:368 rest_init+0x243/0x372 init/main.c:442 arch_call_rest_init+0xe/0x1b start_kernel+0x9f0/0xa2b init/main.c:744 x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:470 x86_64_start_kernel+0x76/0x79 arch/x86/kernel/head64.c:451 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243