================================================================== BUG: KCSAN: data-race in clean_buffers / recalc_bh_state read to 0xffffffff8625aed0 of 4 bytes by task 12991 on cpu 1: clean_buffers fs/mpage.c:482 [inline] clean_buffers+0x104/0x1b0 fs/mpage.c:461 __mpage_writepage+0xad1/0xe70 fs/mpage.c:657 write_cache_pages+0x47a/0xb40 mm/page-writeback.c:2238 mpage_writepages+0xab/0x180 fs/mpage.c:730 fat_writepages+0x2e/0x40 fs/fat/inode.c:204 do_writepages+0x6b/0x170 mm/page-writeback.c:2344 __writeback_single_inode+0xaf/0x8e0 fs/fs-writeback.c:1452 writeback_sb_inodes+0x4ba/0xa50 fs/fs-writeback.c:1716 wb_writeback+0x1f9/0x6a0 fs/fs-writeback.c:1892 wb_do_writeback fs/fs-writeback.c:2037 [inline] wb_workfn+0x22e/0x970 fs/fs-writeback.c:2078 process_one_work+0x3d4/0x890 kernel/workqueue.c:2264 worker_thread+0xa0/0x800 kernel/workqueue.c:2410 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 write to 0xffffffff8625aed0 of 4 bytes by task 29735 on cpu 0: recalc_bh_state fs/buffer.c:3403 [inline] recalc_bh_state+0x124/0x150 fs/buffer.c:3393 alloc_buffer_head+0xa8/0x100 fs/buffer.c:3413 alloc_page_buffers+0x13d/0x320 fs/buffer.c:871 create_empty_buffers+0x47/0x3e0 fs/buffer.c:1558 create_page_buffers+0x15a/0x180 fs/buffer.c:1675 __block_write_begin_int+0x14d/0xf10 fs/buffer.c:1987 __block_write_begin fs/buffer.c:2058 [inline] block_write_begin+0x77/0x160 fs/buffer.c:2117 cont_write_begin+0x3d6/0x670 fs/buffer.c:2466 fat_write_begin+0x72/0xc0 fs/fat/inode.c:235 pagecache_write_begin+0x6b/0x90 mm/filemap.c:3128 cont_expand_zero fs/buffer.c:2393 [inline] cont_write_begin+0x17a/0x670 fs/buffer.c:2456 fat_write_begin+0x72/0xc0 fs/fat/inode.c:235 pagecache_write_begin+0x6b/0x90 mm/filemap.c:3128 generic_cont_expand_simple+0xb0/0x120 fs/buffer.c:2357 fat_cont_expand+0x4e/0x1c0 fs/fat/file.c:222 fat_fallocate+0x1af/0x1f0 fs/fat/file.c:300 vfs_fallocate+0x3be/0x650 fs/open.c:309 ksys_fallocate+0x61/0xa0 fs/open.c:332 __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0x5e/0x80 fs/open.c:338 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: 29735 Comm: syz-executor.3 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================