__purge_vmap_area_lazy+0xa06/0xc60 mm/vmalloc.c:2348 drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2382 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:867! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 8565 Comm: syz.5.775 Not tainted 6.16.0-rc3-syzkaller-00306-gaaf724ed6926 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__filemap_add_folio+0xf53/0x11d0 mm/filemap.c:867 Code: c5 c8 ff 48 c7 c6 40 16 b9 8b 4c 89 ef e8 65 13 11 00 90 0f 0b e8 4d c5 c8 ff 48 c7 c6 a0 16 b9 8b 4c 89 ef e8 4e 13 11 00 90 <0f> 0b e8 36 c5 c8 ff 90 0f 0b 90 e9 f2 fb ff ff e8 28 c5 c8 ff 48 RSP: 0018:ffffc9000aed74f0 EFLAGS: 00010246 RAX: 0000000000080000 RBX: 0000000000000002 RCX: ffffc9000d7b0000 RDX: 0000000000080000 RSI: ffffffff81f35a82 RDI: ffff88802c5a8444 RBP: 0000000000112cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a82957 R11: 0000000000000001 R12: 0000000000000004 R13: ffffea0001224a00 R14: 0000000000040000 R15: 0000000000000002 FS: 00007f4eed6806c0(0000) GS:ffff888124759000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81ea181178 CR3: 0000000045de6000 CR4: 0000000000350ef0 Call Trace: filemap_add_folio+0x10e/0x220 mm/filemap.c:969 ra_alloc_folio mm/readahead.c:448 [inline] page_cache_ra_order+0x586/0xd00 mm/readahead.c:509 do_sync_mmap_readahead mm/filemap.c:3271 [inline] filemap_fault+0x1465/0x26c0 mm/filemap.c:3412 __do_fault+0x10d/0x490 mm/memory.c:5169 do_shared_fault mm/memory.c:5654 [inline] do_fault mm/memory.c:5728 [inline] do_pte_missing mm/memory.c:4251 [inline] handle_pte_fault mm/memory.c:6069 [inline] __handle_mm_fault+0x374c/0x5490 mm/memory.c:6212 handle_mm_fault+0x589/0xd10 mm/memory.c:6381 do_user_addr_fault+0x7a6/0x1370 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x5c/0xb0 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] RIP: 0010:raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] RIP: 0010:_inline_copy_to_user include/linux/uaccess.h:197 [inline] RIP: 0010:_copy_to_user+0xb6/0xd0 lib/usercopy.c:26 Code: 89 ee 48 89 ef e8 3a fd e1 fc 4d 85 ff 75 a8 e8 80 02 e2 fc 89 de 4c 89 e7 e8 96 f0 47 fd 0f 01 cb 48 89 d9 48 89 ef 4c 89 e6 a4 0f 1f 00 0f 01 ca 48 89 cb eb 80 66 2e 0f 1f 84 00 00 00 00 RSP: 0018:ffffc9000aed7c40 EFLAGS: 00050246 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000000008 RDX: fffff520015daf97 RSI: ffffc9000aed7cb0 RDI: 000020000001a040 RBP: 000020000001a040 R08: 0000000000000000 R09: fffff520015daf96 R10: ffffc9000aed7cb7 R11: 0000000000000001 R12: ffffc9000aed7cb0 R13: 000020000001a048 R14: 00007ffffffff000 R15: 0000000000000000 copy_to_user include/linux/uaccess.h:225 [inline] msr_read+0x14e/0x250 arch/x86/kernel/msr.c:69 vfs_read+0x1e4/0xc60 fs/read_write.c:570 ksys_read+0x12a/0x250 fs/read_write.c:715 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4eec78e929 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:00007f4eed680038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f4eec9b6080 RCX: 00007f4eec78e929 RDX: 0000000000019000 RSI: 000020000001a040 RDI: 0000000000000005 RBP: 00007f4eec810b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4eec9b6080 R15: 00007fff979d61c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0xf53/0x11d0 mm/filemap.c:867 Code: c5 c8 ff 48 c7 c6 40 16 b9 8b 4c 89 ef e8 65 13 11 00 90 0f 0b e8 4d c5 c8 ff 48 c7 c6 a0 16 b9 8b 4c 89 ef e8 4e 13 11 00 90 <0f> 0b e8 36 c5 c8 ff 90 0f 0b 90 e9 f2 fb ff ff e8 28 c5 c8 ff 48 RSP: 0018:ffffc9000aed74f0 EFLAGS: 00010246 RAX: 0000000000080000 RBX: 0000000000000002 RCX: ffffc9000d7b0000 RDX: 0000000000080000 RSI: ffffffff81f35a82 RDI: ffff88802c5a8444 RBP: 0000000000112cc0 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90a82957 R11: 0000000000000001 R12: 0000000000000004 R13: ffffea0001224a00 R14: 0000000000040000 R15: 0000000000000002 FS: 00007f4eed6806c0(0000) GS:ffff888124759000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe073581178 CR3: 0000000045de6000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 89 ee mov %ebp,%esi 2: 48 89 ef mov %rbp,%rdi 5: e8 3a fd e1 fc call 0xfce1fd44 a: 4d 85 ff test %r15,%r15 d: 75 a8 jne 0xffffffb7 f: e8 80 02 e2 fc call 0xfce20294 14: 89 de mov %ebx,%esi 16: 4c 89 e7 mov %r12,%rdi 19: e8 96 f0 47 fd call 0xfd47f0b4 1e: 0f 01 cb stac 21: 48 89 d9 mov %rbx,%rcx 24: 48 89 ef mov %rbp,%rdi 27: 4c 89 e6 mov %r12,%rsi * 2a: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2c: 0f 1f 00 nopl (%rax) 2f: 0f 01 ca clac 32: 48 89 cb mov %rcx,%rbx 35: eb 80 jmp 0xffffffb7 37: 66 data16 38: 2e cs 39: 0f .byte 0xf 3a: 1f (bad) 3b: 84 00 test %al,(%rax) 3d: 00 00 add %al,(%rax)