syzbot


WARNING in vfs_setxattr (3)

Status: moderation: reported on 2024/04/17 05:51
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+d308ec620170b6ca7672@syzkaller.appspotmail.com
First crash: 154d, last: 1h13m
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in vfs_setxattr 2 7d06h 18d 0/3 upstream: reported on 2024/08/26 12:20
upstream WARNING in vfs_setxattr fs 1 616d 612d 0/28 auto-obsoleted due to no activity on 2023/04/06 11:38
linux-6.1 WARNING in vfs_setxattr 44 10d 154d 0/3 upstream: reported on 2024/04/12 18:51
upstream WARNING in vfs_setxattr (2) fs 1 456d 452d 0/28 auto-obsoleted due to no activity on 2023/09/13 15:16

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff888054f99b98, owner = 0x0, curr 0xffff888063bb8000, list empty
WARNING: CPU: 1 PID: 14481 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 14481 at kernel/locking/rwsem.c:1370 up_write+0x502/0x590 kernel/locking/rwsem.c:1632
Modules linked in:
CPU: 1 PID: 14481 Comm: syz.1.2327 Not tainted 6.10.0-syzkaller-11323-g7846b618e0a4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x502/0x590 kernel/locking/rwsem.c:1632
Code: c7 c7 60 c0 ca 8b 48 c7 c6 e0 c2 ca 8b 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 c3 9e e6 ff 48 83 c4 08 90 <0f> 0b 90 90 e9 6a fd ff ff 48 c7 c1 f0 fa af 8f 80 e1 07 80 c1 03
RSP: 0018:ffffc900033ffa20 EFLAGS: 00010292
RAX: 48ceb3db71810f00 RBX: ffffffff8bcac140 RCX: 0000000000040000
RDX: ffffc90017892000 RSI: 00000000000254cb RDI: 00000000000254cc
RBP: ffffc900033ffaf0 R08: ffffffff815555a2 R09: fffffbfff1c39f60
R10: dffffc0000000000 R11: fffffbfff1c39f60 R12: 0000000000000000
R13: ffff888054f99b98 R14: 1ffff9200067ff4c R15: dffffc0000000000
FS:  00007f81366b76c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efecde356b8 CR3: 000000006e1b6000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:804 [inline]
 vfs_setxattr+0x233/0x430 fs/xattr.c:323
 do_setxattr fs/xattr.c:629 [inline]
 setxattr+0x25d/0x2f0 fs/xattr.c:652
 path_setxattr+0x1bd/0x2a0 fs/xattr.c:671
 __do_sys_setxattr fs/xattr.c:687 [inline]
 __se_sys_setxattr fs/xattr.c:683 [inline]
 __x64_sys_setxattr+0xbb/0xd0 fs/xattr.c:683
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8135975b59
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f81366b7048 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f8135b06038 RCX: 00007f8135975b59
RDX: 0000000020000080 RSI: 0000000020000200 RDI: 0000000020000100
RBP: 00007f81359e4e5d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000700 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f8135b06038 R15: 00007ffce884d658
 </TASK>

Crashes (111):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/22 10:19 upstream 7846b618e0a4 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/06/21 15:43 upstream 50736169ecc8 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in vfs_setxattr
2024/06/21 14:03 upstream 50736169ecc8 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in vfs_setxattr
2024/06/19 19:51 upstream 2ccbdf43d5e7 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in vfs_setxattr
2024/09/14 07:40 upstream e936e7d4a83b ff60e2ca .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/10 07:28 upstream bc83b4d1f086 784df80e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/09 09:43 upstream da3ea35007d0 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/09 06:58 upstream 89f5e14d05b4 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/08 03:02 upstream d1f2d51b711a 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/07 15:59 upstream b31c44928842 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/07 09:46 upstream b31c44928842 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/06 16:35 upstream b831f83e40a2 ce70880a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/06 05:05 upstream ad618736883b 464ac2ed .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/03 04:58 upstream 67784a74e258 0dd55198 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/06/21 01:30 upstream 50736169ecc8 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in vfs_setxattr
2024/07/01 15:38 linux-next 74564adfd352 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/07/01 09:19 linux-next 1eb586a9782c b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/06/24 23:02 linux-next 62c97045b8f7 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/06/23 01:21 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/06/22 19:10 linux-next f76698bd9a8c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/09/04 21:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 9d47f20a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/31 15:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/28 04:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci df54f4a16f82 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/21 10:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 048499f92ed7 db5852f9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/12 07:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/10 21:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/10 05:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/08 16:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 de12cf65 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/08/06 00:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 e35c337f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/31 00:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 a4e01e1e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/26 03:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/24 10:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/23 23:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/20 17:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/18 23:13 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 ee4e11c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/16 07:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/15 19:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 efee4ed2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/15 16:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 efee4ed2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/12 03:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c912bf709078 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/09 15:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1a6f53de2eb9 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/08 21:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1a6f53de2eb9 cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/08 07:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8a03d70c27fc bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/06 09:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8a03d70c27fc bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/05 23:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8a03d70c27fc 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/03 08:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fdd6064ff31c 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/02 11:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fdd6064ff31c 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/07/02 10:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fdd6064ff31c 8373af66 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/06/30 00:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5e456a31d1ac 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/06/26 17:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b4a3f9b4863a 880c1ca1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/04/15 17:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
2024/04/13 05:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in vfs_setxattr
* Struck through repros no longer work on HEAD.