syzbot


WARNING in drop_nlink

Status: upstream: reported C repro on 2023/06/12 09:27
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+d83590f7f75c5a703ea3@syzkaller.appspotmail.com
First crash: 325d, last: 2d05h
Bug presence (1)
Date Name Commit Repro Result
2023/06/12 upstream (ToT) 858fd168a95c C [report] WARNING in drop_nlink
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in drop_nlink (2) hfs C done inconclusive 819 4h18m 1297d 0/26 upstream: reported C repro on 2020/10/13 17:02
linux-5.15 WARNING in drop_nlink origin:upstream C 36 1d10h 329d 0/3 upstream: reported C repro on 2023/06/08 18:04
linux-4.14 WARNING in drop_nlink C 9 423d 764d 0/1 upstream: reported C repro on 2022/03/30 09:01
linux-4.19 WARNING in drop_nlink fat reiserfs C error 25 452d 1302d 0/1 upstream: reported C repro on 2020/10/08 09:54
upstream WARNING in drop_nlink fs C done error 1 1471d 1467d 15/26 fixed on 2020/09/16 22:51
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/03/11 06:33 1h09m bisect fix linux-6.1.y job log (0) log
2024/02/01 18:12 1h17m bisect fix linux-6.1.y job log (0) log
2023/12/29 20:04 1h04m bisect fix linux-6.1.y job log (0) log
2023/11/28 21:50 1h38m bisect fix linux-6.1.y job log (0) log
2023/10/28 17:54 1h23m bisect fix linux-6.1.y job log (0) log
2023/07/25 20:41 2h03m bisect fix linux-6.1.y job log (0) log

Sample crash report:
loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3552 at fs/inode.c:330 drop_nlink+0xbb/0x100
Modules linked in:
CPU: 0 PID: 3552 Comm: syz-executor237 Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:drop_nlink+0xbb/0x100 fs/inode.c:330
Code: 49 8b 1e 48 8d bb c0 07 00 00 be 08 00 00 00 e8 db 34 ea ff f0 48 ff 83 c0 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 e8 25 91 93 ff <0f> 0b eb 89 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 62 ff ff ff 4c
RSP: 0018:ffffc900039ef950 EFLAGS: 00010293
RAX: ffffffff81f6830b RBX: 1ffff1100e8a6117 RCX: ffff88807dc08000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff81f6828f R09: fffff5200073de8d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880745308b8
R13: ffff8880762e2058 R14: ffff888074530870 R15: dffffc0000000000
FS:  00007f9a4ce556c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9a44ab4d58 CR3: 000000002a3c0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_unlink+0x3fa/0x7f0 fs/hfsplus/dir.c:381
 hfsplus_rename+0xc4/0x1b0 fs/hfsplus/dir.c:547
 vfs_rename+0xbfc/0xf90 fs/namei.c:4785
 do_renameat2+0xb97/0x13b0 fs/namei.c:4935
 __do_sys_rename fs/namei.c:4981 [inline]
 __se_sys_rename fs/namei.c:4979 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:4979
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9a4ce98a99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9a4ce55218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 000000000000003e RCX: 00007f9a4ce98a99
RDX: ffffffffffffffb0 RSI: 0000000020000100 RDI: 00000000200000c0
RBP: 00007f9a4cf216a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9a4cf216a0
R13: 0000000020000cc0 R14: 0031656c69662f2e R15: 0073756c70736668
 </TASK>

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/16 20:55 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in drop_nlink
2023/06/12 09:27 linux-6.1.y 2f3918bc53fb 49519f06 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/11 00:30 linux-6.1.y bf1e3b1cb1e0 4320ec32 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/28 22:19 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/28 22:19 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/24 05:25 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/23 22:52 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/23 17:19 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/23 12:47 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/23 12:47 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/23 12:46 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/23 12:46 linux-6.1.y 6741e066ec76 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/20 19:49 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/19 13:37 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/19 05:22 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/15 20:36 linux-6.1.y cd5d98c0556c b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/14 10:32 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/14 06:56 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/13 22:48 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in drop_nlink
2024/04/30 17:54 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/28 07:01 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/21 10:48 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/18 13:39 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/13 22:33 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/12 01:46 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/10 23:55 linux-6.1.y bf1e3b1cb1e0 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2024/04/10 23:55 linux-6.1.y bf1e3b1cb1e0 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
2023/09/25 12:23 linux-6.1.y d23900f974e0 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in drop_nlink
* Struck through repros no longer work on HEAD.