RAX: ffffffffffffffda RBX: 00007fdabc375c90 RCX: 0000000000457e39 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000008020400 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdabc3766d4 R13: 00000000004c6b5e R14: 00000000004dc188 R15: 0000000000000003 INFO: task syz-executor3:29750 blocked for more than 140 seconds. Not tainted 5.0.0-rc4+ #58 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D29424 29750 7809 0x00000004 Call Trace: context_switch kernel/sched/core.c:2844 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3485 schedule+0x92/0x180 kernel/sched/core.c:3529 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3587 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x726/0x1310 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 process_measurement+0x354/0x1570 security/integrity/ima/ima_main.c:226 ima_file_mmap+0x11a/0x130 security/integrity/ima/ima_main.c:342 security_mmap_file+0x19f/0x1e0 security/security.c:962 vm_mmap_pgoff+0xf0/0x230 mm/util.c:346 ksys_mmap_pgoff+0x4aa/0x630 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+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e39 Code: Bad RIP value. RSP: 002b:00007f511a94bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457e39 RDX: 0000000000000004 RSI: 0000000000004000 RDI: 0000000020001000 RBP: 000000000073c040 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000100110 R11: 0000000000000246 R12: 00007f511a94c6d4 R13: 00000000004c3b36 R14: 00000000004d6b90 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1039: #0: 00000000f02e96e9 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7676: #0: 00000000e5470e23 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:795 2 locks held by getty/7766: #0: 00000000948d3a30 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000080d3024c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7767: #0: 00000000939b5c2b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001494b1f4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7768: #0: 0000000084640dd5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000afdbbb6b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7769: #0: 000000003d47d5bd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000007031c503 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7770: #0: 000000003f404851 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000834c699a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7771: #0: 000000005085ce93 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000bfad6ccf (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7772: #0: 000000003cabdf42 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002e2da8fe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by syz-executor3/29739: 1 lock held by syz-executor3/29750: #0: 0000000028f358e9 (&iint->mutex){+.+.}, at: process_measurement+0x354/0x1570 security/integrity/ima/ima_main.c:226 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1039 Comm: khungtaskd Not tainted 5.0.0-rc4+ #58 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+0x172/0x1f0 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+0x9df/0xee0 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 1 to CPUs 0: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.050 msecs NMI backtrace for cpu 0 CPU: 0 PID: 29739 Comm: syz-executor3 Not tainted 5.0.0-rc4+ #58 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:loop3+0x92/0x37d Code: c4 43 7b f0 f0 0b 45 31 cf 45 31 f5 c4 43 7b f0 f0 06 45 21 c7 41 01 f3 45 31 f5 c4 43 7b f0 e3 0d 45 31 cf c4 43 7b f0 f3 16 <44> 89 de 45 31 e6 c4 43 7b f0 e3 02 44 03 54 3c 14 09 de 45 31 e6 RSP: 0018:ffff888052b4f2c0 EFLAGS: 00000282 RAX: 00000000f7502a55 RBX: 00000000591c2f21 RCX: 000000007e7a1164 RDX: 00000000c407be01 RSI: 000000007f582b65 RDI: 0000000000000100 RBP: ffff888052b4f560 R08: 00000000fa0be9d4 R09: 00000000d00149db R10: 000000001191517d R11: 00000000da380f17 R12: 0000000078bed1c0 R13: 000000006c8384a7 R14: 00000000e03c5f68 R15: 00000000c003a80b FS: 00007f511a98e700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000094ce7000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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+0x331/0x3f0 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+0x50f/0x5c0 security/integrity/ima/ima_api.c:231 process_measurement+0xeca/0x1570 security/integrity/ima/ima_main.c:286 ima_file_mmap+0x11a/0x130 security/integrity/ima/ima_main.c:342 security_mmap_file+0x19f/0x1e0 security/security.c:962 vm_mmap_pgoff+0xf0/0x230 mm/util.c:346 ksys_mmap_pgoff+0x4aa/0x630 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+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e39 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f511a98dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000000457e39 RDX: 0000000000000004 RSI: 0000000000004000 RDI: 0000000020001000 RBP: 000000000073bf00 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000100110 R11: 0000000000000246 R12: 00007f511a98e6d4 R13: 00000000004c3b36 R14: 00000000004d6b90 R15: 00000000ffffffff