syzbot


WARNING in do_symlinkat (2)

Status: upstream: reported C repro on 2023/08/19 10:47
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+d123d9a1df4f9a897854@syzkaller.appspotmail.com
First crash: 487d, last: 5d23h
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) [ignored commit]:
commit f73f6181eb057671e358ebac8ed7f0014f12efb8
Author: Randy Dunlap <rdunlap@infradead.org>
Date: Wed Aug 30 16:32:15 2023 +0000

  userns: eliminate many kernel-doc warnings

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] WARNING in do_symlinkat (2) 0 (2) 2023/11/28 17:38
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in do_symlinkat 2 408d 439d 0/3 auto-obsoleted due to no activity on 2024/01/17 15:16
linux-5.15 WARNING in do_symlinkat (2) origin:lts-only syz inconclusive 4 368d 415d 0/3 auto-obsoleted due to no activity on 2024/10/05 04:07
linux-6.1 WARNING in do_symlinkat (2) 4 33d 140d 0/3 upstream: reported on 2024/07/04 06:01
linux-5.15 WARNING in do_symlinkat 1 539d 539d 0/3 auto-obsoleted due to no activity on 2023/09/09 00:28
upstream WARNING in do_symlinkat ntfs3 C error done 66 535d 700d 22/28 fixed on 2023/06/08 14:41
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/11/28 17:38 43m tintinm2017@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2023/11/11 12:31 20m retest repro upstream report log
2023/10/17 09:54 20m retest repro upstream OK log
2023/09/02 10:49 14m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/01/11 08:22 7h59m bisect fix upstream OK (1) job log
2023/12/12 03:44 2h21m bisect fix upstream OK (0) job log log

Sample crash report:
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff8880715bea70, owner = 0x0, curr 0xffff88802212bb80, list empty
WARNING: CPU: 1 PID: 5387 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 5387 at kernel/locking/rwsem.c:1370 up_write+0x4f4/0x580 kernel/locking/rwsem.c:1626
Modules linked in:
CPU: 1 PID: 5387 Comm: syz-executor310 Not tainted 6.5.0-rc6-syzkaller-00200-gd4ddefee5160 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x4f4/0x580 kernel/locking/rwsem.c:1626
Code: 48 c7 c7 20 8c 0a 8b 48 c7 c6 60 8e 0a 8b 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 30 59 e8 ff 48 83 c4 08 <0f> 0b e9 75 fd ff ff 48 c7 c1 88 ab 98 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc900042afd40 EFLAGS: 00010292
RAX: 083997afe1a51c00 RBX: ffffffff8b0a8d00 RCX: ffff88802212bb80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900042afe10 R08: ffffffff8152d442 R09: 1ffff92000855f20
R10: dffffc0000000000 R11: fffff52000855f21 R12: 0000000000000000
R13: ffff8880715bea70 R14: 1ffff92000855fb0 R15: dffffc0000000000
FS:  00007f472f84f6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4737a71000 CR3: 000000002634e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:776 [inline]
 done_path_create fs/namei.c:3937 [inline]
 do_symlinkat+0x25e/0x610 fs/namei.c:4505
 __do_sys_symlink fs/namei.c:4524 [inline]
 __se_sys_symlink fs/namei.c:4522 [inline]
 __x64_sys_symlink+0x7e/0x90 fs/namei.c:4522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4737ab3d89
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:00007f472f84f218 EFLAGS: 00000246 ORIG_RAX: 0000000000000058
RAX: ffffffffffffffda RBX: 00007f4737b5b6d8 RCX: 00007f4737ab3d89
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000020000540
RBP: 00007f4737b5b6d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4737b27954
R13: 00007f4737b27850 R14: 0031656c69662f2e R15: 0030656c69662f2e
 </TASK>

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/19 10:47 upstream d4ddefee5160 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in do_symlinkat
2023/09/30 06:13 upstream 71e58659bfc0 8e26a358 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in do_symlinkat
2024/10/11 06:58 upstream 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/10/05 07:59 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in do_symlinkat
2024/10/05 07:58 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in do_symlinkat
2024/09/21 06:43 upstream 1868f9d0260e 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/09/10 06:16 upstream bc83b4d1f086 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/08/01 20:09 upstream 183d46ff422e 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/07/22 11:06 upstream 933069701c1b df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/07/19 11:39 upstream 720261cfc732 ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/07/10 19:04 upstream a19ea421490d 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/06/03 20:07 upstream c3f38fa61af7 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/04/24 11:09 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in do_symlinkat
2024/02/03 06:22 upstream 56897d51886f 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2023/10/18 04:44 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_symlinkat
2023/10/03 01:09 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2023/09/28 06:48 upstream 633b47cb009d c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2024/11/15 07:09 upstream cfaaa7d010d1 f6ede3a3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in do_symlinkat
2023/08/10 23:36 upstream 25aa0bebba72 4df3089c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_symlinkat
2023/08/04 12:23 upstream c1a515d3c027 74621247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2023/07/30 16:57 upstream d31e3792919e 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in do_symlinkat
2023/07/30 16:36 upstream d31e3792919e 2a0d0f29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in do_symlinkat
2023/07/22 20:01 upstream 725d444db6b0 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in do_symlinkat
2024/07/20 13:38 linux-next 41c196e567fb b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in do_symlinkat
2024/06/09 10:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8867bbd4a056 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_symlinkat
2023/09/23 16:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_symlinkat
2023/09/05 12:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 8bc9053e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_symlinkat
2023/07/26 18:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 41fe1bae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in do_symlinkat
* Struck through repros no longer work on HEAD.