syzbot


KCSAN: data-race in exit_signals / task_dump_owner

Status: auto-closed as invalid on 2020/02/24 01:47
Subsystems: kernel
[Documentation on labels]
First crash: 1769d, last: 1736d
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 (2) kernel 5 1552d 1661d 0/28 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in exit_signals / task_dump_owner (4) kernel 1 1358d 1358d 0/28 auto-closed as invalid on 2021/01/31 10:55
upstream KCSAN: data-race in exit_signals / task_dump_owner (5) trace 22 1201d 1284d 0/28 auto-closed as invalid on 2021/07/08 00:56
upstream KCSAN: data-race in exit_signals / task_dump_owner (3) kernel 13 1397d 1378d 0/28 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 0xffff8881230150e4 of 4 bytes by task 28602 on cpu 0:
 exit_signals+0x13b/0x490 kernel/signal.c:2822
 do_exit+0x188/0x18c0 kernel/exit.c:754
 do_group_exit+0xb4/0x1c0 kernel/exit.c:895
 __do_sys_exit_group kernel/exit.c:906 [inline]
 __se_sys_exit_group kernel/exit.c:904 [inline]
 __x64_sys_exit_group+0x2e/0x30 kernel/exit.c:904
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881230150e4 of 4 bytes by task 28605 on cpu 1:
 task_dump_owner+0x43/0x260 fs/proc/base.c:1698
 pid_update_inode+0x3c/0x70 fs/proc/base.c:1818
 pid_revalidate+0x91/0x120 fs/proc/base.c:1841
 d_revalidate fs/namei.c:758 [inline]
 d_revalidate fs/namei.c:755 [inline]
 lookup_fast+0x6ac/0x6c0 fs/namei.c:1613
 walk_component+0x6d/0xd90 fs/namei.c:1798
 link_path_walk.part.0+0x354/0xa90 fs/namei.c:2125
 link_path_walk fs/namei.c:2059 [inline]
 path_openat+0x14f/0x3580 fs/namei.c:3536
 do_filp_open+0x11e/0x1b0 fs/namei.c:3567
 do_sys_open+0x3b3/0x4f0 fs/open.c:1097
 __do_sys_open fs/open.c:1115 [inline]
 __se_sys_open fs/open.c:1110 [inline]
 __x64_sys_open+0x55/0x70 fs/open.c:1110
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/16 01:38 https://github.com/google/ktsan.git kcsan 245a43005292 eef6e580 .config console log report ci2-upstream-kcsan-gce
2019/12/08 10:03 https://github.com/google/ktsan.git kcsan ef798c30ba4e 1508f453 .config console log report ci2-upstream-kcsan-gce
2019/11/28 03:28 https://github.com/google/ktsan.git kcsan ef798c30ba4e 0d63f89c .config console log report ci2-upstream-kcsan-gce
2019/11/12 15:16 https://github.com/google/ktsan.git kcsan 7f2955e0d056 048f2d49 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.