INFO: task syz-executor3:9933 blocked for more than 140 seconds. Not tainted 4.20.0-next-20190107 #6 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D27272 9933 8078 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x897/0x1e60 kernel/sched/core.c:3472 schedule+0xfe/0x350 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xa3b/0x1670 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 process_measurement+0x41c/0x1be0 security/integrity/ima/ima_main.c:226 ima_file_mmap+0x144/0x170 security/integrity/ima/ima_main.c:342 security_mmap_file+0x19f/0x1e0 security/security.c:972 vm_mmap_pgoff+0x12e/0x2b0 mm/util.c:346 ksys_mmap_pgoff+0x4f8/0x650 mm/mmap.c:1609 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0xe9/0x1b0 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007fb6de91ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457ec9 RDX: 0000000001000004 RSI: 0000000000004000 RDI: 0000000020ffb000 RBP: 000000000073c0e0 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000050 R11: 0000000000000246 R12: 00007fb6de91b6d4 R13: 00000000004c3b56 R14: 00000000004d6910 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1041: #0: 0000000057ab9a49 (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7922: #0: 000000000f29eab1 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0 fs/file.c:795 2 locks held by getty/8034: #0: 0000000080aeb439 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000042cd2c9a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8035: #0: 00000000800bc108 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004364dbb1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8036: #0: 000000007c49bf21 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000068c54b3c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8037: #0: 000000007b00bcba (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000009792b621 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8038: #0: 00000000631ee4e3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000087af6987 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8039: #0: 0000000048e578d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a1bad30f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 2 locks held by getty/8040: #0: 0000000018890c06 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e416f3b7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0 drivers/tty/n_tty.c:2154 1 lock held by syz-executor3/9896: 1 lock held by syz-executor3/9933: #0: 00000000dbca2d5f (&iint->mutex){+.+.}, at: process_measurement+0x41c/0x1be0 security/integrity/ima/ima_main.c:226 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1041 Comm: khungtaskd Not tainted 4.20.0-next-20190107 #6 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+0x1db/0x2d0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0xbbb/0x1170 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9896 Comm: syz-executor3 Not tainted 4.20.0-next-20190107 #6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:loop3+0x22f/0x37d Code: f3 06 45 21 df 41 01 f0 45 31 f5 c4 43 7b f0 e0 0d 41 31 df c4 43 7b f0 f0 16 44 89 c6 45 31 e6 c4 43 7b f0 e0 02 03 4c 3c 34 <44> 09 ce 45 31 e6 45 89 c4 21 d6 45 21 cc 45 01 ef 41 01 ca 44 09 RSP: 0018:ffff8880509cf180 EFLAGS: 00000a07 RAX: 00000000d8069997 RBX: 00000000673e952b RCX: 0000000067ee5c88 RDX: 00000000684a45be RSI: 000000006bdddec2 RDI: 0000000000000140 RBP: ffff8880509cf428 R08: 000000006bdddec2 R09: 00000000e7ae3d66 R10: 00000000f551c85a R11: 00000000d155ef3a R12: 000000009af777b0 R13: 00000000a6e8e069 R14: 0000000081685741 R15: 00000000f62e9913 FS: 00007fb6de97e700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000457e9f CR3: 000000009063c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sha256_avx2_update+0x2d/0x40 arch/x86/crypto/sha256_ssse3_glue.c:235 crypto_shash_update+0xcf/0x130 crypto/shash.c:116 ima_calc_file_hash_tfm+0x386/0x460 security/integrity/ima/ima_crypto.c:365 ima_calc_file_shash security/integrity/ima/ima_crypto.c:385 [inline] ima_calc_file_hash+0x1aa/0x570 security/integrity/ima/ima_crypto.c:450 ima_collect_measurement+0x5fc/0x710 security/integrity/ima/ima_api.c:231 process_measurement+0x11e4/0x1be0 security/integrity/ima/ima_main.c:286 ima_file_mmap+0x144/0x170 security/integrity/ima/ima_main.c:342 security_mmap_file+0x19f/0x1e0 security/security.c:972 vm_mmap_pgoff+0x12e/0x2b0 mm/util.c:346 ksys_mmap_pgoff+0x4f8/0x650 mm/mmap.c:1609 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:100 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:91 [inline] __x64_sys_mmap+0xe9/0x1b0 arch/x86/kernel/sys_x86_64.c:91 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: 6d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb6de97dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457ec9 RDX: 0000000001000004 RSI: 0000000000004000 RDI: 0000000020ffb000 RBP: 000000000073bf00 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000050 R11: 0000000000000246 R12: 00007fb6de97e6d4 R13: 00000000004c3b56 R14: 00000000004d6910 R15: 00000000ffffffff