copy_from_user include/linux/uaccess.h:171 [inline] copy_msghdr_from_user+0xd0/0xa00 net/socket.c:1995 ___sys_sendmsg+0x1e5/0x1290 net/socket.c:2059 BUG: unable to handle kernel paging request at 00000000084fc1e8 PGD 8000000145440067 P4D 8000000145440067 __sys_sendmmsg+0x4ac/0x930 net/socket.c:2209 PUD 145443067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 0 PID: 8230 Comm: syz-executor2 Not tainted 4.19.0-rc1+ #38 __do_sys_sendmmsg net/socket.c:2238 [inline] __se_sys_sendmmsg net/socket.c:2235 [inline] __x64_sys_sendmmsg+0x11c/0x170 net/socket.c:2235 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:338 [inline] RIP: 0010:free_swap_cache mm/swap_state.c:290 [inline] RIP: 0010:free_pages_and_swap_cache+0xff/0x570 mm/swap_state.c:318 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 Code: ff 4c 8b 38 48 89 85 60 ff ff ff 48 89 c7 e8 c8 d7 0c 00 4c 8b 20 44 8b 32 49 8d 5f 08 4d 85 e4 0f 85 f8 01 00 00 44 89 75 d0 <4d> 8b 77 08 48 89 9d 68 ff ff ff 48 89 df e8 9e d7 0c 00 4c 8b 28 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RSP: 0018:ffff88012b4df650 EFLAGS: 00010246 RIP: 0033:0x457089 RAX: ffff8801272e0fd0 RBX: 00000000084fc1e8 RCX: ffff8801272e1fd0 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RDX: ffff8801272e1fd0 RSI: aaaaaaaaaaaab000 RDI: ffffea0006f3d7a0 RSP: 002b:00007fa928da7c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RBP: ffff88012b4df6f0 R08: 0000000000000000 R09: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fa928da86d4 RCX: 0000000000457089 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 RDX: 0000000000000023 RSI: 0000000020871fc8 RDI: 0000000000000004 R13: 00000000000001f9 R14: 000000009400008b R15: 00000000084fc1e0 FS: 0000000001bb8940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005 CR2: 00000000084fc1e8 CR3: 0000000145536000 CR4: 00000000001406f0 R13: 00000000004d41e0 R14: 00000000004c8a21 R15: 0000000000000000 Call Trace: tlb_flush_mmu_free mm/memory.c:250 [inline] zap_pte_range mm/memory.c:1406 [inline] zap_pmd_range mm/memory.c:1441 [inline] zap_pud_range mm/memory.c:1470 [inline] zap_p4d_range mm/memory.c:1491 [inline] unmap_page_range+0x37b8/0x4170 mm/memory.c:1512 unmap_single_vma+0x445/0x5e0 mm/memory.c:1557 unmap_vmas+0x251/0x380 mm/memory.c:1587 exit_mmap+0x4b7/0x940 mm/mmap.c:3093 __mmput+0x154/0x5f0 kernel/fork.c:1003 mmput+0xa7/0xe0 kernel/fork.c:1024 exit_mm+0x6dd/0x790 kernel/exit.c:546 do_exit+0xbf7/0x3890 kernel/exit.c:856 do_group_exit+0x1a0/0x350 kernel/exit.c:972 __do_sys_exit_group+0x21/0x30 kernel/exit.c:983 __se_sys_exit_group+0x14/0x20 kernel/exit.c:981 __x64_sys_exit_group+0x4c/0x50 kernel/exit.c:981 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:0000000000a3fda8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000457089 RDX: 0000000000410c41 RSI: fffffffffffffff7 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: 000000000003b724 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000d R13: 000000000003b724 R14: 0000000000000023 R15: badc0ffeebadface Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 00000000084fc1e8 ---[ end trace 585596ffaeac3e92 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline] RIP: 0010:compound_head include/linux/page-flags.h:142 [inline] RIP: 0010:PageSwapCache include/linux/page-flags.h:338 [inline] RIP: 0010:free_swap_cache mm/swap_state.c:290 [inline] RIP: 0010:free_pages_and_swap_cache+0xff/0x570 mm/swap_state.c:318 Code: ff 4c 8b 38 48 89 85 60 ff ff ff 48 89 c7 e8 c8 d7 0c 00 4c 8b 20 44 8b 32 49 8d 5f 08 4d 85 e4 0f 85 f8 01 00 00 44 89 75 d0 <4d> 8b 77 08 48 89 9d 68 ff ff ff 48 89 df e8 9e d7 0c 00 4c 8b 28 RSP: 0018:ffff88012b4df650 EFLAGS: 00010246 RAX: ffff8801272e0fd0 RBX: 00000000084fc1e8 RCX: ffff8801272e1fd0 RDX: ffff8801272e1fd0 RSI: aaaaaaaaaaaab000 RDI: ffffea0006f3d7a0 RBP: ffff88012b4df6f0 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000000001f9 R14: 000000009400008b R15: 00000000084fc1e0 FS: 0000000001bb8940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000084fc1e8 CR3: 0000000145536000 CR4: 00000000001406f0