process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:3433! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 3 UID: 0 PID: 9218 Comm: syz.5.1017 Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:filemap_fault+0x1862/0x2740 mm/filemap.c:3433 Code: 00 e9 bf ec ff ff 48 8b 7c 24 28 e8 78 46 2d 00 e9 66 f3 ff ff e8 7e cd c7 ff 48 c7 c6 40 ee 98 8b 48 89 df e8 0f 90 10 00 90 <0f> 0b e8 67 cd c7 ff 48 c7 c6 a0 e4 98 8b 48 89 df e8 f8 8f 10 00 RSP: 0018:ffffc90003937790 EFLAGS: 00010283 RAX: 00000000000597fe RBX: ffffea0000e20100 RCX: ffffc9000c4e1000 RDX: 0000000000080000 RSI: ffffffff81f38221 RDI: ffff8880261f4cc4 RBP: ffffc90003937a60 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881075c1f78 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f05439f66c0(0000) GS:ffff8880d6cb2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000056b8 CR3: 00000000470fa000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __do_fault+0x10a/0x490 mm/memory.c:5098 do_shared_fault mm/memory.c:5582 [inline] do_fault mm/memory.c:5656 [inline] do_pte_missing+0x1a6/0x3fb0 mm/memory.c:4160 handle_pte_fault mm/memory.c:5997 [inline] __handle_mm_fault+0x103d/0x2a40 mm/memory.c:6140 handle_mm_fault+0x3fe/0xad0 mm/memory.c:6309 do_user_addr_fault+0x7a6/0x1370 arch/x86/mm/fault.c:1388 handle_page_fault arch/x86/mm/fault.c:1480 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1538 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_4+0xd/0x20 arch/x86/lib/putuser.S:94 Code: 66 89 01 31 c9 0f 01 ca c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <89> 01 31 c9 0f 01 ca c3 cc cc cc cc 0f 1f 80 00 00 00 00 90 90 90 RSP: 0018:ffffc90003937cf0 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00002000000056b8 RDX: 0000000000080000 RSI: ffffffff893fdf79 RDI: ffffffff8bf46440 RBP: 0000000000000097 R08: 14128129e3c1c85b R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000040000 R13: 0000200000005680 R14: 0000000000000180 R15: 0000000000000181 __sys_sendmmsg+0x234/0x420 net/socket.c:2714 __do_sys_sendmmsg net/socket.c:2736 [inline] __se_sys_sendmmsg net/socket.c:2733 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2733 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0545b8e169 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f05439f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f0545db5fa0 RCX: 00007f0545b8e169 RDX: 0400000000000181 RSI: 00002000000030c0 RDI: 0000000000000006 RBP: 00007f0545c10a68 R08: 0000000000000000 R09: 0000000000000000 R10: 9200000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0545db5fa0 R15: 00007fffe8da07d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_fault+0x1862/0x2740 mm/filemap.c:3433 Code: 00 e9 bf ec ff ff 48 8b 7c 24 28 e8 78 46 2d 00 e9 66 f3 ff ff e8 7e cd c7 ff 48 c7 c6 40 ee 98 8b 48 89 df e8 0f 90 10 00 90 <0f> 0b e8 67 cd c7 ff 48 c7 c6 a0 e4 98 8b 48 89 df e8 f8 8f 10 00 RSP: 0018:ffffc90003937790 EFLAGS: 00010283 RAX: 00000000000597fe RBX: ffffea0000e20100 RCX: ffffc9000c4e1000 RDX: 0000000000080000 RSI: ffffffff81f38221 RDI: ffff8880261f4cc4 RBP: ffffc90003937a60 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881075c1f78 R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f05439f66c0(0000) GS:ffff8880d6cb2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000056b8 CR3: 00000000470fa000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 66 89 01 mov %ax,(%rcx) 3: 31 c9 xor %ecx,%ecx 5: 0f 01 ca clac 8: c3 ret 9: cc int3 a: cc int3 b: cc int3 c: cc int3 d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 48 89 cb mov %rcx,%rbx 20: 48 c1 fb 3f sar $0x3f,%rbx 24: 48 09 d9 or %rbx,%rcx 27: 0f 01 cb stac * 2a: 89 01 mov %eax,(%rcx) <-- trapping instruction 2c: 31 c9 xor %ecx,%ecx 2e: 0f 01 ca clac 31: c3 ret 32: cc int3 33: cc int3 34: cc int3 35: cc int3 36: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3d: 90 nop 3e: 90 nop 3f: 90 nop