syzbot


WARNING in unlock_new_inode (2)

Status: upstream: reported C repro on 2022/10/01 07:57
Reported-by: syzbot+5d4755233c99f936988d@syzkaller.appspotmail.com
First crash: 782d, last: 745d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in unlock_new_inode C done 66 1484d 1522d 1/1 fixed on 2020/11/29 00:01
linux-4.14 WARNING in unlock_new_inode (2) nilfs2 C 13 633d 781d 0/1 upstream: reported C repro on 2022/10/02 04:48
linux-4.14 WARNING in unlock_new_inode C done 55 1486d 1524d 1/1 fixed on 2020/11/26 11:14
upstream WARNING in unlock_new_inode reiserfs C done 76 1503d 2408d 15/28 fixed on 2020/11/16 12:12

Sample crash report:
NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8088 at fs/inode.c:979 unlock_new_inode.cold+0x11/0x3f fs/inode.c:979
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8088 Comm: syz-executor333 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:unlock_new_inode.cold+0x11/0x3f fs/inode.c:979
Code: b3 e8 bf bc 6d f9 48 c7 c7 80 b0 74 88 e8 1e ee fe ff 0f 0b e9 4a 70 b4 f9 e8 a7 bc 6d f9 48 c7 c7 80 b0 74 88 e8 06 ee fe ff <0f> 0b b8 ff ff 37 00 4c 89 e2 48 c1 ea 03 48 c1 e0 2a 80 3c 02 00
RSP: 0018:ffff8880956e77e0 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff88808ac35a80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012adceee
RBP: 0000000000008000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808ac35b50
R13: ffff88808ac35b08 R14: 0000000000000000 R15: fffffffffffffffb
 nilfs_new_inode+0x61f/0x760 fs/nilfs2/inode.c:399
 nilfs_create fs/nilfs2/namei.c:85 [inline]
 nilfs_create+0xfe/0x2f0 fs/nilfs2/namei.c:75
 lookup_open+0x893/0x1a20 fs/namei.c:3235
 do_last fs/namei.c:3327 [inline]
 path_openat+0x1094/0x2df0 fs/namei.c:3537
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
 do_sys_open+0x3b3/0x520 fs/open.c:1085
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f0699293309
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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe108f0148 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0699293309
RDX: 000000000000275a RSI: 00000000200001c0 RDI: 00000000ffffff9c
RBP: 00007f0699252b70 R08: 0000555555dd52c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0699252c00
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/07 18:12 linux-4.19.y 3f8a27f9e27b a779b11a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in unlock_new_inode
2022/10/16 19:48 linux-4.19.y 3f8a27f9e27b 67cb024c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in unlock_new_inode
2022/10/07 00:05 linux-4.19.y 3f8a27f9e27b 80b58a42 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in unlock_new_inode
2022/10/03 03:13 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/10/01 07:56 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/11/05 22:24 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/11/02 11:03 linux-4.19.y 3f8a27f9e27b 08977f5d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/11/02 10:48 linux-4.19.y 3f8a27f9e27b 08977f5d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/11/02 10:40 linux-4.19.y 3f8a27f9e27b 08977f5d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/10/30 01:44 linux-4.19.y 3f8a27f9e27b 2a71366b .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
2022/10/27 15:04 linux-4.19.y 3f8a27f9e27b 5c716ff6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in unlock_new_inode
* Struck through repros no longer work on HEAD.