general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 11253 Comm: syz-executor.0 Not tainted 5.16.0-rc6-next-20211224-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:_compound_head include/linux/page-flags.h:263 [inline] RIP: 0010:page_memcg include/linux/memcontrol.h:452 [inline] RIP: 0010:mod_memcg_page_state.part.0.constprop.0+0x28/0x5b0 include/linux/memcontrol.h:957 Code: 00 90 41 56 41 55 41 54 41 89 f4 55 48 89 fd 53 4c 8d 6d 08 e8 49 dd c1 ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 11 05 00 00 4c 8b 75 08 31 ff 4c 89 f3 83 e3 01 RSP: 0018:ffffc90010c974f8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc9000b109000 RDX: 0000000000000001 RSI: ffffffff81b62737 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81b745c0 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000008 R14: ffff8880182ca628 R15: ffff8880182ca600 FS: 00007f1b32018700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e923000 CR3: 000000001ac14000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mod_memcg_page_state mm/vmalloc.c:2971 [inline] __vmalloc_area_node mm/vmalloc.c:2971 [inline] __vmalloc_node_range+0x678/0xf80 mm/vmalloc.c:3106 __vmalloc_node mm/vmalloc.c:3156 [inline] vmalloc+0x67/0x80 mm/vmalloc.c:3197 netlink_alloc_large_skb net/netlink/af_netlink.c:1192 [inline] netlink_sendmsg+0x687/0xdf0 net/netlink/af_netlink.c:1892 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 sock_no_sendpage+0xf6/0x140 net/core/sock.c:3086 kernel_sendpage.part.0+0x1ff/0x7b0 net/socket.c:3505 kernel_sendpage net/socket.c:3502 [inline] sock_sendpage+0xe5/0x140 net/socket.c:1004 pipe_to_sendpage+0x2ad/0x380 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x43e/0x8a0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0xd4/0x140 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:936 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1b336a2e99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1b32018168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f1b337b5f60 RCX: 00007f1b336a2e99 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007f1b320181d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000080006 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc45e54d8f R14: 00007f1b32018300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:263 [inline] RIP: 0010:page_memcg include/linux/memcontrol.h:452 [inline] RIP: 0010:mod_memcg_page_state.part.0.constprop.0+0x28/0x5b0 include/linux/memcontrol.h:957 Code: 00 90 41 56 41 55 41 54 41 89 f4 55 48 89 fd 53 4c 8d 6d 08 e8 49 dd c1 ff 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 11 05 00 00 4c 8b 75 08 31 ff 4c 89 f3 83 e3 01 RSP: 0018:ffffc90010c974f8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc9000b109000 RDX: 0000000000000001 RSI: ffffffff81b62737 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81b745c0 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000008 R14: ffff8880182ca628 R15: ffff8880182ca600 FS: 00007f1b32018700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f676c4a4058 CR3: 000000001ac14000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 90 41 56 41 55 add %dl,0x55415641(%rax) 6: 41 54 push %r12 8: 41 89 f4 mov %esi,%r12d b: 55 push %rbp c: 48 89 fd mov %rdi,%rbp f: 53 push %rbx 10: 4c 8d 6d 08 lea 0x8(%rbp),%r13 14: e8 49 dd c1 ff callq 0xffc1dd62 19: 4c 89 ea mov %r13,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 11 05 00 00 jne 0x545 34: 4c 8b 75 08 mov 0x8(%rbp),%r14 38: 31 ff xor %edi,%edi 3a: 4c 89 f3 mov %r14,%rbx 3d: 83 e3 01 and $0x1,%ebx