================================================================== BUG: KCSAN: data-race in delete_from_page_cache_batch / page_mapping write to 0xffffea0004c9ee18 of 8 bytes by task 20625 on cpu 1: page_cache_delete_batch mm/filemap.c:319 [inline] delete_from_page_cache_batch+0x30c/0x6c0 mm/filemap.c:349 truncate_inode_pages_range+0x1d5/0xad0 mm/truncate.c:326 truncate_inode_pages+0x20/0x30 mm/truncate.c:425 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:157 sb_set_blocksize+0x2c/0xa0 block/bdev.c:166 ext4_fill_super+0x2287/0x7830 fs/ext4/super.c:4327 mount_bdev+0x1e8/0x290 fs/super.c:1368 ext4_mount+0x2d/0x40 fs/ext4/super.c:6515 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610 vfs_get_tree+0x4a/0x1a0 fs/super.c:1498 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x11ec/0x1d20 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3516 __x64_sys_mount+0x63/0x70 fs/namespace.c:3516 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffea0004c9ee18 of 8 bytes by task 344 on cpu 0: page_mapping+0x111/0x1c0 mm/util.c:725 page_evictable mm/internal.h:83 [inline] __pagevec_lru_add_fn+0x82/0x490 mm/swap.c:1024 __pagevec_lru_add+0x189/0x240 mm/swap.c:1052 lru_cache_add+0x121/0x150 mm/swap.c:453 add_to_page_cache_lru+0x150/0x1b0 mm/filemap.c:1000 pagecache_get_page+0x6ad/0x910 mm/filemap.c:1951 find_or_create_page include/linux/pagemap.h:420 [inline] grow_dev_page fs/buffer.c:949 [inline] grow_buffers fs/buffer.c:1014 [inline] __getblk_slow fs/buffer.c:1041 [inline] __getblk_gfp+0x199/0x590 fs/buffer.c:1334 __getblk include/linux/buffer_head.h:382 [inline] jbd2_journal_get_descriptor_buffer+0xa6/0x1d0 fs/jbd2/journal.c:1014 write_one_revoke_record fs/jbd2/revoke.c:610 [inline] jbd2_journal_write_revoke_records+0x397/0x770 fs/jbd2/revoke.c:554 jbd2_journal_commit_transaction+0x92f/0x3430 fs/jbd2/commit.c:596 kjournald2+0x268/0x490 fs/jbd2/journal.c:213 kthread+0x262/0x280 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 value changed: 0xffff888101071568 -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 344 Comm: jbd2/sda1-8 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================