syzbot


WARNING in unlock_new_inode (2)

Status: upstream: reported C repro on 2022/10/02 04:48
Subsystems: nilfs2
[Documentation on labels]
Reported-by: syzbot+6212a8b4dbaa2c1dc977@syzkaller.appspotmail.com
First crash: 767d, last: 619d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in unlock_new_inode (2) C error 11 731d 768d 0/1 upstream: reported C repro on 2022/10/01 07:57
linux-4.19 WARNING in unlock_new_inode C done 66 1470d 1508d 1/1 fixed on 2020/11/29 00:01
linux-4.14 WARNING in unlock_new_inode C done 55 1472d 1510d 1/1 fixed on 2020/11/26 11:14
upstream WARNING in unlock_new_inode reiserfs C done 76 1489d 2394d 15/28 fixed on 2020/11/16 12:12
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/02/27 05:27 35m bisect fix linux-4.14.y OK (0) job log log
2022/11/17 04:02 23m bisect fix linux-4.14.y OK (0) job log log

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

CPU: 0 PID: 7980 Comm: syz-executor405 Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:unlock_new_inode+0x9a/0xc0 fs/inode.c:967
RSP: 0018:ffff8880a92778a8 EFLAGS: 00010297
RAX: ffff888098b6e180 RBX: ffff88808e382368 RCX: 0000000000004c5f
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88808e3823f4
RBP: 0000000000000000 R08: ffffffff8b9c7df8 R09: 0000000000040575
R10: ffff888098b6eaa8 R11: ffff888098b6e180 R12: ffff88808e382440
R13: ffff88808e3823f0 R14: ffff888096b87780 R15: ffff88808e382368
 nilfs_new_inode+0x59f/0x6f0 fs/nilfs2/inode.c:408
 nilfs_create fs/nilfs2/namei.c:94 [inline]
 nilfs_create+0xd2/0x2a0 fs/nilfs2/namei.c:84
 lookup_open+0x77a/0x1750 fs/namei.c:3241
 do_last fs/namei.c:3334 [inline]
 path_openat+0xe08/0x2970 fs/namei.c:3571
 do_filp_open+0x179/0x3c0 fs/namei.c:3605
 do_sys_open+0x296/0x410 fs/open.c:1081
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fd45e8db359
RSP: 002b:00007fffec612a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd45e8db359
RDX: 0000000000000000 RSI: 000000000014da42 RDI: 00000000200000c0
RBP: 00007fd45e89abc0 R08: 00005555562112c0 R09: 0000000000000000
R10: 00007fffec6128d0 R11: 0000000000000246 R12: 00007fd45e89ac50
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/16 16:12 linux-4.14.y 9d5c0b3a8e1a 67cb024c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 WARNING in unlock_new_inode
2022/10/09 02:06 linux-4.14.y 9d5c0b3a8e1a aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 WARNING in unlock_new_inode
2022/10/03 14:25 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in unlock_new_inode
2022/10/02 04:48 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-14 WARNING in unlock_new_inode
2023/02/27 19:46 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2023/02/27 19:43 linux-4.14.y 7878a41b6cc1 9189cb53 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2023/01/25 18:50 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2023/01/12 00:01 linux-4.14.y c4215ee4771b 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2023/01/11 23:54 linux-4.14.y c4215ee4771b 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2022/12/28 15:42 linux-4.14.y c4215ee4771b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2022/12/24 16:06 linux-4.14.y c4215ee4771b 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2022/12/20 06:34 linux-4.14.y c4215ee4771b c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
2022/12/18 18:16 linux-4.14.y c4215ee4771b 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in unlock_new_inode
* Struck through repros no longer work on HEAD.