syzbot


general protection fault in create_empty_buffers (3)

Status: auto-closed as invalid on 2020/10/27 18:42
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+66017672f8ea3c492d56@syzkaller.appspotmail.com
First crash: 1389d, last: 1389d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in create_empty_buffers (3) 0 (1) 2020/06/30 07:02
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
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
android-54 general protection fault in create_empty_buffers (2) 1 1075d 1075d 0/2 auto-closed as invalid on 2021/09/06 17:43

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 3911 Comm: systemd-udevd Not tainted 5.8.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:create_empty_buffers+0x4f/0x820 fs/buffer.c:1565
Code: 89 ef e8 94 9a ff ff 49 bc 00 00 00 00 00 fc ff df 48 89 44 24 08 48 89 c3 eb 03 48 89 c3 e8 78 9c a6 ff 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 a8 06 00 00 4c 09 2b 48 8d 7b 08 48 89 f8 48
RSP: 0018:ffffc90001577858 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81cc51b9
RDX: ffff8880a0d5c580 RSI: ffffffff81ccb478 RDI: 0000000000000005
RBP: ffffea00027d2dc0 R08: 0000000000000001 R09: ffff8880a0d5ce48
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: dead000000000100
FS:  00007fbeb87098c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000400200 CR3: 00000000a03ad000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 create_page_buffers+0x295/0x3b0 fs/buffer.c:1679
 block_read_full_page+0xcf/0xed0 fs/buffer.c:2269
 do_read_cache_page+0x8d4/0x1390 mm/filemap.c:2765
 read_mapping_page include/linux/pagemap.h:437 [inline]
 read_part_sector+0xf6/0x5af block/partitions/core.c:772
 adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360
 check_partition block/partitions/core.c:140 [inline]
 blk_add_partitions+0x44b/0xe10 block/partitions/core.c:700
 bdev_disk_changed+0x1ea/0x370 fs/block_dev.c:1524
 blkdev_reread_part block/ioctl.c:103 [inline]
 blkdev_common_ioctl+0x13d1/0x1760 block/ioctl.c:549
 blkdev_ioctl+0x1a3/0x6c0 block/ioctl.c:618
 block_ioctl+0xf9/0x140 fs/block_dev.c:1988
 vfs_ioctl fs/ioctl.c:48 [inline]
 ksys_ioctl+0x11a/0x180 fs/ioctl.c:753
 __do_sys_ioctl fs/ioctl.c:762 [inline]
 __se_sys_ioctl fs/ioctl.c:760 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:760
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fbeb7582017
Code: Bad RIP value.
RSP: 002b:00007fff18b4d7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fff18b4d960 RCX: 00007fbeb7582017
RDX: 0000000000000000 RSI: 000000000000125f RDI: 000000000000000e
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000010
R10: 0000000000000020 R11: 0000000000000246 R12: 00007fff18b4d990
R13: 000055f766174010 R14: 000055f767066210 R15: 00007fff18b4d860
Modules linked in:
---[ end trace 3a62581c64dab56e ]---
RIP: 0010:create_empty_buffers+0x4f/0x820 fs/buffer.c:1565
Code: 89 ef e8 94 9a ff ff 49 bc 00 00 00 00 00 fc ff df 48 89 44 24 08 48 89 c3 eb 03 48 89 c3 e8 78 9c a6 ff 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 a8 06 00 00 4c 09 2b 48 8d 7b 08 48 89 f8 48
RSP: 0018:ffffc90001577858 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81cc51b9
RDX: ffff8880a0d5c580 RSI: ffffffff81ccb478 RDI: 0000000000000005
RBP: ffffea00027d2dc0 R08: 0000000000000001 R09: ffff8880a0d5ce48
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: dead000000000100
FS:  00007fbeb87098c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32f2d000 CR3: 00000000a03ad000 CR4: 00000000001406f0
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
2020/06/29 18:41 upstream 4e99b32169e8 a2cdad9d .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.