================================================================== BUG: KCSAN: data-race in inc_node_page_state / release_pages write to 0xffffea000484e300 of 8 bytes by task 19208 on cpu 0: instrument_write include/linux/instrumented.h:42 [inline] __clear_bit include/asm-generic/bitops/instrumented-non-atomic.h:42 [inline] __ClearPageLRU include/linux/page-flags.h:328 [inline] release_pages+0x439/0x9b0 mm/swap.c:849 __pagevec_release+0x4d/0x80 mm/swap.c:883 pagevec_release include/linux/pagevec.h:88 [inline] truncate_inode_pages_range+0xa1f/0x1010 mm/truncate.c:453 truncate_inode_pages mm/truncate.c:476 [inline] truncate_pagecache+0x5b/0x80 mm/truncate.c:817 ext4_setattr+0xc32/0x1290 fs/ext4/inode.c:5382 notify_change+0x82b/0xad0 fs/attr.c:336 do_truncate+0xf9/0x180 fs/open.c:64 handle_truncate fs/namei.c:2887 [inline] do_open fs/namei.c:3233 [inline] path_openat+0x1e51/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 __do_sys_openat fs/open.c:1178 [inline] __se_sys_openat fs/open.c:1173 [inline] __x64_sys_openat+0x5d/0x70 fs/open.c:1173 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffffea000484e300 of 8 bytes by task 9796 on cpu 1: page_pgdat include/linux/mm.h:1416 [inline] inc_node_page_state+0x19/0xc0 mm/vmstat.c:589 test_clear_page_writeback+0x34c/0x7e0 mm/page-writeback.c:2758 end_page_writeback+0x98/0x180 mm/filemap.c:1317 ext4_finish_bio+0x39b/0x460 fs/ext4/page-io.c:146 ext4_release_io_end+0xc5/0x270 fs/ext4/page-io.c:161 ext4_end_io_end fs/ext4/page-io.c:195 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:260 [inline] ext4_end_io_rsv_work+0x159/0x400 fs/ext4/page-io.c:274 process_one_work+0x424/0x930 kernel/workqueue.c:2268 worker_thread+0x9a/0x7e0 kernel/workqueue.c:2414 kthread+0x203/0x230 kernel/kthread.c:268 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9796 Comm: kworker/u4:3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work ==================================================================