general protection fault in create_empty_buffers

6 views
Skip to first unread message

syzbot

unread,
Oct 14, 2020, 11:39:24 PM10/14/20
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0a764ca6 ANDROID: dma-heap: Provide accessors so that in-k..
git tree: android12-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=1021b6e8500000
kernel config: https://syzkaller.appspot.com/x/.config?x=1d90fc774b743105
dashboard link: https://syzkaller.appspot.com/bug?extid=795d1ef00812a141fda5
compiler: Android (6032204 based on r370808) clang version 10.0.1 (https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+795d1e...@syzkaller.appspotmail.com

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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Feb 11, 2021, 10:39:09 PM2/11/21
to syzkaller-a...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages