syzbot


INFO: task hung in uprobe_start_dup_mmap

Status: auto-closed as invalid on 2019/10/25 08:44
Reported-by: syzbot+10ae74e4dd99c5aa3ec6@syzkaller.appspotmail.com
First crash: 1992d, last: 1992d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in uprobe_start_dup_mmap perf 196 2066d 2280d 0/28 auto-closed as invalid on 2019/10/05 21:52
linux-4.19 INFO: task hung in uprobe_start_dup_mmap (2) 2 1065d 1080d 0/1 auto-closed as invalid on 2022/05/04 01:46
linux-4.19 INFO: task hung in uprobe_start_dup_mmap (3) 1 788d 788d 0/1 auto-obsoleted due to no activity on 2023/02/05 00:29
upstream INFO: task hung in uprobe_start_dup_mmap (2) perf 4 1056d 1071d 0/28 closed as invalid on 2022/02/08 09:50

Sample crash report:
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
INFO: task syz-executor.0:7888 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D23008  7888      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45789a
Code: Bad RIP value.
RSP: 002b:00007fffa11098c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fffa11098c0 RCX: 000000000045789a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007fffa1109900 R08: 0000000000000001 R09: 0000000002277940
R10: 0000000002277c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007fffa1109950
INFO: task syz-executor.2:7894 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D23592  7894      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45789a
Code: Bad RIP value.
RSP: 002b:00007ffcadc50850 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffcadc50850 RCX: 000000000045789a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffcadc50890 R08: 0000000000000001 R09: 0000000001a59940
R10: 0000000001a59c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffcadc508e0
INFO: task syz-executor.3:7898 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D23592  7898      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45789a
Code: bc 24 10 02 00 00 48 39 3b 75 8c 48 89 23 eb 87 64 48 8b 0c 25 f8 ff ff ff 48 8d 84 24 78 fc ff ff 48 3b 41 10 76 7d 48 81 ec <08> 04 00 00 48 89 ac 24 00 04 00 00 48 8d ac 24 00 04 00 00 48 8b
RSP: 002b:00007ffec1d07860 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffec1d07860 RCX: 000000000045789a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffec1d078a0 R08: 0000000000000001 R09: 0000000001998940
R10: 0000000001998c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffec1d078f0
INFO: task syz-executor.4:7902 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.4  D23592  7902      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45789a
Code: bc 24 10 02 00 00 48 39 3b 75 8c 48 89 23 eb 87 64 48 8b 0c 25 f8 ff ff ff 48 8d 84 24 78 fc ff ff 48 3b 41 10 76 7d 48 81 ec <08> 04 00 00 48 89 ac 24 00 04 00 00 48 8d ac 24 00 04 00 00 48 8b
RSP: 002b:00007fff35c102b0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fff35c102b0 RCX: 000000000045789a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007fff35c102f0 R08: 0000000000000001 R09: 0000000002951940
R10: 0000000002951c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff35c10340
INFO: task syz-executor.5:7905 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D23592  7905      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45789a
Code: bc 24 10 02 00 00 48 39 3b 75 8c 48 89 23 eb 87 64 48 8b 0c 25 f8 ff ff ff 48 8d 84 24 78 fc ff ff 48 3b 41 10 76 7d 48 81 ec <08> 04 00 00 48 89 ac 24 00 04 00 00 48 8d ac 24 00 04 00 00 48 8b
RSP: 002b:00007ffe7ea010f0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffe7ea010f0 RCX: 000000000045789a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffe7ea01130 R08: 0000000000000001 R09: 0000000002608940
R10: 0000000002608c10 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffe7ea01180
INFO: task udevd:8853 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
udevd           D27520  8853   3593 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1b0c692f46
Code: Bad RIP value.
RSP: 002b:00007ffef908f0c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffef908f0c0 RCX: 00007f1b0c692f46
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffef908f120 R08: 0000000000002295 R09: 0000000000002295
R10: 00007f1b0cfafa70 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef908f0e0 R14: 0000000000000005 R15: 0000000000000005
INFO: task udevd:8855 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
udevd           D27712  8855   3593 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1b0c692f46
Code: Bad RIP value.
RSP: 002b:00007ffef908f0c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffef908f0c0 RCX: 00007f1b0c692f46
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffef908f120 R08: 0000000000002297 R09: 0000000000002297
R10: 00007f1b0cfafa70 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef908f0e0 R14: 0000000000000005 R15: 0000000000000005
INFO: task udevd:14496 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
udevd           D27776 14496   3593 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x21b/0x3c0 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 __percpu_down_read kernel/locking/percpu-rwsem.c:85 [inline]
 __percpu_down_read+0x8d/0xf0 kernel/locking/percpu-rwsem.c:41
 percpu_down_read_preempt_disable include/linux/percpu-rwsem.h:49 [inline]
 percpu_down_read include/linux/percpu-rwsem.h:59 [inline]
 uprobe_start_dup_mmap+0xbf/0xe0 kernel/events/uprobes.c:1259
 dup_mmap kernel/fork.c:430 [inline]
 dup_mm kernel/fork.c:1283 [inline]
 copy_mm kernel/fork.c:1339 [inline]
 copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
 copy_process kernel/fork.c:1689 [inline]
 _do_fork+0x257/0xfd0 kernel/fork.c:2202
 __do_sys_clone kernel/fork.c:2309 [inline]
 __se_sys_clone kernel/fork.c:2303 [inline]
 __x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1b0c692f46
