------------[ cut here ]------------ __mod_memcg_lruvec_state: missing stat item 25 WARNING: CPU: 1 PID: 10532 at mm/memcontrol.c:999 __mod_memcg_lruvec_state+0x18c/0x430 mm/memcontrol.c:999 Modules linked in: CPU: 1 PID: 10532 Comm: syz-executor.2 Not tainted 6.9.0-rc7-next-20240506-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__mod_memcg_lruvec_state+0x18c/0x430 mm/memcontrol.c:999 Code: ad 35 94 0d 00 0f 85 a4 01 00 00 c6 05 a0 35 94 0d 01 90 48 c7 c7 80 53 d7 8b 48 c7 c6 54 27 b8 8d 44 89 fa e8 55 f1 54 ff 90 <0f> 0b 90 90 e9 7c 01 00 00 4c 8d 7c 24 60 4c 89 fb 48 c1 eb 03 42 RSP: 0018:ffffc90014b4f260 EFLAGS: 00010246 RAX: c9ddeb8a30bd4200 RBX: ffffffff8fad3cb9 RCX: 0000000000040000 RDX: ffffc9000b6a6000 RSI: 00000000000070c8 RDI: 00000000000070c9 RBP: ffffc90014b4f340 R08: ffffffff815846c2 R09: fffffbfff1c3995c R10: dffffc0000000000 R11: fffffbfff1c3995c R12: 0000000000000200 R13: dffffc0000000000 R14: 1ffff92002969e50 R15: 0000000000000019 FS: 00007f5da84416c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdbf9554f8 CR3: 000000007990e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mod_lruvec_state mm/memcontrol.c:1055 [inline] __lruvec_stat_mod_folio+0x1a4/0x300 mm/memcontrol.c:1075 __folio_add_file_rmap mm/rmap.c:1444 [inline] folio_add_file_rmap_pmd+0x29c/0x700 mm/rmap.c:1485 do_set_pmd+0x767/0xc40 mm/memory.c:4650 finish_fault+0x7b2/0xde0 mm/memory.c:4767 do_read_fault mm/memory.c:4930 [inline] do_fault mm/memory.c:5056 [inline] do_pte_missing mm/memory.c:3903 [inline] handle_pte_fault+0x3da1/0x70f0 mm/memory.c:5380 __handle_mm_fault mm/memory.c:5523 [inline] handle_mm_fault+0x10df/0x1ba0 mm/memory.c:5688 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:rep_movs_alternative+0x30/0x70 arch/x86/lib/copy_user_64.S:57 Code: f9 40 73 40 83 f9 08 73 21 85 c9 74 0f 8a 06 88 07 48 ff c7 48 ff c6 48 ff c9 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 <48> 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 RSP: 0018:ffffc90014b4fd10 EFLAGS: 00050212 RAX: ffffffff84afb201 RBX: 0000000020000010 RCX: 0000000000000010 RDX: 0000000000000001 RSI: 0000000020000000 RDI: ffffc90014b4fd80 RBP: ffffc90014b4fdf0 R08: ffffc90014b4fd8f R09: 1ffff92002969fb1 R10: dffffc0000000000 R11: fffff52002969fb2 R12: 0000000020000000 R13: dffffc0000000000 R14: ffffc90014b4fd80 R15: 0000000000000010 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_from_user arch/x86/include/asm/uaccess_64.h:125 [inline] _copy_from_user+0x8c/0xe0 lib/usercopy.c:23 copy_from_user include/linux/uaccess.h:183 [inline] io_register_file_alloc_range+0x95/0x2f0 io_uring/filetable.c:166 __io_uring_register io_uring/register.c:545 [inline] __do_sys_io_uring_register io_uring/register.c:612 [inline] __se_sys_io_uring_register+0x8a1/0x15d0 io_uring/register.c:573 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5da767dca9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5da84410c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007f5da77ac120 RCX: 00007f5da767dca9 RDX: 0000000020000000 RSI: 0000000000000019 RDI: 0000000000000004 RBP: 00007f5da76c947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5da77ac120 R15: 00007ffff22f93c8 ---------------- Code disassembly (best guess): 0: f9 stc 1: 40 73 40 rex jae 0x44 4: 83 f9 08 cmp $0x8,%ecx 7: 73 21 jae 0x2a 9: 85 c9 test %ecx,%ecx b: 74 0f je 0x1c d: 8a 06 mov (%rsi),%al f: 88 07 mov %al,(%rdi) 11: 48 ff c7 inc %rdi 14: 48 ff c6 inc %rsi 17: 48 ff c9 dec %rcx 1a: 75 f1 jne 0xd 1c: c3 ret 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 28: 00 00 * 2a: 48 8b 06 mov (%rsi),%rax <-- trapping instruction 2d: 48 89 07 mov %rax,(%rdi) 30: 48 83 c6 08 add $0x8,%rsi 34: 48 83 c7 08 add $0x8,%rdi 38: 83 e9 08 sub $0x8,%ecx 3b: 74 df je 0x1c 3d: 83 f9 08 cmp $0x8,%ecx