================================================================== BUG: KCSAN: data-race in __filemap_add_folio / nr_blockdev_pages read-write to 0xffff8881005f3770 of 8 bytes by task 11993 on cpu 0: __filemap_add_folio+0x5b9/0x7d0 mm/filemap.c:928 filemap_add_folio+0x98/0x1b0 mm/filemap.c:969 __filemap_get_folio+0x31e/0x6b0 mm/filemap.c:1990 grow_dev_folio fs/buffer.c:1050 [inline] grow_buffers fs/buffer.c:1116 [inline] __getblk_slow fs/buffer.c:1140 [inline] bdev_getblk+0x16e/0x3d0 fs/buffer.c:1467 __getblk include/linux/buffer_head.h:382 [inline] sb_getblk include/linux/buffer_head.h:388 [inline] ext4_xattr_block_set+0x11e4/0x1a30 fs/ext4/xattr.c:2121 ext4_xattr_move_to_block fs/ext4/xattr.c:2659 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2734 [inline] ext4_expand_extra_isize_ea+0xc65/0x11f0 fs/ext4/xattr.c:2822 __ext4_expand_extra_isize+0x246/0x280 fs/ext4/inode.c:6306 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6349 [inline] __ext4_mark_inode_dirty+0x29d/0x3f0 fs/ext4/inode.c:6427 ext4_inline_data_truncate+0x4bf/0x690 fs/ext4/inline.c:1951 ext4_truncate+0x2ad/0xad0 fs/ext4/inode.c:4528 ext4_process_orphan+0x110/0x1c0 fs/ext4/orphan.c:339 ext4_orphan_cleanup+0x6a8/0xa00 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5605 [inline] ext4_fill_super+0x3171/0x34e0 fs/ext4/super.c:5724 get_tree_bdev_flags+0x291/0x300 fs/super.c:1681 get_tree_bdev+0x1f/0x30 fs/super.c:1704 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5756 vfs_get_tree+0x54/0x1d0 fs/super.c:1804 do_new_mount+0x207/0x680 fs/namespace.c:3902 path_mount+0x4a4/0xb20 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x28f/0x2e0 fs/namespace.c:4427 __x64_sys_mount+0x67/0x80 fs/namespace.c:4427 x64_sys_call+0xd36/0x2fb0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f read to 0xffff8881005f3770 of 8 bytes by task 6787 on cpu 1: nr_blockdev_pages+0x7e/0xd0 block/bdev.c:523 si_meminfo+0x87/0xd0 mm/show_mem.c:80 update_defense_level+0x47/0x5c0 net/netfilter/ipvs/ip_vs_ctl.c:102 defense_work_handler+0x1f/0x80 net/netfilter/ipvs/ip_vs_ctl.c:235 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x4cb/0x9d0 kernel/workqueue.c:3321 worker_thread+0x582/0x770 kernel/workqueue.c:3402 kthread+0x489/0x510 kernel/kthread.c:464 ret_from_fork+0xda/0x150 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 value changed: 0x0000000000000003 -> 0x0000000000000004 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 6787 Comm: kworker/1:6 Not tainted 6.16.0-rc4-syzkaller-00013-g66701750d556 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_long defense_work_handler ==================================================================