FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD a4d24067 P4D a4d24067 PUD 91208067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14378 Comm: syz-executor.3 Not tainted 4.19.132-syzkaller #0 CPU: 1 PID: 14366 Comm: syz-executor.2 Not tainted 4.19.132-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:test_and_set_bit arch/x86/include/asm/bitops.h:209 [inline] RIP: 0010:test_and_set_bit_lock arch/x86/include/asm/bitops.h:223 [inline] RIP: 0010:trylock_buffer include/linux/buffer_head.h:367 [inline] RIP: 0010:lock_buffer include/linux/buffer_head.h:373 [inline] RIP: 0010:alloc_branch fs/minix/itree_common.c:88 [inline] RIP: 0010:get_block+0x78b/0x1340 fs/minix/itree_common.c:191 Call Trace: Code: 00 00 49 8b bc 24 28 01 00 00 b9 08 00 00 00 e8 8b 73 bb ff 31 d2 be 74 01 00 00 48 c7 c7 a0 46 9c 87 49 89 c4 e8 25 37 4b ff 49 0f ba 2c 24 02 0f 92 c0 31 ff 89 c6 88 44 24 78 e8 4e 38 6d __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 RSP: 0018:ffff888058c37780 EFLAGS: 00010246 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x14 lib/fault-inject.c:149 RAX: 0000000000000007 RBX: 0000000000000c98 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880916e63a4 RBP: ffff888058c37918 R08: 0000000000000001 R09: 0000000000000000 __should_failslab+0x115/0x180 mm/failslab.c:32 R10: 0000000000000005 R11: 00000000584b9ac1 R12: 0000000000000000 should_failslab+0x5/0xf mm/slab_common.c:1558 R13: dffffc0000000000 R14: ffff888058c37844 R15: ffff888058c37880 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 FS: 00007fc2674c2700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 kmem_cache_zalloc include/linux/slab.h:699 [inline] mmu_topup_memory_cache arch/x86/kvm/mmu.c:996 [inline] mmu_topup_memory_cache arch/x86/kvm/mmu.c:988 [inline] mmu_topup_memory_caches+0x8f/0x370 arch/x86/kvm/mmu.c:1042 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kvm_mmu_load+0x1e/0x1200 arch/x86/kvm/mmu.c:5101 CR2: 0000000000000000 CR3: 00000000a8698000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kvm_mmu_reload arch/x86/kvm/mmu.h:86 [inline] vcpu_enter_guest arch/x86/kvm/x86.c:7689 [inline] vcpu_run arch/x86/kvm/x86.c:7883 [inline] kvm_arch_vcpu_ioctl_run+0x4c98/0x6ec0 arch/x86/kvm/x86.c:8083 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_vcpu_ioctl+0x493/0xe10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2822 minix_get_block+0xe5/0x110 fs/minix/inode.c:379 __block_write_begin_int+0x46c/0x17b0 fs/buffer.c:1978 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 __block_write_begin fs/buffer.c:2028 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2087 minix_write_begin+0x35/0x220 fs/minix/inode.c:415 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3162 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45cba9 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3287 Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 generic_file_write_iter+0x3f8/0x729 mm/filemap.c:3315 RSP: 002b:00007f3d27f93c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 RAX: ffffffffffffffda RBX: 00000000004e8f40 RCX: 000000000045cba9 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00000000000003d3 R14: 00000000004c696c R15: 00007f3d27f946d4 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45cba9 Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc2674c1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050ec00 RCX: 000000000045cba9 RDX: 000000000000fdef RSI: 0000000020000980 RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000d46 R14: 00000000004cfa5a R15: 00007fc2674c26d4 Modules linked in: CR2: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 14425 Comm: syz-executor.2 Tainted: G D 4.19.132-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x14 lib/fault-inject.c:149 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0xf mm/slab_common.c:1558 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc+0x277/0x370 mm/slab.c:3557 kmem_cache_zalloc include/linux/slab.h:699 [inline] mmu_topup_memory_cache arch/x86/kvm/mmu.c:996 [inline] mmu_topup_memory_cache arch/x86/kvm/mmu.c:988 [inline] mmu_topup_memory_caches+0x8f/0x370 arch/x86/kvm/mmu.c:1042 kvm_mmu_load+0x1e/0x1200 arch/x86/kvm/mmu.c:5101 kvm_mmu_reload arch/x86/kvm/mmu.h:86 [inline] vcpu_enter_guest arch/x86/kvm/x86.c:7689 [inline] vcpu_run arch/x86/kvm/x86.c:7883 [inline] kvm_arch_vcpu_ioctl_run+0x4c98/0x6ec0 arch/x86/kvm/x86.c:8083 kvm_vcpu_ioctl+0x493/0xe10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2822 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45cba9 Code: 8d b6 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 5b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f3d27f93c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004e8f40 RCX: 000000000045cba9 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00000000000003d3 R14: 00000000004c696c R15: 00007f3d27f946d4 ---[ end trace 708db07f44b1939f ]--- RIP: 0010:test_and_set_bit arch/x86/include/asm/bitops.h:209 [inline] RIP: 0010:test_and_set_bit_lock arch/x86/include/asm/bitops.h:223 [inline] RIP: 0010:trylock_buffer include/linux/buffer_head.h:367 [inline] RIP: 0010:lock_buffer include/linux/buffer_head.h:373 [inline] RIP: 0010:alloc_branch fs/minix/itree_common.c:88 [inline] RIP: 0010:get_block+0x78b/0x1340 fs/minix/itree_common.c:191 Code: 00 00 49 8b bc 24 28 01 00 00 b9 08 00 00 00 e8 8b 73 bb ff 31 d2 be 74 01 00 00 48 c7 c7 a0 46 9c 87 49 89 c4 e8 25 37 4b ff 49 0f ba 2c 24 02 0f 92 c0 31 ff 89 c6 88 44 24 78 e8 4e 38 6d RSP: 0018:ffff888058c37780 EFLAGS: 00010246 RAX: 0000000000000007 RBX: 0000000000000c98 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880916e63a4 RBP: ffff888058c37918 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 00000000584b9ac1 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff888058c37844 R15: ffff888058c37880 FS: 00007fc2674c2700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e31079000 CR3: 00000000a8698000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400