------------[ cut here ]------------ kernel BUG at fs/ext4/page-io.c:126! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12566 Comm: syz-executor.5 Not tainted 5.9.0-rc7-next-20201002-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_finish_bio+0x6a0/0x820 fs/ext4/page-io.c:126 Code: 10 4c 8b 60 28 48 89 44 24 50 e9 2b fb ff ff e8 f6 82 66 ff 48 c7 c6 20 99 be 88 4c 89 e7 e8 e7 a6 96 ff 0f 0b e8 e0 82 66 ff <0f> 0b e8 d9 82 66 ff 48 c7 c6 20 98 be 88 4c 89 e7 e8 ca a6 96 ff RSP: 0018:ffffc90000da8b50 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000001000 RCX: ffffffff820ec136 RDX: ffff8880a0c10500 RSI: ffffffff820ec410 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88803e2c2cb7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88803e2c2cb0 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fa40fe71700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 000000009b001000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_end_bio+0x179/0x5e0 fs/ext4/page-io.c:368 bio_endio+0x3d3/0x7a0 block/bio.c:1449 req_bio_endio block/blk-core.c:259 [inline] blk_update_request+0x68e/0x14a0 block/blk-core.c:1464 scsi_end_request+0x7a/0x7b0 drivers/scsi/scsi_lib.c:583 scsi_io_completion+0x1df/0x1310 drivers/scsi/scsi_lib.c:955 scsi_softirq_done+0x327/0x3c0 drivers/scsi/scsi_lib.c:1481 blk_done_softirq+0x33c/0x4d0 block/blk-mq.c:586 __do_softirq+0x203/0xab6 kernel/softirq.c:298 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x9b/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x235/0x280 kernel/softirq.c:435 common_interrupt+0xa3/0x1f0 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:622 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:653 [inline] RIP: 0010:lock_acquire+0x27b/0xaa0 kernel/locking/lockdep.c:5422 Code: 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 d2 06 00 00 48 83 3d 29 c8 e1 08 00 0f 84 2d 05 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 RSP: 0018:ffffc900017f74b0 EFLAGS: 00000286 RAX: 1ffffffff1479fed RBX: 1ffff920002fee99 RCX: 00000000bd2deb01 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000286 RBP: ffff8880a0c10500 R08: 0000000000000000 R09: ffffffff8d7319e7 R10: fffffbfff1ae633c R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8a554ae0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:253 [inline] rcu_read_lock include/linux/rcupdate.h:642 [inline] prepend_path+0x211/0xc80 fs/d_path.c:91 d_absolute_path+0xfa/0x180 fs/d_path.c:201 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x282/0x620 security/tomoyo/realpath.c:276 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x272/0x380 security/tomoyo/file.c:771 tomoyo_file_open security/tomoyo/tomoyo.c:313 [inline] tomoyo_file_open+0xa3/0xd0 security/tomoyo/tomoyo.c:308 security_file_open+0x52/0x4f0 security/security.c:1574 do_dentry_open+0x358/0x11b0 fs/open.c:804 do_open fs/namei.c:3252 [inline] path_openat+0x1b9a/0x2730 fs/namei.c:3369 do_filp_open+0x17e/0x3c0 fs/namei.c:3396 do_sys_openat2+0x16d/0x420 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_open fs/open.c:1192 [inline] __se_sys_open fs/open.c:1188 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1188 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de29 Code: 0d b4 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 b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa40fe70c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000022140 RCX: 000000000045de29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000118c158 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118c124 R13: 00007fff7d9eb3af R14: 00007fa40fe719c0 R15: 000000000118c124 Modules linked in: ---[ end trace c078b595ed4ccf9e ]--- RIP: 0010:ext4_finish_bio+0x6a0/0x820 fs/ext4/page-io.c:126 Code: 10 4c 8b 60 28 48 89 44 24 50 e9 2b fb ff ff e8 f6 82 66 ff 48 c7 c6 20 99 be 88 4c 89 e7 e8 e7 a6 96 ff 0f 0b e8 e0 82 66 ff <0f> 0b e8 d9 82 66 ff 48 c7 c6 20 98 be 88 4c 89 e7 e8 ca a6 96 ff RSP: 0018:ffffc90000da8b50 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000001000 RCX: ffffffff820ec136 RDX: ffff8880a0c10500 RSI: ffffffff820ec410 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88803e2c2cb7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88803e2c2cb0 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fa40fe71700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 000000009b001000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400