bisecting fixing commit since ba31f97d43be41ca99ab72a6131d7c226306865f building syzkaller on 2489ab887a86e8b1b253aef742e365a606db3a4f testing commit ba31f97d43be41ca99ab72a6131d7c226306865f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b8549c5cbcd09fb35c7393460a529d0bda4c1a67ac6ca8d8e58802e66fe0862f run #0: crashed: INFO: task hung in paste_selection run #1: crashed: INFO: task hung in paste_selection run #2: crashed: INFO: task hung in paste_selection run #3: crashed: INFO: task hung in paste_selection run #4: crashed: INFO: task hung in paste_selection run #5: crashed: INFO: task hung in paste_selection run #6: crashed: INFO: task hung in paste_selection run #7: crashed: INFO: task hung in paste_selection run #8: crashed: INFO: task hung in paste_selection run #9: crashed: INFO: task hung in paste_selection run #10: crashed: INFO: task hung in paste_selection run #11: crashed: INFO: task hung in paste_selection run #12: crashed: INFO: task hung in paste_selection run #13: crashed: INFO: task hung in tty_ldisc_hangup run #14: crashed: INFO: task hung in paste_selection run #15: crashed: INFO: task hung in paste_selection run #16: crashed: INFO: task hung in paste_selection run #17: crashed: INFO: task hung in paste_selection run #18: crashed: INFO: task hung in paste_selection run #19: OK testing current HEAD bfc484fe6abba4b89ec9330e0e68778e2a9856b2 testing commit bfc484fe6abba4b89ec9330e0e68778e2a9856b2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 129e636b3b6a940f204ceb1fe7e89dc0c0d62e877b9f3a03cb0cc7df5b2d11c9 run #0: crashed: INFO: task hung in tty_ioctl run #1: crashed: INFO: task hung in tty_ioctl run #2: crashed: INFO: task hung in tty_ioctl run #3: crashed: INFO: task hung in tty_ioctl run #4: crashed: INFO: task hung in tty_ioctl run #5: crashed: INFO: task hung in tty_ioctl run #6: crashed: INFO: task hung in tty_ioctl run #7: crashed: INFO: task hung in tty_ldisc_hangup run #8: crashed: INFO: task hung in tty_ioctl run #9: OK revisions tested: 2, total time: 31m18.538458828s (build: 13m13.247360822s, test: 17m33.445808232s) the crash still happens on HEAD commit msg: Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 crash: INFO: task hung in tty_ioctl INFO: task agetty:12556 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:agetty state:D stack:27992 pid:12556 ppid: 1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 tiocsti drivers/tty/tty_io.c:2308 [inline] tty_ioctl+0x80b/0x12d0 drivers/tty/tty_io.c:2719 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f42a8f05017 RSP: 002b:00007fff2d9eb288 EFLAGS: 00000206 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fff2d9eb405 RCX: 00007f42a8f05017 RDX: 00007fff2d9eb404 RSI: 0000000000005412 RDI: 0000000000000000 RBP: 00007fff2d9eb510 R08: ffffffffffffff98 R09: 00007fff2d9eb300 R10: 0000000000000000 R11: 0000000000000206 R12: 00007fff2d9eb2a4 R13: 00007fff2d9eb400 R14: 00007fff2d9eb300 R15: 0000000000000000 INFO: task syz-executor.4:14069 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28536 pid:14069 ppid: 12633 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f28100eb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff9e44e87f R14: 00007f28100eb300 R15: 0000000000022000 INFO: task syz-executor.1:14075 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28536 pid:14075 ppid: 12631 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f064ac51188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe099d7edf R14: 00007f064ac51300 R15: 0000000000022000 INFO: task syz-executor.5:14077 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28424 pid:14077 ppid: 10247 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007fcbc179c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffe95fb8d1f R14: 00007fcbc179c300 R15: 0000000000022000 INFO: task syz-executor.0:14079 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28536 pid:14079 ppid: 10248 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007fbf1f8de188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc8506e1ff R14: 00007fbf1f8de300 R15: 0000000000022000 INFO: task syz-executor.3:14080 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28536 pid:14080 ppid: 10244 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007fc1c1f01188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffde869c49f R14: 00007fc1c1f01300 R15: 0000000000022000 INFO: task syz-executor.2:14081 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28424 pid:14081 ppid: 10245 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f56918b1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff84b44d8f R14: 00007f56918b1300 R15: 0000000000022000 INFO: task syz-executor.0:14111 blocked for more than 144 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28424 pid:14111 ppid: 10248 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007fbf1f8de188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc8506e1ff R14: 00007fbf1f8de300 R15: 0000000000022000 INFO: task syz-executor.3:14112 blocked for more than 145 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28536 pid:14112 ppid: 10244 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007fc1c1f01188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffde869c49f R14: 00007fc1c1f01300 R15: 0000000000022000 INFO: task syz-executor.4:14113 blocked for more than 145 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28424 pid:14113 ppid: 12633 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0x90d/0x26c0 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 vt_ioctl+0x19a7/0x2120 drivers/tty/vt/vt_ioctl.c:762 tty_ioctl+0x478/0x12d0 drivers/tty/tty_io.c:2805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f28100eb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff9e44e87f R14: 00007f28100eb300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/27: #0: ffffffff8ab77880 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 3 locks held by in:imklog/6212: #0: ffff888077d520f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9c/0xb0 fs/file.c:990 #1: ffff8880b9e31a18 (&rq->__lock){-.-.}-{2:2}, at: syslog_print+0x115/0x420 kernel/printk/printk.c:1504 #2: ffff8880b9e1f9c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 2 locks held by agetty/12556: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: tiocsti drivers/tty/tty_io.c:2308 [inline] #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: tty_ioctl+0x80b/0x12d0 drivers/tty/tty_io.c:2719 2 locks held by syz-executor.3/14057: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14069: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.1/14075: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.5/14077: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.0/14079: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.3/14080: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.2/14081: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.0/14111: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.3/14112: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14113: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.1/14116: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.5/14117: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.3/14141: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.1/14149: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.0/14150: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.2/14153: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14160: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.5/14179: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.2/14185: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14187: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.1/14189: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14210: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.5/14220: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.0/14223: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.1/14227: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14242: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.0/14284: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14262: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.2/14274: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.3/14276: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.1/14335: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.4/14319: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 2 locks held by syz-executor.3/14322: #0: ffff88804c806098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88800fc790b8 (&buf->lock){+.+.}-{3:3}, at: paste_selection+0x109/0x450 drivers/tty/vt/selection.c:390 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x11a/0x160 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x88c/0xbf0 kernel/hung_task.c:295 kthread+0x3ab/0x480 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2960 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:putname+0x0/0xf0 fs/namei.c:258 Code: 60 8a e8 23 f5 f2 ff e9 79 fd ff ff 48 c7 c7 e8 4a 7e 8c e8 12 f5 f2 ff e9 4e ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 <48> 81 ff 00 f0 ff ff 0f 87 b3 00 00 00 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc9000258fe58 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 1ffff1100f51a846 RDX: 1ffff920004b1fa8 RSI: ffffffff88cb5100 RDI: ffff88806eb06600 RBP: ffff88806eb06600 R08: 0000000000000000 R09: ffffc9000258fce8 R10: 0000000000000001 R11: ffffc9000258fd20 R12: 0000000000000000 R13: 00000000ffffff9c R14: ffffc9000258fec8 R15: 00005590dc7b99a3 FS: 00007f31fff528c0(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f31fd45e000 CR3: 000000007ba28000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: user_path_at_empty+0x40/0x50 fs/namei.c:2803 user_path_at include/linux/namei.h:57 [inline] do_faccessat+0xc0/0x660 fs/open.c:421 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f31ff20d9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffe16f311d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffe16f34200 RCX: 00007f31ff20d9c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005590dc7b99a3 RBP: 00007ffe16f31320 R08: 00005590dc7af3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00005590dcfbd8a0 R15: 00007ffe16f31810 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 8a e8 mov %al,%ch 2: 23 f5 and %ebp,%esi 4: f2 ff repnz (bad) 6: e9 79 fd ff ff jmpq 0xfffffd84 b: 48 c7 c7 e8 4a 7e 8c mov $0xffffffff8c7e4ae8,%rdi 12: e8 12 f5 f2 ff callq 0xfff2f529 17: e9 4e ff ff ff jmpq 0xffffff6a 1c: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 23: 00 00 00 00 27: 66 90 xchg %ax,%ax * 29: 48 81 ff 00 f0 ff ff cmp $0xfffffffffffff000,%rdi <-- trapping instruction 30: 0f 87 b3 00 00 00 ja 0xe9 36: 48 rex.W 37: b8 00 00 00 00 mov $0x0,%eax 3c: 00 fc add %bh,%ah 3e: ff .byte 0xff