================================================================== BUG: KCSAN: data-race in __lru_add_drain_all / __pagevec_lru_add write to 0xffff888237d27968 of 1 bytes by task 13572 on cpu 1: pagevec_reinit include/linux/pagevec.h:57 [inline] __pagevec_lru_add+0x2f5/0x320 mm/swap.c:1065 lru_add_drain_cpu+0x6a/0x260 mm/swap.c:601 lru_add_drain+0x21/0x60 mm/swap.c:706 __pagevec_release+0x3a/0x70 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+0x442/0xae0 mm/truncate.c:373 truncate_inode_pages+0x20/0x30 mm/truncate.c:452 kill_bdev block/bdev.c:77 [inline] set_blocksize+0x24e/0x270 block/bdev.c:153 sb_set_blocksize block/bdev.c:162 [inline] sb_min_blocksize+0x92/0x110 block/bdev.c:178 __ext4_fill_super fs/ext4/super.c:4336 [inline] ext4_fill_super+0x371/0x4f00 fs/ext4/super.c:5507 get_tree_bdev+0x2b4/0x3b0 fs/super.c:1292 ext4_get_tree+0x18/0x20 fs/ext4/super.c:5537 vfs_get_tree+0x49/0x190 fs/super.c:1497 do_new_mount+0x200/0x650 fs/namespace.c:3040 path_mount+0x4b1/0xb60 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568 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+0x46/0xb0 read to 0xffff888237d27968 of 1 bytes by task 1840 on cpu 0: pagevec_count include/linux/pagevec.h:62 [inline] __lru_add_drain_all+0x118/0x3e0 mm/swap.c:826 lru_add_drain_all+0xc/0x10 mm/swap.c:849 invalidate_bdev+0x56/0x80 block/bdev.c:87 ext4_put_super+0x510/0x810 fs/ext4/super.c:1279 generic_shutdown_super+0xd5/0x240 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:1186 __cleanup_mnt+0x15/0x20 fs/namespace.c:1193 task_work_run+0x8e/0x110 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x46/0xb0 value changed: 0x04 -> 0x01 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1840 Comm: syz-executor.1 Not tainted 5.19.0-rc5-syzkaller-00200-ga471da3100ef-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 ==================================================================