__put_partials+0x14c/0x160 mm/slub.c:2922 qlink_free mm/kasan/quarantine.c:160 [inline] qlist_free_all+0x58/0x150 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x18e/0x1d0 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:324 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3813 [inline] slab_alloc_node mm/slub.c:3860 [inline] kmalloc_trace+0x147/0x330 mm/slub.c:4007 kmalloc include/linux/slab.h:590 [inline] kzalloc include/linux/slab.h:711 [inline] ext4_htree_create_dir_info fs/ext4/dir.c:438 [inline] ext4_dx_readdir fs/ext4/dir.c:556 [inline] ext4_readdir+0x2639/0x3710 fs/ext4/dir.c:142 iterate_dir+0x28c/0x9e0 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64 fs/readdir.c:394 [inline] __x64_sys_getdents64+0x14f/0x2e0 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd0/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x62/0x6a ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16146 at include/linux/rmap.h:202 __folio_rmap_sanity_checks+0x4d5/0x630 include/linux/rmap.h:202 Modules linked in: CPU: 1 PID: 16146 Comm: syz-executor.4 Not tainted 6.7.0-rc8-next-20240105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:__folio_rmap_sanity_checks+0x4d5/0x630 include/linux/rmap.h:202 Code: 41 83 e4 01 44 89 e6 e8 09 b4 b7 ff 45 84 e4 0f 85 08 fc ff ff e8 cb b8 b7 ff 48 c7 c6 a0 b6 d9 8a 48 89 df e8 5c 12 f7 ff 90 <0f> 0b 90 e9 eb fb ff ff e8 ae b8 b7 ff be 01 00 00 00 48 89 df e8 RSP: 0018:ffffc90007a2f210 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffea0000f56200 RCX: ffffc90003db1000 RDX: 0000000000040000 RSI: ffffffff81d06af4 RDI: 0000000000000000 RBP: ffffea0000f56200 R08: 0000000000000000 R09: fffffbfff1e75fda R10: ffffffff8f3afed7 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fd408caa6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3e4a778198 CR3: 000000001d49f000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __folio_add_rmap mm/rmap.c:1167 [inline] __folio_add_file_rmap mm/rmap.c:1452 [inline] folio_add_file_rmap_ptes+0x8e/0x2c0 mm/rmap.c:1478 insert_page_into_pte_locked.isra.0+0x34d/0x960 mm/memory.c:1874 insert_page_in_batch_locked mm/memory.c:1916 [inline] insert_pages mm/memory.c:1957 [inline] vm_insert_pages+0x4e4/0xce0 mm/memory.c:2008 tcp_zerocopy_vm_insert_batch+0xc4/0x430 net/ipv4/tcp.c:1995 tcp_zerocopy_receive+0x1001/0x2760 net/ipv4/tcp.c:2168 do_tcp_getsockopt+0xb7b/0x2950 net/ipv4/tcp.c:4276 tcp_getsockopt net/ipv4/tcp.c:4363 [inline] tcp_getsockopt+0xd1/0xf0 net/ipv4/tcp.c:4354 do_sock_getsockopt+0x2e1/0x6c0 net/socket.c:2373 __sys_getsockopt+0x1a1/0x270 net/socket.c:2402 __do_sys_getsockopt net/socket.c:2412 [inline] __se_sys_getsockopt net/socket.c:2409 [inline] __x64_sys_getsockopt+0xbd/0x150 net/socket.c:2409 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd0/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7fd407e7cd29 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:00007fd408caa0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007fd407fabf80 RCX: 00007fd407e7cd29 RDX: 0000000000000023 RSI: 0000000000000006 RDI: 0000000000000006 RBP: 00007fd407ec947a R08: 0000000020000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd407fabf80 R15: 00007ffec6746a68