================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / __pagevec_lru_add write to 0xffff888237c27998 of 1 bytes by task 32587 on cpu 0: pagevec_reinit include/linux/pagevec.h:57 [inline] __pagevec_lru_add+0x243/0x270 mm/swap.c:1076 lru_add_drain_cpu+0x6a/0x260 mm/swap.c:613 lru_add_drain mm/swap.c:717 [inline] __pagevec_release+0x4b/0xc0 mm/swap.c:997 pagevec_release include/linux/pagevec.h:82 [inline] folio_batch_release include/linux/pagevec.h:146 [inline] truncate_inode_pages_range+0x36d/0x8b0 mm/truncate.c:382 truncate_inode_pages+0x20/0x30 mm/truncate.c:461 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:153 sb_set_blocksize+0x2c/0xa0 block/bdev.c:162 __ext4_fill_super+0x1b64/0x59b0 fs/ext4/super.c:4789 ext4_fill_super+0x10b/0x2f0 fs/ext4/super.c:5554 get_tree_bdev+0x2c2/0x3d0 fs/super.c:1292 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x11cf/0x1c40 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3552 __x64_sys_mount+0x63/0x70 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff888237c27998 of 1 bytes by task 1822 on cpu 1: pagevec_count include/linux/pagevec.h:62 [inline] __lru_add_drain_all+0x12c/0x3e0 mm/swap.c:835 lru_add_drain_all+0xc/0x10 mm/swap.c:857 invalidate_bdev+0x56/0x80 block/bdev.c:87 ext4_put_super+0x408/0x610 fs/ext4/super.c:1271 generic_shutdown_super+0xdf/0x250 fs/super.c:462 kill_block_super+0x4a/0x90 fs/super.c:1394 deactivate_locked_super+0x6a/0xb0 fs/super.c:332 deactivate_super+0x85/0x90 fs/super.c:363 cleanup_mnt+0x267/0x2d0 fs/namespace.c:1173 __cleanup_mnt+0x15/0x20 fs/namespace.c:1180 task_work_run+0x8e/0x110 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x160/0x190 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:300 do_syscall_64+0x50/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x08 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1822 Comm: syz-executor.0 Not tainted 5.17.0-rc8-syzkaller-00003-g56e337f2cf13-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================