loop0: detected capacity change from 0 to 544 ================================================================== BUG: KCSAN: data-race in pcpu_alloc / pcpu_free_area write to 0xffffffff8455f74c of 4 bytes by task 1782 on cpu 1: pcpu_update_empty_pages mm/percpu.c:559 [inline] pcpu_block_update_hint_free mm/percpu.c:994 [inline] pcpu_free_area+0x50c/0x5a0 mm/percpu.c:1254 free_percpu+0x1d2/0x690 mm/percpu.c:2102 xt_percpu_counter_free+0x5f/0x70 net/netfilter/x_tables.c:1889 cleanup_entry+0x170/0x1a0 net/ipv6/netfilter/ip6_tables.c:672 __do_replace+0x46e/0x590 net/ipv6/netfilter/ip6_tables.c:1101 do_replace net/ipv6/netfilter/ip6_tables.c:1156 [inline] do_ip6t_set_ctl+0x6b5/0x16d0 net/ipv6/netfilter/ip6_tables.c:1638 nf_setsockopt+0x1a6/0x1c0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x1af1/0x3410 net/ipv6/ipv6_sockglue.c:1008 tcp_setsockopt+0x8c/0xa0 net/ipv4/tcp.c:3656 sock_common_setsockopt+0x5d/0x70 net/core/sock.c:3257 __sys_setsockopt+0x18f/0x200 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2128 [inline] __se_sys_setsockopt net/socket.c:2125 [inline] __x64_sys_setsockopt+0x62/0x70 net/socket.c:2125 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffffffff8455f74c of 4 bytes by task 5389 on cpu 0: pcpu_alloc+0xa33/0x1200 mm/percpu.c:1835 __alloc_percpu+0x20/0x30 mm/percpu.c:1907 __percpu_init_rwsem+0x15/0x80 kernel/locking/percpu-rwsem.c:15 alloc_super+0x19c/0x520 fs/super.c:235 sget+0x1a5/0x400 fs/super.c:614 mount_bdev+0xd3/0x290 fs/super.c:1341 ext4_mount+0x2d/0x40 fs/ext4/super.c:6632 legacy_get_tree+0x70/0xc0 fs/fs_context.c:592 vfs_get_tree+0x4a/0x1a0 fs/super.c:1498 do_new_mount fs/namespace.c:2905 [inline] path_mount+0x11d4/0x1ce0 fs/namespace.c:3235 do_mount fs/namespace.c:3248 [inline] __do_sys_mount fs/namespace.c:3456 [inline] __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3433 __x64_sys_mount+0x63/0x70 fs/namespace.c:3433 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 5389 Comm: syz-executor.0 Not tainted 5.13.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== EXT4-fs (loop0): bad geometry: first data block 2560 is beyond end of filesystem (64) loop0: detected capacity change from 0 to 544 EXT4-fs (loop0): bad geometry: first data block 2560 is beyond end of filesystem (64)