Code: Bad RIP value.
RSP: 002b:00007ffef908f0c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffef908f0c0 RCX: 00007f1b0c692f46
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007ffef908f120 R08: 00000000000038a0 R09: 00000000000038a0
R10: 00007f1b0cfafa70 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef908f0e0 R14: 0000000000000005 R15: 0000000000000005
INFO: task syz-executor.1:21003 blocked for more than 140 seconds.
      Not tainted 4.19.53+ #25
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D28032 21003   7892 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x80d/0x1c70 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 percpu_down_write+0x342/0x440 kernel/locking/percpu-rwsem.c:162
 register_for_each_vma+0x8c/0xde0 kernel/events/uprobes.c:797
 __uprobe_register kernel/events/uprobes.c:926 [inline]
 uprobe_register+0x3d6/0x710 kernel/events/uprobes.c:941
 probe_event_enable+0x42d/0xbd0 kernel/trace/trace_uprobe.c:915
 trace_uprobe_register+0x4b5/0x950 kernel/trace/trace_uprobe.c:1200
 perf_trace_event_reg kernel/trace/trace_event_perf.c:124 [inline]
 perf_trace_event_init+0x4f3/0x980 kernel/trace/trace_event_perf.c:199
 perf_uprobe_init+0x168/0x210 kernel/trace/trace_event_perf.c:326
 perf_uprobe_event_init+0xff/0x190 kernel/events/core.c:8517
 perf_try_init_event+0x131/0x2f0 kernel/events/core.c:9792
 perf_init_event kernel/events/core.c:9823 [inline]
 perf_event_alloc.part.0+0x1d3b/0x2e30 kernel/events/core.c:10097
 perf_event_alloc kernel/events/core.c:10453 [inline]
 __do_sys_perf_event_open+0x842/0x2730 kernel/events/core.c:10554
 __se_sys_perf_event_open kernel/events/core.c:10443 [inline]
 __x64_sys_perf_event_open+0xbe/0x150 kernel/events/core.c:10443
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
Code: d3 ee 40 80 ff f8 77 05 48 8b 3f eb 08 48 8b 7c 1f f8 48 d3 ef 48 29 f7 48 d3 e7 0f 94 00 c3 cc cc 48 8b 74 24 08 48 8b 5c 24 <10> 48 8b 7c 24 18 48 8b 54 24 20 4c 8d 4c 24 28 e9 02 00 00 00 cc
RSP: 002b:00007f8ebe5cbc78 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000004592c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f8ebe5cc6d4
R13: 00000000004c5f2a R14: 00000000004da8c8 R15: 00000000ffffffff

Showing all locks held in the system:
1 lock held by khungtaskd/1031:
 #0: 00000000ec4f7baa (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4435
