syzbot


INFO: task hung in uprobe_start_dup_mmap (3)

Status: auto-obsoleted due to no activity on 2023/02/05 00:29
Reported-by: syzbot+821abe7745740a7bee65@syzkaller.appspotmail.com
First crash: 788d, last: 788d
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 1 1992d 1992d 0/1 auto-closed as invalid on 2019/10/25 08:44
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:
ieee802154 phy0 wpan0: encryption failed: -22
ieee802154 phy1 wpan1: encryption failed: -22
INFO: task systemd-udevd:4698 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
systemd-udevd   D25024  4698      1 0x00000100
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/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+0xba/0x130 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+0xb7/0xd0 kernel/events/uprobes.c:1262
 dup_mmap kernel/fork.c:435 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7eff1881838b
Code: Bad RIP value.
RSP: 002b:00007fff5825a630 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fff5825a630 RCX: 00007eff1881838b
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 00007fff5825a680 R08: 00007eff199c98c0 R09: 0000000000000210
R10: 00007eff199c9b90 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000020 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor.1:8138 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.1  D24056  8138      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/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+0xba/0x130 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+0xb7/0xd0 kernel/events/uprobes.c:1262
 dup_mmap kernel/fork.c:435 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f5f3c1412ab
Code: Bad RIP value.
RSP: 002b:00007ffc09e86140 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5f3c1412ab
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556e45400
R10: 0000555556e456d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc09e86220
INFO: task syz-executor.5:8139 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5  D24368  8139      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/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+0xba/0x130 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+0xb7/0xd0 kernel/events/uprobes.c:1262
 dup_mmap kernel/fork.c:435 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f37ff5082ab
Code: Bad RIP value.
RSP: 002b:00007ffceac99a10 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f37ff5082ab
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555881400
R10: 00005555558816d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffceac99af0
INFO: task syz-executor.4:8141 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.4  D24368  8141      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/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+0xba/0x130 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+0xb7/0xd0 kernel/events/uprobes.c:1262
 dup_mmap kernel/fork.c:435 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f9d015192ab
Code: Bad RIP value.
RSP: 002b:00007ffe26f4b040 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9d015192ab
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555555d5f400
R10: 0000555555d5f6d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffe26f4b120
INFO: task syz-executor.3:16639 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D24120 16639      1 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/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+0xba/0x130 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+0xb7/0xd0 kernel/events/uprobes.c:1262
 dup_mmap kernel/fork.c:435 [inline]
 dup_mm kernel/fork.c:1285 [inline]
 copy_mm kernel/fork.c:1341 [inline]
 copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
 copy_process kernel/fork.c:1710 [inline]
 _do_fork+0x22f/0xf30 kernel/fork.c:2219
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f39109202ab
Code: Bad RIP value.
RSP: 002b:00007ffc2520b1a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f39109202ab
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000555556b66400
R10: 0000555556b666d0 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc2520b280
INFO: task syz-executor.2:387 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D28648   387   8137 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 exit_mm kernel/exit.c:512 [inline]
 do_exit+0x6e4/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 __do_sys_exit_group kernel/exit.c:978 [inline]
 __se_sys_exit_group kernel/exit.c:976 [inline]
 __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:976
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f23222575a9
Code: Bad RIP value.
RSP: 002b:00007ffc261ac5b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007f23222575a9
RDX: 00007f232220937b RSI: ffffffffffffffb8 RDI: 0000000000000000
RBP: 0000000000000000 R08: 000000f49bcf7440 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc261ac6a0
INFO: task syz-executor.2:390 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D28176   390   8137 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 exit_mm kernel/exit.c:512 [inline]
 do_exit+0x6e4/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f23222575a9
Code: Bad RIP value.
RSP: 002b:00007f2320bcb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: fffffffffffffffc RBX: 00007f2322378f80 RCX: 00007f23222575a9
RDX: 0000000000000000 RSI: 0000000000002000 RDI: 0000000020341000
RBP: 00007f23222b2580 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc261ac37f R14: 00007f2320bcb300 R15: 0000000000022000
INFO: task syz-executor.2:393 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D27152   393   8137 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 exit_mm kernel/exit.c:512 [inline]
 do_exit+0x6e4/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f23222575a9
Code: Bad RIP value.
RSP: 002b:00007f2320baa218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f2322379058 RCX: 00007f23222575a9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2322379058
RBP: 00007f2322379050 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f232237905c
R13: 00007ffc261ac37f R14: 00007f2320baa300 R15: 0000000000022000
INFO: task syz-executor.2:396 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.2  D29760   396   8137 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline]
 rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309
 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94
 __down_read arch/x86/include/asm/rwsem.h:83 [inline]
 down_read+0x44/0x80 kernel/locking/rwsem.c:26
 exit_mm kernel/exit.c:512 [inline]
 do_exit+0x6e4/0x2be0 kernel/exit.c:857
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f23222575a9
Code: Bad RIP value.
RSP: 002b:00007f2320b89218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f2322379128 RCX: 00007f23222575a9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2322379128
RBP: 00007f2322379120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f232237912c
R13: 00007ffc261ac37f R14: 00007f2320b89300 R15: 0000000000022000
INFO: task syz-executor.0:397 blocked for more than 140 seconds.
      Not tainted 4.19.211-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.0  D28648   397   8136 0x00000004
