general protection fault in create_empty_buffers (2)

9 views
Skip to first unread message

syzbot

unread,
May 9, 2021, 1:43:18 PM5/9/21
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 34f394d7 UPSTREAM: mm/cma.c: remove redundant cma_mutex lock
git tree: android12-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=106d5f0bd00000
kernel config: https://syzkaller.appspot.com/x/.config?x=ba69bff6e4a0f1e0
dashboard link: https://syzkaller.appspot.com/bug?extid=afcca8db389a4f690a22
compiler: Debian clang version 11.0.1-2

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+afcca8...@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: 4640 Comm: syz-executor.4 Not tainted 5.4.117-syzkaller-00032-g34f394d71294 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:create_empty_buffers+0x47/0x4c0 fs/buffer.c:1533
Code: 00 fc ff df e8 fa ea be ff 4c 89 ef 48 89 de ba 01 00 00 00 e8 ea e0 ff ff 48 89 c5 48 89 04 24 0f 1f 00 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 6a a5 ed ff 4c 09 7d 00 48 83 c5
RSP: 0018:ffff888190ccf100 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000020000000 RCX: 0000000000040000
RDX: ffffc900009a4000 RSI: 0000000000000603 RDI: 0000000000000604
RBP: 0000000000000000 R08: ffffffff81a63f09 R09: fffff94000d17a59
R10: fffff94000d17a59 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffea00068bd2c0 R14: 1ffffd4000d17a58 R15: 0000000000000000
FS: 00007f34c4e63700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcfadee977 CR3: 00000001ec740000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
create_page_buffers+0x111/0x1c0 fs/buffer.c:1647
block_read_full_page+0xe0/0xa60 fs/buffer.c:2237
do_read_cache_page+0x6d8/0xa20 mm/filemap.c:2783
read_mapping_page include/linux/pagemap.h:399 [inline]
read_dev_sector+0x6e/0x220 block/partition-generic.c:611
read_part_sector block/partitions/check.h:38 [inline]
read_lba+0x311/0x4f0 block/partitions/efi.c:250
find_valid_gpt block/partitions/efi.c:603 [inline]
efi_partition+0x464/0x2ef0 block/partitions/efi.c:685
check_partition+0x378/0x690 block/partitions/check.c:167
rescan_partitions+0x180/0xd70 block/partition-generic.c:481
__blkdev_reread_part block/ioctl.c:174 [inline]
blkdev_reread_part block/ioctl.c:194 [inline]
blkdev_ioctl+0x1991/0x2ce0 block/ioctl.c:583
block_ioctl+0xa8/0xe0 fs/block_dev.c:1974
do_vfs_ioctl+0x76a/0x1720 fs/ioctl.c:47
ksys_ioctl fs/ioctl.c:742 [inline]
__do_sys_ioctl fs/ioctl.c:749 [inline]
__se_sys_ioctl fs/ioctl.c:747 [inline]
__x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747
do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4665f9
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:00007f34c4e63188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9
RDX: 0000000020000200 RSI: 000000000000125f RDI: 0000000000000003
RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffd8a14629f R14: 00007f34c4e63300 R15: 0000000000022000
Modules linked in:
---[ end trace d9f7f036c2ef1ff7 ]---
RIP: 0010:create_empty_buffers+0x47/0x4c0 fs/buffer.c:1533
Code: 00 fc ff df e8 fa ea be ff 4c 89 ef 48 89 de ba 01 00 00 00 e8 ea e0 ff ff 48 89 c5 48 89 04 24 0f 1f 00 48 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 ef e8 6a a5 ed ff 4c 09 7d 00 48 83 c5
RSP: 0018:ffff888190ccf100 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000020000000 RCX: 0000000000040000
RDX: ffffc900009a4000 RSI: 0000000000000603 RDI: 0000000000000604
RBP: 0000000000000000 R08: ffffffff81a63f09 R09: fffff94000d17a59
R10: fffff94000d17a59 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffea00068bd2c0 R14: 1ffffd4000d17a58 R15: 0000000000000000
FS: 00007f34c4e63700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020100000 CR3: 00000001ec740000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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,
Sep 6, 2021, 1:43:22 PM9/6/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