syzbot


WARNING in ovl_workdir_create (2)

Status: auto-obsoleted due to no activity on 2024/02/18 01:53
Subsystems: overlayfs
[Documentation on labels]
Reported-by: syzbot+0abcc185100dc8ec6541@syzkaller.appspotmail.com
First crash: 256d, last: 256d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [overlayfs?] WARNING in ovl_workdir_create (2) 0 (1) 2023/11/14 01:55
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ovl_workdir_create overlayfs 1 580d 576d 0/27 auto-obsoleted due to no activity on 2023/04/20 02:11
upstream WARNING in ovl_workdir_create (3) ext4 1 75d 71d 0/27 upstream: reported on 2024/05/13 18:28
linux-5.15 WARNING in ovl_workdir_create 1 28d 28d 0/3 upstream: reported on 2024/06/25 09:25
linux-6.1 WARNING in ovl_workdir_create 1 67d 67d 0/3 upstream: reported on 2024/05/17 13:40

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff888043a7c590, owner = 0x0, curr 0xffff88801f6b8000, list empty
WARNING: CPU: 1 PID: 5298 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 5298 at kernel/locking/rwsem.c:1370 up_write+0x4f4/0x580 kernel/locking/rwsem.c:1632
Modules linked in:
CPU: 1 PID: 5298 Comm: syz-executor.3 Not tainted 6.6.0-syzkaller-15601-g4bbdb725a36b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x4f4/0x580 kernel/locking/rwsem.c:1632
Code: 48 c7 c7 40 a3 6a 8b 48 c7 c6 80 a5 6a 8b 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 b0 db e7 ff 48 83 c4 08 <0f> 0b e9 75 fd ff ff 48 c7 c1 00 00 01 8f 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc9000535f500 EFLAGS: 00010296
RAX: 512c164c8d25da00 RBX: ffffffff8b6aa420 RCX: 0000000000040000
RDX: ffffc9000bd1f000 RSI: 000000000001d66e RDI: 000000000001d66f
RBP: ffffc9000535f5d0 R08: ffffffff81547c82 R09: 1ffff92000a6be40
R10: dffffc0000000000 R11: fffff52000a6be41 R12: 0000000000000000
R13: ffff888043a7c590 R14: 1ffff92000a6bea8 R15: dffffc0000000000
FS:  00007fa12d7f86c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3202a000 CR3: 000000001ed61000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:807 [inline]
 ovl_workdir_create+0x8e1/0x970 fs/overlayfs/super.c:367
 ovl_make_workdir fs/overlayfs/super.c:662 [inline]
 ovl_get_workdir+0x2fb/0x1a10 fs/overlayfs/super.c:820
 ovl_fill_super+0x12cb/0x35c0 fs/overlayfs/super.c:1376
 vfs_get_super fs/super.c:1338 [inline]
 get_tree_nodev+0xb4/0x140 fs/super.c:1357
 vfs_get_tree+0x8c/0x280 fs/super.c:1771
 do_new_mount+0x28f/0xae0 fs/namespace.c:3337
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fa12ca7cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007fa12d7f80c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa12cb9c050 RCX: 00007fa12ca7cae9
RDX: 0000000020000340 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007fa12cac847a R08: 0000000020000080 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa12cb9c050 R15: 00007fff601bc678
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/10 01:52 upstream 4bbdb725a36b 56230772 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ovl_workdir_create
* Struck through repros no longer work on HEAD.