================================================================== BUG: KCSAN: data-race in __wb_writeout_add / writeout_period write to 0xffffffff86e8e448 of 8 bytes by interrupt on cpu 0: writeout_period+0xa6/0xe0 mm/page-writeback.c:611 call_timer_fn+0x2e/0x240 kernel/time/timer.c:1421 expire_timers+0x116/0x240 kernel/time/timer.c:1466 __run_timers+0x320/0x3d0 kernel/time/timer.c:1734 run_timer_softirq+0x56/0x60 kernel/time/timer.c:1749 __do_softirq+0x158/0x2e3 kernel/softirq.c:558 __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0x41/0x70 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x8d/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 copy_user_generic_unrolled+0xac/0xd0 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline] _copy_from_user+0x78/0xc0 lib/usercopy.c:16 copy_from_user include/linux/uaccess.h:152 [inline] copy_from_sockptr_offset include/linux/sockptr.h:48 [inline] tcp_repair_options_est net/ipv4/tcp.c:3154 [inline] do_tcp_setsockopt net/ipv4/tcp.c:3548 [inline] tcp_setsockopt+0x1089/0x1be0 net/ipv4/tcp.c:3698 sock_common_setsockopt+0x5d/0x70 net/core/sock.c:3505 __sys_setsockopt+0x212/0x2b0 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2188 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+0x44/0xae read to 0xffffffff86e8e448 of 8 bytes by task 274 on cpu 1: wb_domain_writeout_add mm/page-writeback.c:560 [inline] __wb_writeout_add+0x8a/0x1d0 mm/page-writeback.c:581 __folio_end_writeback+0x2f4/0x540 mm/page-writeback.c:2809 folio_end_writeback+0x57/0x130 mm/filemap.c:1652 end_page_writeback+0x3b/0xe0 mm/folio-compat.c:26 ext4_finish_bio+0x30e/0x3f0 fs/ext4/page-io.c:143 ext4_release_io_end+0x5f/0x140 fs/ext4/page-io.c:158 ext4_end_io_end fs/ext4/page-io.c:192 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:257 [inline] ext4_end_io_rsv_work+0x206/0x280 fs/ext4/page-io.c:271 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x0000000100001e09 -> 0x0000000100001f35 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 274 Comm: kworker/u4:3 Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work ==================================================================