================================================================== BUG: KCSAN: data-race in ns_capable_common / task_set_jobctl_pending read to 0xffff88812325f0e4 of 4 bytes by task 27234 on cpu 1: task_set_jobctl_pending+0x9c/0x180 kernel/signal.c:291 do_signal_stop+0x40e/0x500 kernel/signal.c:2349 get_signal+0x61b/0x1320 kernel/signal.c:2694 do_signal+0x2f/0x6c0 arch/x86/kernel/signal.c:815 exit_to_usermode_loop+0x250/0x2c0 arch/x86/entry/common.c:160 prepare_exit_to_usermode+0x1a6/0x1d0 arch/x86/entry/common.c:195 swapgs_restore_regs_and_return_to_usermode+0x0/0x40 write to 0xffff88812325f0e4 of 4 bytes by task 27245 on cpu 0: ns_capable_common+0x9f/0xc0 kernel/capability.c:377 ns_capable kernel/capability.c:396 [inline] capable_wrt_inode_uidgid+0x5e/0xa0 kernel/capability.c:506 generic_permission+0x268/0x410 fs/namei.c:367 do_inode_permission fs/namei.c:391 [inline] inode_permission+0x7f/0x370 fs/namei.c:449 vfs_truncate+0x105/0x400 fs/open.c:86 do_sys_truncate.part.0+0xe1/0x100 fs/open.c:133 do_sys_truncate fs/open.c:127 [inline] __do_sys_truncate fs/open.c:145 [inline] __se_sys_truncate fs/open.c:143 [inline] __x64_sys_truncate+0x53/0x80 fs/open.c:143 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: 0 PID: 27245 Comm: syz-executor.1 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================