syzbot


general protection fault in create_empty_buffers

Status: auto-closed as invalid on 2021/02/12 03:39
Reported-by: syzbot+795d1ef00812a141fda5@syzkaller.appspotmail.com
First crash: 1500d, last: 1500d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in create_empty_buffers (3) fs 1 1607d 1607d 0/28 auto-closed as invalid on 2020/10/27 18:42
upstream general protection fault in create_empty_buffers (4) nilfs 2 576d 609d 0/28 auto-obsoleted due to no activity on 2023/07/26 06:29
linux-6.1 general protection fault in create_empty_buffers origin:upstream missing-backport C unreliable 1 473d 518d 0/3 upstream: reported C repro on 2023/06/23 12:51
linux-5.15 general protection fault in create_empty_buffers origin:lts-only syz done 1 524d 524d 0/3 upstream: reported syz repro on 2023/06/17 23:50
android-54 general protection fault in create_empty_buffers (3) 1 716d 716d 0/2 auto-obsoleted due to no activity on 2023/04/06 14:08
upstream general protection fault in create_empty_buffers 3820 2644d 2580d 0/28 closed as invalid on 2017/10/31 10:04
upstream general protection fault in create_empty_buffers (2) fs 1 2266d 2266d 0/28 auto-closed as invalid on 2019/03/08 22:46
android-54 general protection fault in create_empty_buffers (2) 1 1293d 1293d 0/2 auto-closed as invalid on 2021/09/06 17:43

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12903 Comm: syz-executor.4 Tainted: G        W         5.4.71-syzkaller-00272-g0a764ca69c77 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:create_empty_buffers+0x47/0x4e0 fs/buffer.c:1533
Code: 00 fc ff df e8 ca d9 bf ff 4c 89 ef 48 89 de ba 01 00 00 00 e8 1a de ff ff 48 89 c5 48 89 44 24 08 66 90 48 89 e8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 ef e8 1a 94 ed ff 4c 09 7d 00 48 83 c5
RSP: 0018:ffff8881966af128 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000020000000 RCX: 0000000000040000
RDX: ffffc90006d74000 RSI: 0000000000000ebc RDI: 0000000000000ebd
RBP: 0000000000000000 R08: ffffffff81816f19 R09: fffff94000ccfdf9
R10: fffff94000ccfdf9 R11: 0000000000000000 R12: 0000000000000000
R13: ffffea000667efc0 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f4d0e092700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020d80f80 CR3: 000000019b9e9006 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 create_page_buffers+0x124/0x1d0 fs/buffer.c:1647
 __block_write_begin_int+0x1bc/0x1770 fs/buffer.c:1959
 __block_write_begin fs/buffer.c:2030 [inline]
 block_write_begin+0x59/0x140 fs/buffer.c:2089
 generic_perform_write+0x271/0x530 mm/filemap.c:3292
 __generic_file_write_iter+0x232/0x460 mm/filemap.c:3421
 blkdev_write_iter+0x2bc/0x460 fs/block_dev.c:2007
 do_iter_readv_writev+0x5fa/0x890 include/linux/fs.h:1952
 do_iter_write+0x16d/0x570 fs/read_write.c:970
 iter_file_splice_write+0x77f/0xf20 fs/splice.c:746
 splice_direct_to_actor+0x496/0xb00 fs/splice.c:976
 do_splice_direct+0x279/0x3d0 fs/splice.c:1064
 do_sendfile+0x89d/0x1110 fs/read_write.c:1464
 __do_sys_sendfile64 fs/read_write.c:1525 [inline]
 __se_sys_sendfile64 fs/read_write.c:1511 [inline]
 __x64_sys_sendfile64+0x1ae/0x220 fs/read_write.c:1511
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45de59
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:00007f4d0e091c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000027ec0 RCX: 000000000045de59
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 000000000118c160 R08: 0000000000000000 R09: 0000000000000000
R10: 0020000102000003 R11: 0000000000000246 R12: 000000000118c124
R13: 00007ffc95f1e73f R14: 00007f4d0e0929c0 R15: 000000000118c124
Modules linked in:
---[ end trace cfb317a18c1ddec6 ]---
RIP: 0010:create_empty_buffers+0x47/0x4e0 fs/buffer.c:1533
Code: 00 fc ff df e8 ca d9 bf ff 4c 89 ef 48 89 de ba 01 00 00 00 e8 1a de ff ff 48 89 c5 48 89 44 24 08 66 90 48 89 e8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 ef e8 1a 94 ed ff 4c 09 7d 00 48 83 c5
RSP: 0018:ffff8881966af128 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000020000000 RCX: 0000000000040000
RDX: ffffc90006d74000 RSI: 0000000000000ebc RDI: 0000000000000ebd
RBP: 0000000000000000 R08: ffffffff81816f19 R09: fffff94000ccfdf9
R10: fffff94000ccfdf9 R11: 0000000000000000 R12: 0000000000000000
R13: ffffea000667efc0 R14: dffffc0000000000 R15: 0000000000000000
FS:  00007f4d0e092700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdbb059a000 CR3: 000000019b9e9001 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/15 03:38 android12-5.4 0a764ca69c77 fc7735a2 .config console log report info ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.