syzbot


general protection fault in __block_write_begin_int

Status: auto-closed as invalid on 2022/02/26 01:32
Reported-by: syzbot+dda2ebbaa98b7ee29c87@syzkaller.appspotmail.com
First crash: 412d, last: 290d

Sample crash report:
general protection fault, probably for non-canonical address 0xfbd59c0000000040: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0xdead000000000200-0xdead000000000207]
CPU: 0 PID: 26255 Comm: syz-executor.2 Not tainted 5.15.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__block_write_begin_int+0xdf/0x1810 fs/buffer.c:1977
Code: c1 e8 03 42 80 3c 28 00 41 89 ec 0f 85 4e 16 00 00 48 8b 04 24 48 8b 58 18 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 1e 16 00 00 48 8b 03 48 89 44 24 48 48 8b 04 24
RSP: 0018:ffffc9000b07f408 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: dead000000000200 RCX: ffffc9000e399000
RDX: 1bd5a00000000040 RSI: ffffffff81daa509 RDI: ffffea00022b8058
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff819e65be R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000001000 R15: 0000000000001000
FS:  00007f8e2c71d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fccd365f018 CR3: 0000000064587000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __block_write_begin fs/buffer.c:2060 [inline]
 block_write_begin+0x58/0x2e0 fs/buffer.c:2120
 generic_perform_write+0x202/0x510 mm/filemap.c:3770
 __generic_file_write_iter+0x24e/0x640 mm/filemap.c:3897
 blkdev_write_iter+0x29c/0x550 block/fops.c:519
 call_write_iter include/linux/fs.h:2163 [inline]
 do_iter_readv_writev+0x472/0x750 fs/read_write.c:729
 do_iter_write+0x188/0x710 fs/read_write.c:855
 vfs_iter_write+0x70/0xa0 fs/read_write.c:896
 iter_file_splice_write+0x723/0xc70 fs/splice.c:689
 do_splice_from fs/splice.c:767 [inline]
 direct_splice_actor+0x110/0x180 fs/splice.c:936
 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891
 do_splice_direct+0x1b3/0x280 fs/splice.c:979
 do_sendfile+0xae9/0x1240 fs/read_write.c:1249
 __do_sys_sendfile64 fs/read_write.c:1314 [inline]
 __se_sys_sendfile64 fs/read_write.c:1300 [inline]
 __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1300
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f8e2f1a7a39
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8e2c71d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f8e2f2aaf60 RCX: 00007f8e2f1a7a39
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007
RBP: 00007f8e2f201c5f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000080006 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8e2f7deb2f R14: 00007f8e2c71d300 R15: 0000000000022000
Modules linked in:
---[ end trace ec68533ab295bec1 ]---
RIP: 0010:__block_write_begin_int+0xdf/0x1810 fs/buffer.c:1977
Code: c1 e8 03 42 80 3c 28 00 41 89 ec 0f 85 4e 16 00 00 48 8b 04 24 48 8b 58 18 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 1e 16 00 00 48 8b 03 48 89 44 24 48 48 8b 04 24
RSP: 0018:ffffc9000b07f408 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: dead000000000200 RCX: ffffc9000e399000
RDX: 1bd5a00000000040 RSI: ffffffff81daa509 RDI: ffffea00022b8058
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff819e65be R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000001000 R15: 0000000000001000
FS:  00007f8e2c71d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff5cdfcf010 CR3: 0000000064587000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 e8 03             	shr    $0x3,%eax
   3:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
   8:	41 89 ec             	mov    %ebp,%r12d
   b:	0f 85 4e 16 00 00    	jne    0x165f
  11:	48 8b 04 24          	mov    (%rsp),%rax
  15:	48 8b 58 18          	mov    0x18(%rax),%rbx
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 da             	mov    %rbx,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 1e 16 00 00    	jne    0x1652
  34:	48 8b 03             	mov    (%rbx),%rax
  37:	48 89 44 24 48       	mov    %rax,0x48(%rsp)
  3c:	48 8b 04 24          	mov    (%rsp),%rax

Crashes (43):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2021/10/21 00:48 upstream 8e37395c3a5d f111d03b .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-smack-root 2021/10/18 06:54 upstream d999ade1cc86 0c5d9412 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-selinux-root 2021/10/14 18:02 upstream 26d657410983 5462d470 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/09 10:24 upstream 5d6ab0bb408f efe0f24d .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/08 13:57 upstream 1da38549dd64 efe0f24d .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/07 10:06 upstream 5af4055fa813 62ee0987 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/03 13:02 upstream 7b66f4393ad4 db0f5787 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/02 17:28 upstream 53d5fc89d66a db0f5787 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/02 01:58 upstream 24f67d82c43c cc80db95 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/10/01 10:35 upstream 4de593fb965f 1d849ab4 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/09/28 22:27 upstream d33bec7b3dfa d82cb927 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/09/28 17:22 upstream d33bec7b3dfa d82cb927 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/09/28 10:41 upstream 0513e464f900 78494d16 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/09/28 01:32 upstream 0513e464f900 78494d16 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/09/27 16:53 upstream 5816b3e6577e 78494d16 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/09/27 10:21 upstream 5816b3e6577e 78494d16 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-selinux-root 2021/08/28 09:42 upstream 1a6436f37512 d5a29e53 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/07/31 05:30 upstream 764a5bc89b12 6c236867 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/07/27 18:15 upstream ff1176468d36 fd511809 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/07/23 23:48 upstream 8baef6386baa bc5f1d88 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce 2021/07/22 13:15 upstream 3d5895cd3517 302e51de .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/29 01:31 upstream 411a44c24a56 be531bb4 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/27 21:26 upstream 1fc596a56b33 373bf66b .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/27 07:11 upstream d25f27432f80 d50eb50a .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/26 13:29 upstream 3906fe9bb7f1 d50eb50a .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/26 03:09 upstream c2b43854aad9 c1132b49 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/26 01:00 upstream c2b43854aad9 c1132b49 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/21 15:21 upstream 2f111a6fd5b5 c5cb7da8 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/20 06:57 upstream d9abdee5fd5a 466b7db1 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/19 23:23 upstream d9abdee5fd5a 466b7db1 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/16 20:20 upstream 304040fb4909 0c5d9412 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/16 05:59 upstream 8fe31e0995f0 0c5d9412 .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/12 06:02 upstream fa5878760579 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/11 01:17 upstream efb52a7d9511 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/11 00:07 upstream efb52a7d9511 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/10 11:56 upstream 7fd2bf83d59a 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/09 14:09 upstream 5d6ab0bb408f 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/09 11:49 upstream 5d6ab0bb408f 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/09 11:41 upstream 5d6ab0bb408f 838e7e2c .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/10/08 13:49 upstream 1da38549dd64 efe0f24d .config log report info general protection fault in __block_write_begin_int
ci-upstream-kasan-gce-386 2021/09/27 22:41 upstream 5816b3e6577e 78494d16 .config log report info general protection fault in __block_write_begin_int
ci-upstream-linux-next-kasan-gce-root 2021/10/18 16:38 linux-next 60e8840126bd 0c5d9412 .config log report info general protection fault in __block_write_begin_int
ci-upstream-linux-next-kasan-gce-root 2021/06/28 20:35 linux-next a1f92694393a 9d2ab5df .config log report info general protection fault in __block_write_begin_int