================================================================== BUG: KCSAN: data-race in strscpy / strscpy write to 0xffff888140e832f0 of 8 bytes by task 10914 on cpu 0: strscpy+0xa8/0x170 lib/string.c:210 strscpy_pad+0x23/0x80 lib/string_helpers.c:791 __set_task_comm+0x3b/0x110 fs/exec.c:1239 set_task_comm include/linux/sched.h:1963 [inline] __kthread_create_on_node+0x2aa/0x320 kernel/kthread.c:474 kthread_create_on_node+0x86/0xb0 kernel/kthread.c:512 init_rescuer+0x10e/0x190 kernel/workqueue.c:4274 alloc_workqueue+0x90a/0xac0 kernel/workqueue.c:4349 __ext4_fill_super fs/ext4/super.c:5232 [inline] ext4_fill_super+0x432c/0x5010 fs/ext4/super.c:5517 get_tree_bdev+0x2b4/0x3b0 fs/super.c:1323 ext4_get_tree+0x18/0x20 fs/ext4/super.c:5547 vfs_get_tree+0x49/0x190 fs/super.c:1530 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4ad/0xbb0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888140e832f0 of 1 bytes by task 10917 on cpu 1: strscpy+0xdf/0x170 lib/string.c:219 ____bpf_get_current_comm kernel/bpf/helpers.c:245 [inline] bpf_get_current_comm+0x42/0x70 kernel/bpf/helpers.c:237 ___bpf_prog_run+0x278/0x2da0 kernel/bpf/core.c:1813 __bpf_prog_run32+0x70/0xa0 kernel/bpf/core.c:2036 bpf_dispatcher_nop_func include/linux/bpf.h:903 [inline] __bpf_prog_run include/linux/filter.h:594 [inline] bpf_prog_run include/linux/filter.h:601 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2046 [inline] bpf_trace_run4+0x6d/0x100 kernel/trace/bpf_trace.c:2085 __traceiter_sched_switch+0x45/0x60 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x6bd/0x6e0 kernel/sched/core.c:6491 schedule+0x51/0x80 kernel/sched/core.c:6570 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6629 kthread+0x129/0x1e0 kernel/kthread.c:369 ret_from_fork+0x1f/0x30 value changed: 0x6b -> 0x65 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 10917 Comm: ext4-rsv-conver Not tainted 6.0.0-rc6-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 ==================================================================