audit: type=1800 audit(1585180841.515:873): pid=1892 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=17025 res=0 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 MINIX-fs: mounting unchecked file system, running fsck is recommended BUG: unable to handle kernel NULL pointer dereference at 0000000000000000 PGD 8257a067 P4D 8257a067 PUD 97d32067 PMD 0 CPU: 0 PID: 1891 Comm: syz-executor.5 Not tainted 4.19.113-syzkaller #0 Oops: 0002 [#1] PREEMPT SMP KASAN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CPU: 1 PID: 1892 Comm: syz-executor.0 Not tainted 4.19.113-syzkaller #0 Call Trace: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 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:359 [inline] RIP: 0010:lock_buffer include/linux/buffer_head.h:365 [inline] RIP: 0010:alloc_branch fs/minix/itree_common.c:88 [inline] RIP: 0010:get_block+0x76c/0x1300 fs/minix/itree_common.c:191 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x1b lib/fault-inject.c:149 Code: 00 00 49 8b bc 24 28 01 00 00 b9 08 00 00 00 e8 fa 42 bc ff 31 d2 be 6c 01 00 00 48 c7 c7 60 48 7c 87 49 89 c4 e8 b4 66 4e ff 49 0f ba 2c 24 02 40 0f 92 c6 31 ff 40 88 74 24 78 e8 cd 0d 6f RSP: 0018:ffff8880531cf788 EFLAGS: 00010246 RAX: 0000000000000007 RBX: ffff8880531cf888 RCX: 1ffffffff11f89f8 __should_failslab+0x115/0x180 mm/failslab.c:32 RDX: 0000000000000000 RSI: ffffffff88b92960 RDI: ffff888088bd06a4 should_failslab+0x5/0xf mm/slab_common.c:1558 RBP: ffff8880531cf920 R08: ffff888088bd0680 R09: fffff940001e0437 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc_trace+0x2c6/0x7a0 mm/slab.c:3623 R10: fffff940001e0436 R11: ffffea0000f021b7 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8880531cf84c R15: 0000000000000c98 FS: 00007f7293c31700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 kmalloc include/linux/slab.h:515 [inline] __memcg_init_list_lru_node+0x7f/0x1e0 mm/list_lru.c:347 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 memcg_init_list_lru_node mm/list_lru.c:370 [inline] memcg_init_list_lru mm/list_lru.c:456 [inline] __list_lru_init+0x3ff/0x700 mm/list_lru.c:624 CR2: 0000000000000000 CR3: 00000000873ca000 CR4: 00000000001406e0 alloc_super fs/super.c:267 [inline] sget_userns+0x79f/0xcd0 fs/super.c:519 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sget+0x10d/0x150 fs/super.c:570 mount_nodev+0x2c/0x110 fs/super.c:1199 mount_fs+0xa3/0x30c fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x400 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x4f4/0x2a40 fs/namespace.c:2799 minix_get_block+0xe5/0x110 fs/minix/inode.c:379 __block_write_begin_int+0x480/0x17a0 fs/buffer.c:1967 ksys_mount+0xd7/0x150 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe __block_write_begin fs/buffer.c:2017 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2076 RIP: 0033:0x45c849 minix_write_begin+0x35/0xe0 fs/minix/inode.c:415 Code: ad 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3162 RSP: 002b:00007f7172637c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f71726386d4 RCX: 000000000045c849 RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000000400000 RBP: 000000000076bf00 R08: 0000000020000100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 __generic_file_write_iter+0x24c/0x610 mm/filemap.c:3287 R13: 0000000000000754 R14: 00000000004ca107 R15: 000000000000000f generic_file_write_iter+0x37f/0x729 mm/filemap.c:3315 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 vfs_write+0x206/0x550 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:0x45c849 Code: ad 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7293c30c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7293c316d4 RCX: 000000000045c849 RDX: 0000000008800000 RSI: 0000000020000480 RDI: 0000000000000004 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 R13: 0000000000000cdc R14: 00000000004cf002 R15: 000000000076bf0c Modules linked in: CR2: 0000000000000000 ---[ end trace b50cd13db3e5044f ]--- 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:359 [inline] RIP: 0010:lock_buffer include/linux/buffer_head.h:365 [inline] RIP: 0010:alloc_branch fs/minix/itree_common.c:88 [inline] RIP: 0010:get_block+0x76c/0x1300 fs/minix/itree_common.c:191 CPU: 0 PID: 2102 Comm: syz-executor.5 Tainted: G D 4.19.113-syzkaller #0 Code: 00 00 49 8b bc 24 28 01 00 00 b9 08 00 00 00 e8 fa 42 bc ff 31 d2 be 6c 01 00 00 48 c7 c7 60 48 7c 87 49 89 c4 e8 b4 66 4e ff 49 0f ba 2c 24 02 40 0f 92 c6 31 ff 40 88 74 24 78 e8 cd 0d 6f 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+0x188/0x20d lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x1b 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_trace+0x2c6/0x7a0 mm/slab.c:3623 RSP: 0018:ffff8880531cf788 EFLAGS: 00010246 kmalloc include/linux/slab.h:515 [inline] __memcg_init_list_lru_node+0x7f/0x1e0 mm/list_lru.c:347 memcg_init_list_lru_node mm/list_lru.c:370 [inline] memcg_init_list_lru mm/list_lru.c:456 [inline] __list_lru_init+0x3ff/0x700 mm/list_lru.c:624 alloc_super fs/super.c:267 [inline] sget_userns+0x79f/0xcd0 fs/super.c:519 RAX: 0000000000000007 RBX: ffff8880531cf888 RCX: 1ffffffff11f89f8 sget+0x10d/0x150 fs/super.c:570 RDX: 0000000000000000 RSI: ffffffff88b92960 RDI: ffff888088bd06a4 RBP: ffff8880531cf920 R08: ffff888088bd0680 R09: fffff940001e0437 mount_nodev+0x2c/0x110 fs/super.c:1199 mount_fs+0xa3/0x30c fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x400 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x4f4/0x2a40 fs/namespace.c:2799 R10: fffff940001e0436 R11: ffffea0000f021b7 R12: 0000000000000000 ksys_mount+0xd7/0x150 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 Code: ad 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7172637c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f71726386d4 RCX: 000000000045c849 RDX: 0000000020000080 RSI: 0000000020000000 RDI: 0000000000400000 RBP: 000000000076bf00 R08: 0000000020000100 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000754 R14: 00000000004ca107 R15: 0000000000000010 R13: dffffc0000000000 R14: ffff8880531cf84c R15: 0000000000000c98 FS: 00007f7293c31700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001bc3ba8 CR3: 00000000873ca000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400