syzbot


KCSAN: data-race in exit_signals / task_dump_owner (2)

Status: closed as invalid on 2020/06/18 14:24
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 1006d, last: 897d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in exit_signals / task_dump_owner (4) 1 703d 703d 0/24 auto-closed as invalid on 2021/01/31 10:55
upstream KCSAN: data-race in exit_signals / task_dump_owner (5) 22 546d 629d 0/24 auto-closed as invalid on 2021/07/08 00:56
upstream KCSAN: data-race in exit_signals / task_dump_owner 4 1081d 1114d 0/24 auto-closed as invalid on 2020/02/24 01:47
upstream KCSAN: data-race in exit_signals / task_dump_owner (3) 13 742d 723d 0/24 auto-closed as invalid on 2020/12/24 05:44

Sample crash report:
==================================================================
BUG: KCSAN: data-race in exit_signals / task_dump_owner

write to 0xffff88808e18e024 of 4 bytes by task 2348 on cpu 0:
 exit_signals+0x135/0x4c0 kernel/signal.c:2827
 do_exit+0x17b/0x11e0 kernel/exit.c:744
 do_group_exit+0xae/0x1a0 kernel/exit.c:893
 __do_sys_exit_group kernel/exit.c:904 [inline]
 __se_sys_exit_group kernel/exit.c:902 [inline]
 __x64_sys_exit_group+0x2b/0x30 kernel/exit.c:902
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88808e18e024 of 4 bytes by task 2352 on cpu 1:
 task_dump_owner+0x42/0x250 fs/proc/base.c:1789
 pid_update_inode+0x35/0x70 fs/proc/base.c:1931
 pid_revalidate+0x89/0x110 fs/proc/base.c:1954
 d_revalidate fs/namei.c:754 [inline]
 d_revalidate fs/namei.c:751 [inline]
 lookup_fast+0x22a/0x3a0 fs/namei.c:1491
 walk_component+0x6a/0x390 fs/namei.c:1842
 link_path_walk.part.0+0x469/0x700 fs/namei.c:2169
 link_path_walk fs/namei.c:2098 [inline]
 path_openat+0x191/0x23d0 fs/namei.c:3342
 do_filp_open+0x11e/0x1b0 fs/namei.c:3373
 do_sys_openat2+0x52e/0x680 fs/open.c:1148
 do_sys_open+0xa2/0x110 fs/open.c:1164
 ksys_open include/linux/syscalls.h:1386 [inline]
 __do_sys_open fs/open.c:1170 [inline]
 __se_sys_open fs/open.c:1168 [inline]
 __x64_sys_open+0x50/0x60 fs/open.c:1168
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2352 Comm: syz-executor.1 Not tainted 5.7.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2020/06/16 08:36 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 baca2611 .config log report
ci2-upstream-kcsan-gce 2020/05/14 20:17 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 2d572622 .config log report
ci2-upstream-kcsan-gce 2020/04/27 05:39 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 0ce7569e .config log report
ci2-upstream-kcsan-gce 2020/04/21 18:09 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 f20434a8 .config log report
ci2-upstream-kcsan-gce 2020/02/29 02:45 https://github.com/google/ktsan.git kcsan 766d004d1b85 c88c7b75 .config log report
* Struck through repros no longer work on HEAD.