audit: type=1800 audit(1590663409.352:305): pid=31113 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.5" name="file0" dev="sda1" ino=16255 res=0 MINIX-fs: mounting unchecked file system, running fsck is recommended BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD 84d85067 P4D 84d85067 PUD 9a649067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 31113 Comm: syz-executor.5 Not tainted 4.19.125-syzkaller #0 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+0x772/0x1320 fs/minix/itree_common.c:191 Code: 00 00 49 8b bc 24 28 01 00 00 b9 08 00 00 00 e8 c4 b7 bc ff 31 d2 be 74 01 00 00 48 c7 c7 60 3d 7c 87 49 89 c4 e8 ee db 4d ff 49 0f ba 2c 24 02 40 0f 92 c6 31 ff 40 88 74 24 78 e8 07 38 6f RSP: 0018:ffff888017797788 EFLAGS: 00010246 RAX: 0000000000000007 RBX: 0000000000000c98 RCX: 1ffffffff11f89b0 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888053106024 RBP: ffff888017797920 R08: ffff888053106000 R09: fffff940003cfae7 R10: fffff940003cfae6 R11: ffffea0001e7d737 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88801779784c R15: ffff888017797888 FS: 00007f59b3aef700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009f25b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 minix_get_block+0xe5/0x110 fs/minix/inode.c:379 __block_write_begin_int+0x47d/0x1770 fs/buffer.c:1978 CPU: 1 PID: 31110 Comm: syz-executor.2 Not tainted 4.19.125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __block_write_begin fs/buffer.c:2028 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2087 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 minix_write_begin+0x35/0xe0 fs/minix/inode.c:415 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x14 lib/fault-inject.c:149 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3162 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0xf mm/slab_common.c:1558 __generic_file_write_iter+0x24c/0x610 mm/filemap.c:3287 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc_node mm/slab.c:3304 [inline] kmem_cache_alloc_node+0x23f/0x3b0 mm/slab.c:3647 generic_file_write_iter+0x3f4/0x725 mm/filemap.c:3315 __alloc_skb+0xba/0x5b0 net/core/skbuff.c:193 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x512/0x760 fs/read_write.c:487 alloc_skb_fclone include/linux/skbuff.h:1037 [inline] sk_stream_alloc_skb+0xba/0x850 net/ipv4/tcp.c:882 tcp_sendmsg_locked+0xc2e/0x2f90 net/ipv4/tcp.c:1310 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1460 inet_sendmsg+0x12e/0x590 net/ipv4/af_inet.c:798 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 RIP: 0033:0x45ca29 __sys_sendto+0x21a/0x330 net/socket.c:1787 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f59b3aeec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050c8c0 RCX: 000000000045ca29 RDX: 0000000008800000 RSI: 0000000020000480 RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cea R14: 00000000004cf36f R15: 00007f59b3aef6d4 Modules linked in: CR2: 0000000000000000 __do_sys_sendto net/socket.c:1799 [inline] __se_sys_sendto net/socket.c:1795 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45ca29 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9a1bb14c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000005011c0 RCX: 000000000045ca29 ---[ end trace 8df83334fb88acfa ]--- RDX: 00000000fffffd46 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000081f4 R11: 0000000000000246 R12: 0000000000000008 R13: 0000000000000a0e R14: 00000000004cce56 R15: 00007f9a1bb156d4 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+0x772/0x1320 fs/minix/itree_common.c:191 hfs: unable to parse mount options Code: 00 00 49 8b bc 24 28 01 00 00 b9 08 00 00 00 e8 c4 b7 bc ff 31 d2 be 74 01 00 00 48 c7 c7 60 3d 7c 87 49 89 c4 e8 ee db 4d ff 49 0f ba 2c 24 02 40 0f 92 c6 31 ff 40 88 74 24 78 e8 07 38 6f RSP: 0018:ffff888017797788 EFLAGS: 00010246 RAX: 0000000000000007 RBX: 0000000000000c98 RCX: 1ffffffff11f89b0 hfs: unable to parse mount options RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff888053106024 RBP: ffff888017797920 R08: ffff888053106000 R09: fffff940003cfae7 R10: fffff940003cfae6 R11: ffffea0001e7d737 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88801779784c R15: ffff888017797888 FS: 00007f59b3aef700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9c72bb4db8 CR3: 000000009f25b000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400