syzbot


WARNING in drop_nlink

Status: upstream: reported C repro on 2020/10/08 09:54
Subsystems: fat reiserfs
[Documentation on labels]
Reported-by: syzbot+b9b916c5af0009d5a2ef@syzkaller.appspotmail.com
First crash: 1516d, last: 666d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in drop_nlink (2) udf hfs C done inconclusive 3714 14d 1511d 0/28 closed as invalid on 2024/11/20 15:35
linux-5.15 WARNING in drop_nlink origin:upstream C 212 20d 543d 0/3 upstream: reported C repro on 2023/06/08 18:04
linux-6.1 WARNING in drop_nlink origin:upstream C 182 22d 539d 0/3 upstream: reported C repro on 2023/06/12 09:27
linux-4.14 WARNING in drop_nlink C 9 637d 978d 0/1 upstream: reported C repro on 2022/03/30 09:01
upstream WARNING in drop_nlink fs C done error 1 1685d 1681d 15/28 fixed on 2020/09/16 22:51
Fix bisection attempts (13)
Created Duration User Patch Repo Result
2021/11/08 00:44 12m bisect fix linux-4.19.y error job log
2021/10/09 00:09 28m bisect fix linux-4.19.y OK (0) job log log
2021/09/08 23:38 31m bisect fix linux-4.19.y OK (0) job log log
2021/08/09 22:41 30m bisect fix linux-4.19.y OK (0) job log log
2021/07/10 22:17 24m bisect fix linux-4.19.y OK (0) job log log
2021/06/10 21:43 33m bisect fix linux-4.19.y OK (0) job log log
2021/05/11 21:14 28m bisect fix linux-4.19.y OK (0) job log log
2021/04/11 20:45 28m bisect fix linux-4.19.y OK (0) job log log
2021/03/12 20:14 24m bisect fix linux-4.19.y OK (0) job log log
2021/02/05 13:21 1m bisect fix linux-4.19.y error job log
2021/01/06 11:32 25m bisect fix linux-4.19.y OK (0) job log log
2020/12/07 10:17 30m bisect fix linux-4.19.y OK (0) job log log
2020/11/07 09:54 23m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 14395 at fs/inode.c:286 drop_nlink.cold+0x11/0x41 fs/inode.c:286
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 14395 Comm: syz-executor294 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:drop_nlink.cold+0x11/0x41 fs/inode.c:286
Code: f9 e8 9c bd 6d f9 48 c7 c7 80 a8 74 88 e8 fb ee fe ff 0f 0b e9 9f 50 b4 f9 e8 84 bd 6d f9 48 c7 c7 80 b0 74 88 e8 e3 ee fe ff <0f> 0b b8 ff ff 37 00 4c 89 e2 48 c1 ea 03 48 c1 e0 2a 0f b6 04 02
RSP: 0018:ffff88809faf7cc0 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1013f5ef8a
RBP: ffff88808b03f110 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808b03f158
R13: ffff88808c90f320 R14: ffff88809faf7d40 R15: ffff8880b309ac40
 vfat_rmdir+0x2f6/0x4f0 fs/fat/namei_vfat.c:810
 vfs_rmdir.part.0+0x10f/0x3d0 fs/namei.c:3882
 vfs_rmdir fs/namei.c:3868 [inline]
 do_rmdir+0x3fd/0x490 fs/namei.c:3943
 __do_sys_unlinkat fs/namei.c:4105 [inline]
 __se_sys_unlinkat fs/namei.c:4099 [inline]
 __x64_sys_unlinkat+0xdf/0x120 fs/namei.c:4099
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4c861d06c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c7e15b2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 000000000000003f RCX: 00007f4c861d06c9
RDX: 0000000000000200 RSI: 00000000200001c0 RDI: 0000000000000004
RBP: 00007f4c862567b8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4c862567b0
R13: 00007f4c86223314 R14: 2f30656c69662f2e R15: 69662f7375622f2e
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/08 07:56 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in drop_nlink
2022/11/30 05:44 linux-4.19.y 3f8a27f9e27b 579a3740 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in drop_nlink
2022/11/10 12:30 linux-4.19.y 3f8a27f9e27b b2488a87 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in drop_nlink
2022/11/01 16:05 linux-4.19.y 3f8a27f9e27b a1d8560a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in drop_nlink
2022/07/23 02:43 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report syz C ci2-linux-4-19 WARNING in drop_nlink
2022/03/30 16:33 linux-4.19.y 3f8a27f9e27b 42718dd6 .config console log report syz C ci2-linux-4-19 WARNING in drop_nlink
2022/02/02 03:39 linux-4.19.y 3f8a27f9e27b 4ebb2798 .config console log report syz C ci2-linux-4-19 WARNING in drop_nlink
2020/10/08 09:53 linux-4.19.y a1b977b49b66 1880b4a9 .config console log report syz C ci2-linux-4-19
2023/02/05 22:16 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2023/02/04 05:28 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2023/01/13 01:59 linux-4.19.y 3f8a27f9e27b 96166539 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2023/01/10 04:03 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2022/12/25 14:27 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2022/12/12 13:38 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2022/11/01 15:44 linux-4.19.y 3f8a27f9e27b a1d8560a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2022/10/17 21:09 linux-4.19.y 3f8a27f9e27b 94744d21 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2022/10/12 02:02 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in drop_nlink
2022/09/13 21:33 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2022/08/29 02:26 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2022/08/23 11:00 linux-4.19.y 3f8a27f9e27b cea8b0f7 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2022/07/23 20:17 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2022/07/23 02:11 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2022/06/06 14:52 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2022/01/31 04:41 linux-4.19.y 3f8a27f9e27b 495e00c5 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
2021/02/10 19:47 linux-4.19.y 811218eceeaa 9c8b8541 .config console log report info ci2-linux-4-19 WARNING in drop_nlink
* Struck through repros no longer work on HEAD.