process_scheduled_works kernel/workqueue.c:3340 [inline] worker_thread+0x5da/0xe40 kernel/workqueue.c:3421 kthread+0x3b3/0x730 kernel/kthread.c:463 ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:858! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 808 Comm: syz.3.7143 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__filemap_add_folio+0xf7f/0x1220 mm/filemap.c:858 Code: cb c6 ff 48 c7 c6 20 19 9d 8b 4c 89 ef e8 a9 0b 12 00 90 0f 0b e8 01 cb c6 ff 48 c7 c6 80 19 9d 8b 4c 89 ef e8 92 0b 12 00 90 <0f> 0b e8 ea ca c6 ff 90 0f 0b 90 e9 9b fe ff ff e8 dc ca c6 ff 90 RSP: 0018:ffffc9000cbef698 EFLAGS: 00010287 RAX: 000000000002b9c9 RBX: 0000000000112c00 RCX: ffffc90026ac2000 RDX: 0000000000080000 RSI: ffffffff82523c88 RDI: ffff88804934ce04 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: ffffea0000f2f800 R14: 0000000000000000 R15: 1ffff9200197defd FS: 00007ff3bf1c46c0(0000) GS:ffff8880d65db000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb28b217dac CR3: 000000004bca8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000008 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: filemap_add_folio+0x1d8/0x690 mm/filemap.c:966 ra_alloc_folio mm/readahead.c:453 [inline] page_cache_ra_order+0x614/0xfe0 mm/readahead.c:512 do_sync_mmap_readahead mm/filemap.c:3400 [inline] filemap_fault+0x1b56/0x37c0 mm/filemap.c:3549 __do_fault+0x10d/0x550 mm/memory.c:5323 do_read_fault mm/memory.c:5758 [inline] do_fault+0xaf9/0x1990 mm/memory.c:5892 do_pte_missing mm/memory.c:4404 [inline] handle_pte_fault mm/memory.c:6276 [inline] __handle_mm_fault+0x1807/0x2b50 mm/memory.c:6414 handle_mm_fault+0x36d/0xa20 mm/memory.c:6583 do_user_addr_fault+0x74c/0x12f0 arch/x86/mm/fault.c:1385 handle_page_fault arch/x86/mm/fault.c:1474 [inline] exc_page_fault+0x6f/0xd0 arch/x86/mm/fault.c:1527 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0010:__get_user_nocheck_1+0x6/0x20 arch/x86/lib/getuser.S:119 Code: e9 ff 75 04 00 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 01 cb 0f ae e8 <0f> b6 10 31 c0 0f 01 ca e9 cd 75 04 00 66 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc9000cbefe88 EFLAGS: 00050206 RAX: 00002000000000c0 RBX: 0000000000000020 RCX: ffffc90026ac2000 RDX: 0000000000080000 RSI: ffffffff8175e926 RDI: ffffc9000cbeff48 RBP: ffff88804934c980 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000cbeff48 R13: 00000000000000ca R14: 00000000000000ca R15: 0000000000000000 syscall_user_dispatch+0x76/0x130 kernel/entry/syscall_user_dispatch.c:51 syscall_trace_enter+0x64/0x230 kernel/entry/syscall-common.c:31 syscall_enter_from_user_mode_work include/linux/entry-common.h:78 [inline] syscall_enter_from_user_mode include/linux/entry-common.h:109 [inline] do_syscall_64+0x460/0xf80 arch/x86/entry/syscall_64.c:90 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff3be39aeb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff3bf1c40e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00007ff3be615fa8 RCX: 00007ff3be39aeb9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007ff3be615fac RBP: 00007ff3be615fa0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff3be616038 R14: 00007ffc28962d10 R15: 00007ffc28962df8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0xf7f/0x1220 mm/filemap.c:858 Code: cb c6 ff 48 c7 c6 20 19 9d 8b 4c 89 ef e8 a9 0b 12 00 90 0f 0b e8 01 cb c6 ff 48 c7 c6 80 19 9d 8b 4c 89 ef e8 92 0b 12 00 90 <0f> 0b e8 ea ca c6 ff 90 0f 0b 90 e9 9b fe ff ff e8 dc ca c6 ff 90 RSP: 0018:ffffc9000cbef698 EFLAGS: 00010287 RAX: 000000000002b9c9 RBX: 0000000000112c00 RCX: ffffc90026ac2000 RDX: 0000000000080000 RSI: ffffffff82523c88 RDI: ffff88804934ce04 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000002 R13: ffffea0000f2f800 R14: 0000000000000000 R15: 1ffff9200197defd FS: 00007ff3bf1c46c0(0000) GS:ffff8880d65db000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb28b217dac CR3: 000000004bca8000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000008 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e9 ff 75 04 00 jmp 0x47604 5: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) c: 00 00 00 00 10: 0f 1f 40 00 nopl 0x0(%rax) 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: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 0f 01 cb stac 27: 0f ae e8 lfence * 2a: 0f b6 10 movzbl (%rax),%edx <-- trapping instruction 2d: 31 c0 xor %eax,%eax 2f: 0f 01 ca clac 32: e9 cd 75 04 00 jmp 0x47604 37: 66 data16 38: 66 data16 39: 2e cs 3a: 0f .byte 0xf 3b: 1f (bad) 3c: 84 00 test %al,(%rax)