random: cc1: uninitialized urandom read (8 bytes read) IPVS: Creating netns size=2536 id=1 syz-executor0 (3808) used greatest stack depth: 23368 bytes left random: crng init done ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2630! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 6714 Comm: syz-executor0 Not tainted 4.9.112-g9e79039 #11 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d3976000 task.stack: ffff8801d8a50000 RIP: 0010:[] [] mpage_prepare_extent_to_map+0x7f8/0xa40 fs/ext4/inode.c:2630 RSP: 0018:ffff8801d8a577f0 EFLAGS: 00010293 RAX: ffff8801d3976000 RBX: ffffea0007125200 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81740088 RDI: ffffea0007125208 RBP: ffff8801d8a579b8 R08: ffff8801d3976938 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003a72ed22 R12: 0000000000000008 R13: 0000000000000000 R14: ffff8801d8a57b20 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000084e0900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f3c3687c000 CR3: 00000001d6cea000 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 1ffff1003b14af0e ffff8801d8a57b28 ffff8801d8a57890 ffff8801d8a57b30 00000000d39768c0 ffff8801c0161c30 000000020000000c 7fffffffffffffff ffff8801d8a578d0 ffff8801d8a57b38 ffffea0007125210 ffffed003b14af65 Call Trace: [] ext4_writepages+0xdb9/0x2e50 fs/ext4/inode.c:2792 [] do_writepages+0xef/0x1d0 mm/page-writeback.c:2347 [] __filemap_fdatawrite_range+0x1b3/0x250 mm/filemap.c:390 [] __filemap_fdatawrite mm/filemap.c:398 [inline] [] filemap_flush+0x23/0x30 mm/filemap.c:423 [] ext4_alloc_da_blocks+0xd9/0x330 fs/ext4/inode.c:3169 [] ext4_release_file+0x1ff/0x2e0 fs/ext4/file.c:42 [] __fput+0x263/0x700 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 [] task_work_run+0x10c/0x180 kernel/task_work.c:116 [] tracehook_notify_resume include/linux/tracehook.h:191 [inline] [] exit_to_usermode_loop+0xfc/0x120 arch/x86/entry/common.c:161 [] prepare_exit_to_usermode arch/x86/entry/common.c:191 [inline] [] syscall_return_slowpath arch/x86/entry/common.c:260 [inline] [] do_syscall_32_irqs_on arch/x86/entry/common.c:331 [inline] [] do_fast_syscall_32+0x5c3/0x870 arch/x86/entry/common.c:387 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Code: ff 48 8b 75 d0 65 48 33 34 25 28 00 00 00 0f 85 50 02 00 00 48 81 c4 a0 01 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e8 e9 c1 ff <0f> 0b e8 e1 e9 c1 ff 8b 95 18 ff ff ff 85 d2 75 7a e8 d2 e9 c1 RIP [] mpage_prepare_extent_to_map+0x7f8/0xa40 fs/ext4/inode.c:2630 RSP ---[ end trace 06bcbc3f18199d83 ]---