Call Trace:
 context_switch kernel/sched/core.c:2828 [inline]
 __schedule+0x887/0x2040 kernel/sched/core.c:3517
 schedule+0x8d/0x1b0 kernel/sched/core.c:3561
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619
 __mutex_lock_common kernel/locking/mutex.c:1016 [inline]
 __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078
 perf_trace_destroy+0x23/0xf0 kernel/trace/trace_event_perf.c:236
 _free_event+0x32c/0x1150 kernel/events/core.c:4484
 put_event kernel/events/core.c:4578 [inline]
 perf_event_release_kernel+0x6d9/0xcd0 kernel/events/core.c:4693
 perf_release+0x33/0x40 kernel/events/core.c:4703
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4f7ea6437b
Code: Bad RIP value.
RSP: 002b:00007ffc97113bc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f4f7ea6437b
RDX: 0000001b2fc20000 RSI: 0000001b2fc225cc RDI: 0000000000000003
RBP: 00007f4f7ebd5980 R08: 0000000000000000 R09: 000000003253460c
R10: 0018d544a863de82 R11: 0000000000000293 R12: 00000000000e8618
R13: 00007ffc97113cc0 R14: 00007ffc97113ce0 R15: 0000000000000032

Showing all locks held in the system:
1 lock held by khungtaskd/1557:
 #0: 000000000719005d (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441
1 lock held by systemd-udevd/4698:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
1 lock held by in:imklog/7799:
 #0: 00000000feff700e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767
2 locks held by agetty/8026:
 #0: 0000000056907e2d (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272
 #1: 00000000d91e7fa5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154
1 lock held by syz-executor.1/8138:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
1 lock held by syz-executor.5/8139:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
1 lock held by syz-executor.4/8141:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
1 lock held by syz-executor.3/16639:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
1 lock held by syz-executor.2/387:
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline]
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: do_exit+0x6e4/0x2be0 kernel/exit.c:857
1 lock held by syz-executor.2/390:
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline]
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: do_exit+0x6e4/0x2be0 kernel/exit.c:857
1 lock held by syz-executor.2/393:
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline]
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: do_exit+0x6e4/0x2be0 kernel/exit.c:857
1 lock held by syz-executor.2/396:
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: exit_mm kernel/exit.c:512 [inline]
 #0: 00000000a63157a4 (&mm->mmap_sem){++++}, at: do_exit+0x6e4/0x2be0 kernel/exit.c:857
2 locks held by syz-executor.2/398:
1 lock held by syz-executor.0/397:
 #0: 00000000b5c59c47 (event_mutex){+.+.}, at: perf_trace_destroy+0x23/0xf0 kernel/trace/trace_event_perf.c:236
5 locks held by syz-executor.0/400:
 #0: 0000000097175d61 (&pmus_srcu){....}, at: perf_event_alloc.part.0+0xe6c/0x2eb0 kernel/events/core.c:10185
 #1: 00000000b5c59c47 (event_mutex){+.+.}, at: perf_uprobe_init+0x15a/0x200 kernel/trace/trace_event_perf.c:329
 #2: 00000000d1b978d6 (&uprobe->register_rwsem){+.+.}, at: __uprobe_register kernel/events/uprobes.c:925 [inline]
 #2: 00000000d1b978d6 (&uprobe->register_rwsem){+.+.}, at: uprobe_register+0x34b/0x730 kernel/events/uprobes.c:944
 #3: 00000000d62925d4 (&dup_mmap_sem){++++}, at: percpu_down_write+0x62/0x3f0 kernel/locking/percpu-rwsem.c:145
 #4: 00000000a63157a4 (&mm->mmap_sem){++++}, at: register_for_each_vma+0x6bb/0xe40 kernel/events/uprobes.c:808
1 lock held by syz-executor.2/413:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913
1 lock held by syz-executor.0/414:
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mmap kernel/fork.c:435 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: dup_mm kernel/fork.c:1285 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_mm kernel/fork.c:1341 [inline]
 #0: 00000000d62925d4 (&dup_mmap_sem){++++}, at: copy_process.part.0+0x2bb3/0x8260 kernel/fork.c:1913

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

NMI backtrace for cpu 0
CPU: 0 PID: 1557 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline]
 watchdog+0x991/0xe60 kernel/hung_task.c:287
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: phy2 ieee80211_iface_work
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:23 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline]
RIP: 0010:write_comp_data+0xf/0x70 kernel/kcov.c:122
Code: 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df 01 00 <65> 8b 05 7a 59 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 83 f8
RSP: 0018:ffff8880b5a472c8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff8880b5a47510 RCX: ffffffff87813da5
RDX: ffff8880b13cf200 RSI: ffff8880b5a361c0 RDI: 0000000000000007
RBP: ffff8880a8e61428 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 000000004470b61e R12: dffffc0000000000
R13: ffff8880b28b0180 R14: ffff8880b13cf200 R15: ffffed1016b48ea2
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5e89618000 CR3: 00000000a45a8000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 cmp_bss.part.0+0x85/0x870 net/wireless/scan.c:577
 cmp_bss net/wireless/scan.c:797 [inline]
 rb_find_bss.isra.0+0x158/0x1d0 net/wireless/scan.c:797
 cfg80211_bss_update+0x123/0x2590 net/wireless/scan.c:903
 cfg80211_inform_bss_frame_data+0x69c/0xeb0 net/wireless/scan.c:1283
 ieee80211_bss_info_update+0x42d/0x1800 net/mac80211/scan.c:105
 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline]
 ieee80211_rx_mgmt_probe_beacon+0xb4f/0x15c0 net/mac80211/ibss.c:1607
 ieee80211_ibss_rx_queued_mgmt+0xe27/0x18b0 net/mac80211/ibss.c:1634
 ieee80211_iface_work+0x5c4/0x8a0 net/mac80211/iface.c:1341
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 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
2022/10/08 00:28 linux-4.19.y 3f8a27f9e27b 79a59635 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: task hung in uprobe_start_dup_mmap
* Struck through repros no longer work on HEAD.