syzbot


general protection fault in create_empty_buffers (2)

Status: auto-closed as invalid on 2021/09/06 17:43
Reported-by: syzbot+afcca8db389a4f690a22@syzkaller.appspotmail.com
First crash: 1075d, last: 1075d
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 1389d 1388d 0/26 auto-closed as invalid on 2020/10/27 18:42
upstream general protection fault in create_empty_buffers (4) nilfs 2 357d 391d 0/26 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 255d 300d 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 306d 306d 0/3 upstream: reported syz repro on 2023/06/17 23:50
android-54 general protection fault in create_empty_buffers (3) 1 498d 498d 0/2 auto-obsoleted due to no activity on 2023/04/06 14:08
upstream general protection fault in create_empty_buffers 3820 2425d 2361d 0/26 closed as invalid on 2017/10/31 10:04
upstream general protection fault in create_empty_buffers (2) fs 1 2048d 2047d 0/26 auto-closed as invalid on 2019/03/08 22:46
android-54 general protection fault in create_empty_buffers 1 1282d 1282d 0/2 auto-closed as invalid on 2021/02/12 03:39

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: 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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/09 17:42 android12-5.4 34f394d71294 bc5434be .config console log report info ci2-android-5-4-kasan general protection fault in create_empty_buffers
* Struck through repros no longer work on HEAD.