syzbot


WARNING in inc_nlink (2)

Status: upstream: reported C repro on 2020/11/01 15:25
Reported-by: syzbot+3fbbd90094e3d827144b@syzkaller.appspotmail.com
First crash: 1480d, last: 725d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in inc_nlink origin:lts-only C done 96 3h08m 612d 0/3 upstream: reported C repro on 2023/03/20 05:26
upstream WARNING in inc_nlink (2) fs C inconclusive done 21 989d 1326d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in inc_nlink (3) fs C error error 2154 42m 979d 0/28 upstream: reported C repro on 2022/03/17 16:37
linux-6.1 WARNING in inc_nlink 81 568d 591d 0/3 auto-obsoleted due to no activity on 2023/07/31 15:23
linux-4.19 WARNING in inc_nlink C done 8 1555d 1704d 1/1 fixed on 2020/09/18 07:23
linux-4.14 WARNING in inc_nlink C done 21 1562d 1705d 1/1 fixed on 2020/09/11 09:49
linux-4.14 WARNING in inc_nlink (2) C 47 640d 1476d 0/1 upstream: reported C repro on 2020/11/06 09:55
upstream WARNING in inc_nlink C done 26 1592d 1695d 15/28 fixed on 2020/09/16 22:51
linux-6.1 WARNING in inc_nlink (2) origin:upstream C error 66 11h51m 328d 0/3 upstream: reported C repro on 2023/12/28 21:17
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2021/11/18 05:31 13m bisect fix linux-4.19.y error job log
2021/10/15 11:37 23m bisect fix linux-4.19.y OK (0) job log log
2021/09/07 03:08 26m bisect fix linux-4.19.y OK (0) job log log
2021/08/08 02:41 27m bisect fix linux-4.19.y OK (0) job log log
2021/07/09 02:18 23m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
F2FS-fs (loop0): Test dummy encryption mount option ignored
F2FS-fs (loop0): Found nat_bits in checkpoint
F2FS-fs (loop0): Try to recover 2th superblock, ret: 0
F2FS-fs (loop0): Mounted with checkpoint version = 48b305e5
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8110 at fs/inode.c:343 inc_nlink.cold+0x11/0x18 fs/inode.c:343
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8110 Comm: syz-executor406 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:inc_nlink.cold+0x11/0x18 fs/inode.c:343
Code: c0 74 04 3c 03 7e 08 8b 5d 48 e9 e7 68 b4 f9 4c 89 e7 e8 aa 99 a3 f9 eb ee e8 43 bd 6d f9 48 c7 c7 80 b0 74 88 e8 a2 ee fe ff <0f> 0b e9 29 6a b4 f9 e8 2b bd 6d f9 48 8d 7b 40 b8 ff ff 37 00 48
RSP: 0018:ffff88809232fa40 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff88808c78c100 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012465f3a
RBP: 0000000000000000 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808c78c148
R13: 0000000000000000 R14: 0000000000004000 R15: ffff88808c78d510
 f2fs_i_links_write fs/f2fs/f2fs.h:2371 [inline]
 f2fs_update_parent_metadata+0x373/0x400 fs/f2fs/dir.c:436
 f2fs_add_inline_entry+0x5f5/0x3940 fs/f2fs/inline.c:599
 f2fs_add_dentry+0x247/0x2f0 fs/f2fs/dir.c:601
 f2fs_do_add_link+0x307/0x4f0 fs/f2fs/dir.c:644
 f2fs_add_link fs/f2fs/f2fs.h:2862 [inline]
 f2fs_mkdir+0x339/0x610 fs/f2fs/namei.c:663
 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819
 do_mkdirat+0x262/0x2d0 fs/namei.c:3842
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f7d546baad9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc6fcb69a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f7d546baad9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007f7d5467a0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000105b4 R11: 0000000000000246 R12: 00007f7d5467a170
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (102):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/27 02:40 linux-4.19.y 3f8a27f9e27b f4470a7b .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in inc_nlink
2022/09/03 20:36 linux-4.19.y 3f8a27f9e27b 28811d0a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in inc_nlink
2022/05/27 14:20 linux-4.19.y 3f8a27f9e27b 116e7a7b .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2022/03/15 02:48 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2022/03/15 02:27 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2022/03/15 02:07 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2022/02/13 14:14 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2022/02/13 13:42 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2021/09/15 08:39 linux-4.19.y b172b44fcb17 07e953c1 .config console log report syz C ci2-linux-4-19 WARNING in inc_nlink
2020/11/30 06:09 linux-4.19.y 0c88e405c97e a0092f9d .config console log report syz C ci2-linux-4-19
2020/11/01 15:38 linux-4.19.y f5d8eef067ac 8bc4594f .config console log report syz C ci2-linux-4-19
2022/09/21 14:07 linux-4.19.y 3f8a27f9e27b 380f82fb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in inc_nlink
2022/09/21 13:58 linux-4.19.y 3f8a27f9e27b 380f82fb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in inc_nlink
2022/09/04 14:16 linux-4.19.y 3f8a27f9e27b 28811d0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in inc_nlink
2022/07/13 18:36 linux-4.19.y 3f8a27f9e27b 5d921b08 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/07/07 14:58 linux-4.19.y 3f8a27f9e27b bff65f44 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/06/22 00:10 linux-4.19.y 3f8a27f9e27b 0fc5c330 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/06/16 05:01 linux-4.19.y 3f8a27f9e27b 1719ee24 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/06/03 18:41 linux-4.19.y 3f8a27f9e27b eee80d3c .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/30 09:24 linux-4.19.y 3f8a27f9e27b a46af346 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/28 15:31 linux-4.19.y 3f8a27f9e27b a46af346 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/28 13:51 linux-4.19.y 3f8a27f9e27b a46af346 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/25 17:54 linux-4.19.y 3f8a27f9e27b 3037caa9 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/18 06:24 linux-4.19.y 3f8a27f9e27b 744a39e2 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/09 11:56 linux-4.19.y 3f8a27f9e27b 8b277b8e .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/06 11:54 linux-4.19.y 3f8a27f9e27b efeff0a5 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/06 11:44 linux-4.19.y 3f8a27f9e27b efeff0a5 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/05/01 01:12 linux-4.19.y 3f8a27f9e27b 2df221f6 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/04/30 18:21 linux-4.19.y 3f8a27f9e27b 2df221f6 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/04/27 02:32 linux-4.19.y 3f8a27f9e27b 1fa34c1b .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/04/22 10:19 linux-4.19.y 3f8a27f9e27b 2738b391 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/04/13 14:21 linux-4.19.y 3f8a27f9e27b b17b2923 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/04/09 01:21 linux-4.19.y 3f8a27f9e27b e22c3da3 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/04/08 12:02 linux-4.19.y 3f8a27f9e27b c6ff3e05 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/03/29 15:07 linux-4.19.y 3f8a27f9e27b 6bdac766 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/03/23 19:05 linux-4.19.y 3f8a27f9e27b 5ff41e94 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/03/13 16:35 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/03/08 06:31 linux-4.19.y 3f8a27f9e27b 7bdd8b2c .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/02/13 12:48 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/02/01 00:08 linux-4.19.y 3f8a27f9e27b 6b7c57fe .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/01/28 22:28 linux-4.19.y 3f8a27f9e27b 495e00c5 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/01/13 14:56 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/01/13 06:30 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2022/01/08 23:13 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/10/19 05:20 linux-4.19.y 3f8a27f9e27b 24dc29db .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/06/09 02:18 linux-4.19.y 1722257b8ece 5c2fe346 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/06/01 03:09 linux-4.19.y 6b7b0056defc 032639db .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/05/31 13:20 linux-4.19.y 6b7b0056defc 032639db .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/05/28 12:44 linux-4.19.y 6b7b0056defc 858ea628 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/05/21 20:17 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/05/21 09:54 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/05/18 06:06 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/05/17 15:12 linux-4.19.y 3c8c23092588 a2eb125d .config console log report info ci2-linux-4-19 WARNING in inc_nlink
2021/01/16 22:33 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2020/11/01 15:25 linux-4.19.y f5d8eef067ac 8bc4594f .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.