BUG: unable to handle page fault for address: ffffed100fffc000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 7ffd3067 P4D 7ffd3067 PUD 7ffd2067 PMD 7ffd1067 PTE 0 Oops: 0002 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 17356 Comm: syz-executor.2 Not tainted 6.1.0-rc3-next-20221031 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:__memset+0x24/0x50 Code: 90 90 90 90 90 90 0f 1f 44 00 00 49 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 48 ab 89 d1 f3 aa 4c 89 c8 e9 4d d4 12 00 66 66 2e 0f 1f 84 00 RSP: 0018:ffff88804260ecc0 EFLAGS: 00010016 RAX: 0000000000000000 RBX: ffff888008647100 RCX: 1ffffe21fe432a98 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed100fffc000 RBP: ffff888008643500 R08: 0000000000000005 R09: ffffed10010c8e20 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008647100 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000400 FS: 00007fdb81c78700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed100fffc000 CR3: 000000001ea68000 CR4: 0000000000350ef0 Call Trace: kasan_unpoison+0x23/0x60 remove_element+0x12e/0x1a0 mempool_alloc+0x22f/0x380 bio_alloc_bioset+0x39a/0x790 __mpage_writepage+0xdf4/0x1710 write_cache_pages+0x48c/0x11a0 mpage_writepages+0xc2/0x180 do_writepages+0x1b0/0x6b0 filemap_fdatawrite_wbc+0x147/0x1c0 __filemap_fdatawrite_range+0xb6/0x110 file_write_and_wait_range+0xb6/0x140 __generic_file_fsync+0x74/0x200 fat_file_fsync+0x73/0x210 vfs_fsync_range+0x13d/0x240 generic_file_write_iter+0x25a/0x360 do_iter_readv_writev+0x211/0x3d0 do_iter_write+0x18b/0x710 vfs_iter_write+0x70/0xb0 iter_file_splice_write+0x73a/0xcb0 direct_splice_actor+0x10f/0x180 splice_direct_to_actor+0x336/0x8d0 do_splice_direct+0x1b8/0x2a0 do_sendfile+0xb1d/0x1290 __x64_sys_sendfile64+0x1d1/0x220 do_syscall_64+0x3b/0xa0 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7fdb84702b19 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:00007fdb81c78188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fdb84815f60 RCX: 00007fdb84702b19 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 RBP: 00007fdb81c781d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd99ba17af R14: 00007fdb81c78300 R15: 0000000000022000 Modules linked in: CR2: ffffed100fffc000 ---[ end trace 0000000000000000 ]--- RIP: 0010:__memset+0x24/0x50 Code: 90 90 90 90 90 90 0f 1f 44 00 00 49 89 f9 48 89 d1 83 e2 07 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 48 ab 89 d1 f3 aa 4c 89 c8 e9 4d d4 12 00 66 66 2e 0f 1f 84 00 RSP: 0018:ffff88804260ecc0 EFLAGS: 00010016 RAX: 0000000000000000 RBX: ffff888008647100 RCX: 1ffffe21fe432a98 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffed100fffc000 RBP: ffff888008643500 R08: 0000000000000005 R09: ffffed10010c8e20 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888008647100 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000400 FS: 00007fdb81c78700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed100fffc000 CR3: 000000001ea68000 CR4: 0000000000350ef0 note: syz-executor.2[17356] exited with preempt_count 1 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 17356 at kernel/exit.c:765 do_exit+0x1c1e/0x2730 Modules linked in: CPU: 0 PID: 17356 Comm: syz-executor.2 Tainted: G D 6.1.0-rc3-next-20221031 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:do_exit+0x1c1e/0x2730 Code: 00 00 65 01 05 ff a8 eb 7e e9 5b fb ff ff e8 d9 96 30 00 4c 89 f6 bf 05 06 00 00 e8 0c de 02 00 e9 ac e8 ff ff e8 c2 96 30 00 <0f> 0b e9 e6 e5 ff ff e8 b6 96 30 00 48 89 ef e8 1e 77 2f 00 e9 8d RSP: 0018:ffff88804260fe48 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888015112880 RCX: ffffc9000560c000 RDX: 0000000000040000 RSI: ffffffff811793fe RDI: ffff8880406690f0 RBP: ffff888040668000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1003d6bde0 R11: 0000000000000001 R12: ffff888040668798 R13: ffff88801eb5ef00 R14: 0000000000000009 R15: 0000000000000001 FS: 00007fdb81c78700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffed100fffc000 CR3: 000000001ea68000 CR4: 0000000000350ef0 Call Trace: make_task_dead+0x102/0x130 rewind_stack_and_make_dead+0x17/0x30 RIP: 0033:0x7fdb84702b19 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:00007fdb81c78188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fdb84815f60 RCX: 00007fdb84702b19 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000006 RBP: 00007fdb81c781d0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000fffffdef R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffd99ba17af R14: 00007fdb81c78300 R15: 0000000000022000 irq event stamp: 4718 hardirqs last enabled at (4717): [] folio_clear_dirty_for_io+0x54c/0x680 hardirqs last disabled at (4718): [] _raw_spin_lock_irqsave+0x52/0x70 softirqs last enabled at (4564): [] __irq_exit_rcu+0x11b/0x190 softirqs last disabled at (4555): [] __irq_exit_rcu+0x11b/0x190 ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) b: 49 89 f9 mov %rdi,%r9 e: 48 89 d1 mov %rdx,%rcx 11: 83 e2 07 and $0x7,%edx 14: 48 c1 e9 03 shr $0x3,%rcx 18: 40 0f b6 f6 movzbl %sil,%esi 1c: 48 b8 01 01 01 01 01 movabs $0x101010101010101,%rax 23: 01 01 01 26: 48 0f af c6 imul %rsi,%rax * 2a: f3 48 ab rep stos %rax,%es:(%rdi) <-- trapping instruction 2d: 89 d1 mov %edx,%ecx 2f: f3 aa rep stos %al,%es:(%rdi) 31: 4c 89 c8 mov %r9,%rax 34: e9 4d d4 12 00 jmpq 0x12d486 39: 66 data16 3a: 66 data16 3b: 2e cs 3c: 0f .byte 0xf 3d: 1f (bad) 3e: 84 00 test %al,(%rax)