loop2: detected capacity change from 0 to 512 ext4: Unknown parameter 'nž’rpid' ================================================================== BUG: KCSAN: data-race in mlock_new_folio / need_mlock_drain read-write to 0xffff888237c29f28 of 1 bytes by task 14225 on cpu 0: folio_batch_add include/linux/pagevec.h:74 [inline] mlock_new_folio+0x109/0x1f0 mm/mlock.c:281 folio_add_lru_vma+0x14d/0x160 mm/swap.c:535 do_anonymous_page mm/memory.c:4152 [inline] do_pte_missing mm/memory.c:3667 [inline] handle_pte_fault mm/memory.c:4978 [inline] __handle_mm_fault mm/memory.c:5119 [inline] handle_mm_fault+0x1cb7/0x2cc0 mm/memory.c:5284 faultin_page mm/gup.c:956 [inline] __get_user_pages+0x402/0xe40 mm/gup.c:1239 populate_vma_page_range mm/gup.c:1666 [inline] __mm_populate+0x216/0x330 mm/gup.c:1775 mm_populate include/linux/mm.h:3305 [inline] __do_sys_mlockall mm/mlock.c:729 [inline] __se_sys_mlockall+0x28d/0x320 mm/mlock.c:705 __x64_sys_mlockall+0x1f/0x30 mm/mlock.c:705 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffff888237c29f28 of 1 bytes by task 14248 on cpu 1: folio_batch_count include/linux/pagevec.h:53 [inline] need_mlock_drain+0x30/0x50 mm/mlock.c:236 cpu_needs_drain mm/swap.c:801 [inline] __lru_add_drain_all+0x240/0x420 mm/swap.c:889 lru_add_drain_all+0x10/0x20 mm/swap.c:905 invalidate_bdev+0x54/0x70 block/bdev.c:86 invalidate_disk+0x29/0x80 block/genhd.c:737 __loop_clr_fd+0x169/0x3b0 drivers/block/loop.c:1164 loop_clr_fd drivers/block/loop.c:1257 [inline] lo_ioctl+0xe93/0x12e0 drivers/block/loop.c:1563 blkdev_ioctl+0x375/0x460 block/ioctl.c:630 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xcf/0x140 fs/ioctl.c:857 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x0e -> 0x00 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 14248 Comm: syz-executor.2 Not tainted 6.5.0-syzkaller-13150-g535a265d7f0d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 ==================================================================