1 lock held by rsyslogd/7722:
 #0: 00000000d80d9cce (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:767
2 locks held by getty/7844:
 #0: 0000000093e8920c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 0000000007be9e86 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7845:
 #0: 000000005ab4afc7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 00000000bac905d5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7846:
 #0: 00000000e51aa53c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 00000000a79ca5ac (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7847:
 #0: 00000000c3c8283f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 00000000be86a40e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7848:
 #0: 00000000e9159ec4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 0000000060bd9fb6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7849:
 #0: 000000004cdd2bcb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 00000000c55848ff (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
2 locks held by getty/7850:
 #0: 000000008213983a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:363
 #1: 0000000030beb2a9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b30 drivers/tty/n_tty.c:2154
1 lock held by syz-executor.0/7888:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by syz-executor.2/7894:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by syz-executor.3/7898:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by syz-executor.4/7902:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by syz-executor.5/7905:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by udevd/8853:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by udevd/8855:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by syz-executor.2/12379:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
1 lock held by udevd/14496:
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:430 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1283 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1339 [inline]
 #0: 00000000b283dd72 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2b6c/0x7a30 kernel/fork.c:1892
5 locks held by syz-executor.1/21003:
 #0: 0000000009f16018 (&sig->cred_guard_mutex){+.+.}, at: __do_sys_perf_event_open+0x6e1/0x2730 kernel/events/core.c:10534
 #1: 0000000006a6e9de (&pmus_srcu){....}, at: perf_event_alloc.part.0+0xd89/0x2e30 kernel/events/core.c:10093
 #2: 000000009cc1a1ea (event_mutex){+.+.}, at: perf_uprobe_init+0x15d/0x210 kernel/trace/trace_event_perf.c:325
 #3: 000000009c065d1b (&uprobe->register_rwsem){+.+.}, at: __uprobe_register kernel/events/uprobes.c:922 [inline]
 #3: 000000009c065d1b (&uprobe->register_rwsem){+.+.}, at: uprobe_register+0x345/0x710 kernel/events/uprobes.c:941
 #4: 00000000b283dd72 (&dup_mmap_sem){++++}, at: percpu_down_write+0x6a/0x440 kernel/locking/percpu-rwsem.c:145

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 1031 Comm: khungtaskd Not tainted 4.19.53+ #25
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+0x1b0/0x1f8 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+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2171 Comm: kworker/u4:3 Not tainted 4.19.53+ #25
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__lock_release kernel/locking/lockdep.c:3697 [inline]
RIP: 0010:lock_release+0x382/0xa30 kernel/locking/lockdep.c:3919
Code: 00 00 fc ff df 48 c1 ee 03 80 3c 0e 00 0f 85 d8 05 00 00 49 8d b8 70 08 00 00 4c 8b 20 48 b8 00 00 00 00 00 fc ff df 48 89 f9 <48> c1 e9 03 80 3c 01 00 0f 85 f6 05 00 00 4d 89 a0 70 08 00 00 83
RSP: 0018:ffff8880a4017c18 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: 1ffff11014802f89 RCX: ffff8880a400aef0
RDX: 0000000000000002 RSI: 1ffff110148015ea RDI: ffff8880a400aef0
RBP: ffff8880a4017cd0 R08: ffff8880a400a680 R09: 0000000000000003
R10: ffffed1015d04732 R11: ffff8880ae823993 R12: 938f8b7c615ab79b
R13: ffffffff86d482ca R14: ffffffff8a360660 R15: ffff8880a4017ca8
FS:  0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000013b7000 CR3: 00000000917a4000 CR4: 00000000001406f0
Call Trace:
 rcu_lock_release include/linux/rcupdate.h:247 [inline]
 rcu_read_unlock include/linux/rcupdate.h:681 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:423 [inline]
 batadv_nc_worker+0x225/0x760 net/batman-adv/network-coding.c:730
 process_one_work+0x989/0x1750 kernel/workqueue.c:2153
 worker_thread+0x98/0xe40 kernel/workqueue.c:2296
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/22 01:15 linux-4.19.y 9f31eb60d7a2 34bf9440 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.