syzbot


WARNING in do_symlinkat

Status: auto-obsoleted due to no activity on 2023/09/09 00:28
Reported-by: syzbot+83b00d9bac371d855661@syzkaller.appspotmail.com
First crash: 339d, last: 339d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in do_symlinkat 2 208d 239d 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 168d 215d 0/3 upstream: reported syz repro on 2023/10/02 19:25
upstream WARNING in do_symlinkat ntfs3 C error done 66 335d 500d 22/26 fixed on 2023/06/08 14:41
upstream WARNING in do_symlinkat (2) ntfs3 C error unreliable 15 10d 259d 0/26 upstream: reported C repro on 2023/08/19 10:47

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff0001181720b0, owner = 0x0, curr 0xffff0000cb9ad1c0, list empty
WARNING: CPU: 0 PID: 7947 at kernel/locking/rwsem.c:1342 __up_write kernel/locking/rwsem.c:1341 [inline]
WARNING: CPU: 0 PID: 7947 at kernel/locking/rwsem.c:1342 up_write+0x384/0x438 kernel/locking/rwsem.c:1594
Modules linked in:
CPU: 0 PID: 7947 Comm: syz-executor.5 Not tainted 5.15.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __up_write kernel/locking/rwsem.c:1341 [inline]
pc : up_write+0x384/0x438 kernel/locking/rwsem.c:1594
lr : __up_write kernel/locking/rwsem.c:1341 [inline]
lr : up_write+0x384/0x438 kernel/locking/rwsem.c:1594
sp : ffff80001d067be0
x29: ffff80001d067bf0 x28: 1ffff00003a0cf8c x27: dfff800000000000
x26: dfff800000000000 x25: 1fffe0002302e423 x24: ffff000118172108
x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000cb9ad1c0
x20: ffff0001181720b0 x19: ffff0001181720b0 x18: 1fffe000368ffd8e
x17: 1fffe000368ffd8e x16: ffff8000119495b4 x15: ffff80001496f100
x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000040000
x11: 000000000003b791 x10: ffff80001d9da000 x9 : ca1d81a80d7af200
x8 : ca1d81a80d7af200 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a951d80
x2 : ffff0001b47fed10 x1 : 0000000100000000 x0 : 00000000000000bd
Call trace:
 __up_write kernel/locking/rwsem.c:1341 [inline]
 up_write+0x384/0x438 kernel/locking/rwsem.c:1594
 inode_unlock include/linux/fs.h:792 [inline]
 done_path_create fs/namei.c:3815 [inline]
 do_symlinkat+0x3b4/0x6b0 fs/namei.c:4390
 __do_sys_symlinkat fs/namei.c:4404 [inline]
 __se_sys_symlinkat fs/namei.c:4401 [inline]
 __arm64_sys_symlinkat+0xa4/0xbc fs/namei.c:4401
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 676
hardirqs last  enabled at (675): [<ffff800008268d0c>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline]
hardirqs last  enabled at (675): [<ffff800008268d0c>] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4780
hardirqs last disabled at (676): [<ffff800011944c48>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (464): [<ffff800008020ccc>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (464): [<ffff800008020ccc>] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587
softirqs last disabled at (449): [<ffff8000081b573c>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (449): [<ffff8000081b573c>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (449): [<ffff8000081b573c>] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636
---[ end trace dc5cee22c6d5f13f ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/01 00:28 linux-5.15.y 0ab06468cbd1 babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in do_symlinkat
* Struck through repros no longer work on HEAD.