================================================================== BUG: KCSAN: data-race in io_file_get_flags / setattr_copy write to 0xffff8881197831e8 of 2 bytes by task 25 on cpu 1: setattr_copy+0x18c/0x4a0 fs/attr.c:352 shmem_setattr+0x532/0x830 mm/shmem.c:1343 notify_change+0x85c/0x8e0 fs/attr.c:552 handle_remove drivers/base/devtmpfs.c:349 [inline] handle drivers/base/devtmpfs.c:395 [inline] devtmpfs_work_loop+0x7c2/0x8c0 drivers/base/devtmpfs.c:408 devtmpfsd+0x47/0x50 drivers/base/devtmpfs.c:450 kthread+0x4b7/0x540 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffff8881197831e8 of 2 bytes by task 13054 on cpu 0: io_file_get_flags+0x27/0xc0 io_uring/io_uring.c:1648 io_rw_init_file+0x93/0x600 io_uring/rw.c:849 io_write+0x13a/0xd80 io_uring/rw.c:1123 __io_issue_sqe io_uring/io_uring.c:1734 [inline] io_issue_sqe+0x15f/0xaf0 io_uring/io_uring.c:1753 io_queue_sqe io_uring/io_uring.c:1969 [inline] io_req_task_submit+0x6a/0xc0 io_uring/io_uring.c:1369 io_handle_tw_list+0x194/0x1d0 io_uring/io_uring.c:1057 tctx_task_work_run+0x6e/0x1c0 io_uring/io_uring.c:1121 tctx_task_work+0x44/0x80 io_uring/io_uring.c:1139 task_work_run+0x13c/0x1b0 kernel/task_work.c:227 get_signal+0xee2/0x1080 kernel/signal.c:2807 arch_do_signal_or_restart+0x9a/0x480 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x62/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1a0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x2180 -> 0x2000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 13054 Comm: syz.6.3745 Not tainted 6.15.0-rc2-syzkaller-00278-gfc96b232f8e7 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================