syzbot


WARNING in drop_nlink

Status: upstream: reported C repro on 2022/03/30 09:01
Reported-by: syzbot+35aa05baf75d3198e7cb@syzkaller.appspotmail.com
First crash: 816d, last: 475d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in drop_nlink (2) hfs udf C done inconclusive 2257 1h09m 1349d 0/27 upstream: reported C repro on 2020/10/13 17:02
linux-5.15 WARNING in drop_nlink origin:upstream C 66 23d 381d 0/3 upstream: reported C repro on 2023/06/08 18:04
linux-6.1 WARNING in drop_nlink origin:upstream C 169 2d05h 377d 0/3 upstream: reported C repro on 2023/06/12 09:27
linux-4.19 WARNING in drop_nlink fat reiserfs C error 25 503d 1354d 0/1 upstream: reported C repro on 2020/10/08 09:54
upstream WARNING in drop_nlink fs C done error 1 1523d 1519d 15/27 fixed on 2020/09/16 22:51
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2023/02/27 16:21 34m bisect fix linux-4.14.y job log (0) log
2023/01/26 05:14 28m bisect fix linux-4.14.y job log (0) log
2022/11/17 04:54 20m bisect fix linux-4.14.y job log (0) log
2022/08/22 03:20 30m bisect fix linux-4.14.y job log (0) log
2022/06/29 13:19 21m bisect fix linux-4.14.y job log (0) log
2022/05/29 17:56 21m bisect fix linux-4.14.y job log (0) log
2022/04/29 17:33 22m bisect fix linux-4.14.y job log (0) log

Sample crash report:
overlayfs: fs on './file0' does not support file handles, falling back to index=off.
audit: type=1804 audit(1658546320.925:2): pid=7957 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor416" name="/root/bus/bus/file0" dev="sda1" ino=13863 res=1
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7957 at fs/inode.c:285 drop_nlink+0x7d/0xd0 fs/inode.c:285
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7957 Comm: syz-executor416 Not tainted 4.14.289-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/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:drop_nlink+0x7d/0xd0 fs/inode.c:285
RSP: 0018:ffff888091137b48 EFLAGS: 00010297
RAX: ffff888097784180 RBX: ffff88808df250a0 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000800 RDI: ffff88808df250a0
RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008000080 R11: ffff888097784180 R12: ffff88808df250e8
R13: 1ffff11012226f7c R14: 0000000000000000 R15: 0000000000000000
 ovl_rename+0xc15/0xe50 fs/overlayfs/dir.c:1082
 vfs_rename+0x560/0x1820 fs/namei.c:4496
 SYSC_renameat2 fs/namei.c:4644 [inline]
 SyS_renameat2+0x95b/0xad0 fs/namei.c:4533
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f81c53751d9
RSP: 002b:00007fffb78b3ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 69662f7375622f2e RCX: 00007f81c53751d9
RDX: 00007f81c53751d9 RSI: 0000000020000380 RDI: 00000000200002c0
RBP: 0030656c69662f2e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0079616c7265766f
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/23 03:20 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report syz C ci2-linux-4-14 WARNING in drop_nlink
2022/03/30 17:33 linux-4.14.y af1af6ebca0e 42718dd6 .config console log report syz C ci2-linux-4-14 WARNING in drop_nlink
2022/03/30 09:24 linux-4.14.y af1af6ebca0e 6bdac766 .config console log report syz C ci2-linux-4-14 WARNING in drop_nlink
2023/03/06 04:18 linux-4.14.y 7878a41b6cc1 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in drop_nlink
2022/10/17 22:15 linux-4.14.y 9d5c0b3a8e1a 94744d21 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in drop_nlink
2022/09/20 13:59 linux-4.14.y 4edbf74132a4 7c41a9ba .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in drop_nlink
2022/09/19 21:13 linux-4.14.y 5df8b4735177 dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-14 WARNING in drop_nlink
2022/08/29 02:30 linux-4.14.y e548869f356f 07177916 .config console log report info ci2-linux-4-14 WARNING in drop_nlink
2022/03/30 09:00 linux-4.14.y af1af6ebca0e 6bdac766 .config console log report info ci2-linux-4-14 WARNING in drop_nlink
* Struck through repros no longer work on HEAD.