syzbot


kernel BUG at fs/hfs/inode.c:LINE!
Status: upstream: reported C repro on 2018/04/03 00:01
Reported-by: syzbot+599e1f94d33497d03385@syzkaller.appspotmail.com
First crash: 1514d, last: 504d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: no output from test machine (log)
Repro: C syz .config

Fix bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2022/04/09 19:22 5m phil@philpotter.co.uk upstream error
2021/03/29 17:50 7m alaaemadhossney.ae@gmail.com upstream report log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
hfs: unable to locate alternate MDB
hfs: continuing without an alternate MDB
------------[ cut here ]------------
kernel BUG at fs/hfs/inode.c:441!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.16.0+ #11
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:hfs_write_inode+0xe6/0xc50 fs/hfs/inode.c:441
RSP: 0018:ffff8801d9466780 EFLAGS: 00010293
RAX: ffff8801d945a5c0 RBX: 1ffff1003b28ccf4 RCX: ffffffff820f97f6
RDX: 0000000000000000 RSI: ffff8801d9466de8 RDI: ffff8801d97b4740
RBP: ffff8801d94668e8 R08: ffffed003b6246c3 R09: ffffed003b6246c3
R10: 0000000000000001 R11: ffffed003b6246c2 R12: ffff8801d97b4700
R13: 0000000000000000 R14: ffff8801d94668c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f233bf15000 CR3: 000000000846a003 CR4: 00000000001606e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 write_inode fs/fs-writeback.c:1182 [inline]
 __writeback_single_inode+0x9d0/0x1250 fs/fs-writeback.c:1381
 writeback_sb_inodes+0x688/0xff0 fs/fs-writeback.c:1586
 wb_writeback+0x444/0xdb0 fs/fs-writeback.c:1762
 wb_do_writeback fs/fs-writeback.c:1907 [inline]
 wb_workfn+0x2c6/0x15a0 fs/fs-writeback.c:1948
 process_one_work+0xc97/0x1c40 kernel/workqueue.c:2113
 worker_thread+0x1c3/0x1380 kernel/workqueue.c:2247
 kthread+0x33c/0x400 kernel/kthread.c:238
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:406
Code: 0f 0f 87 ff 00 00 00 e8 09 91 61 ff 49 83 ff 03 0f 84 58 06 00 00 49 83 ff 04 74 11 49 83 ff 02 0f 84 e0 00 00 00 e8 ea 90 61 ff <0f> 0b e8 e3 90 61 ff 49 8d 7c 24 28 48 b8 00 00 00 00 00 fc ff 
RIP: hfs_write_inode+0xe6/0xc50 fs/hfs/inode.c:441 RSP: ffff8801d9466780
---[ end trace 58207cc73dd7e339 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2018/04/02 23:02 upstream 86bbbebac193 676bd07e .config log report syz C