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: 222d, last: 43m
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in vfs_setxattr 5 8d08h 86d 0/3 upstream: reported on 2024/08/26 12:20
upstream WARNING in vfs_setxattr fs 1 684d 680d 0/28 auto-obsoleted due to no activity on 2023/04/06 11:38
linux-6.1 WARNING in vfs_setxattr 64 3h56m 222d 0/3 upstream: reported on 2024/04/12 18:51
upstream WARNING in vfs_setxattr (2) fs 1 524d 520d 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 = 0xffff888055c543b8, owner = 0x0, curr 0xffff888030a38000, list empty
WARNING: CPU: 1 PID: 12037 at kernel/locking/rwsem.c:1368 __up_write kernel/locking/rwsem.c:1367 [inline]
WARNING: CPU: 1 PID: 12037 at kernel/locking/rwsem.c:1368 up_write+0x502/0x590 kernel/locking/rwsem.c:1630
Modules linked in:
CPU: 1 UID: 0 PID: 12037 Comm: syz.5.1723 Not tainted 6.12.0-syzkaller-01782-gbf9aa14fc523 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__up_write kernel/locking/rwsem.c:1367 [inline]
RIP: 0010:up_write+0x502/0x590 kernel/locking/rwsem.c:1630
Code: c7 c7 e0 c2 0a 8c 48 c7 c6 60 c5 0a 8c 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 33 26 e6 ff 48 83 c4 08 90 <0f> 0b 90 90 e9 6a fd ff ff 48 c7 c1 f4 df 1d 90 80 e1 07 80 c1 03
RSP: 0018:ffffc900045e7960 EFLAGS: 00010296

RAX: f7cb586afdcdd200 RBX: ffffffff8c0ac3c0 RCX: 0000000000080000
RDX: ffffc9001513d000 RSI: 000000000000b3b9 RDI: 000000000000b3ba
RBP: ffffc900045e7a30 R08: ffffffff8155e432 R09: fffffbfff1cfa88c
R10: dffffc0000000000 R11: fffffbfff1cfa88c R12: 0000000000000000
R13: ffff888055c543b8 R14: 1ffff920008bcf34 R15: dffffc0000000000
FS:  00007fc6db9c86c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32a06ff8 CR3: 000000006c1f2000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:823 [inline]
 vfs_setxattr+0x233/0x430 fs/xattr.c:323
 do_setxattr fs/xattr.c:636 [inline]
 filename_setxattr+0x2af/0x430 fs/xattr.c:665
 path_setxattrat+0x440/0x510 fs/xattr.c:713
 __do_sys_setxattr fs/xattr.c:747 [inline]
 __se_sys_setxattr fs/xattr.c:743 [inline]
 __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743
 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:0x7fc6dab7e819
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:00007fc6db9c8038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fc6dad36080 RCX: 00007fc6dab7e819
RDX: 0000000020000640 RSI: 0000000020000240 RDI: 0000000020000200
RBP: 00007fc6dabf175e R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000002d6 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fc6dad36080 R15: 00007ffc37ed0118
 </TASK>

Crashes (149):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/20 18:25 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/11/20 16:05 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/11/20 11:46 upstream a5c93bfec0be 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/11/14 04:15 upstream f1b785f4c787 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/10/31 13:22 upstream 0fc810ae3ae1 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/10/29 00:47 upstream e42b1a9a2557 9efb3cc7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/10/28 10:46 upstream 819837584309 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/10/21 15:14 upstream 42f7652d3eb5 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/10/21 04:08 upstream db87114dcf13 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/10/05 06:40 upstream 360c1f1f24c6 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in vfs_setxattr
2024/09/27 19:20 upstream e477dba5442c 2b1784d6 .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/11/21 05:46 upstream 8f7c8b88bda4 4b25d554 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/11/17 13:06 upstream 4a5df3796467 cfe3a04a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/11/17 03:14 upstream e8bdb3c8be08 cfe3a04a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/11/04 05:52 upstream b9021de3ec2f f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/11/03 00:44 upstream 11066801dd4b f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/11/02 16:27 upstream 11066801dd4b f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/10/22 21:37 upstream c2ee9f594da8 a573a9f4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/10/01 17:23 upstream e32cde8d2bd7 e9f6e118 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/27 08:26 upstream 075dbe9f6e3c 9314348a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/18 03:13 upstream a940d9a43e62 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/15 22:17 upstream d42f7708e27c 08d8a733 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in vfs_setxattr
2024/09/14 20:34 upstream b7718454f937 08d8a733 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-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/11/20 12:54 linux-next ac24e26aa08f 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/11/10 09:05 linux-next 929beafbe7ac 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/31 08:24 linux-next f9f24ca362a4 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/30 22:00 linux-next 86e3904dcdc7 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/30 11:16 linux-next 86e3904dcdc7 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/20 06:26 linux-next 15e7d45e786a cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/17 04:53 linux-next 15e7d45e786a 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/14 11:01 linux-next 7f773fd61baa 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in vfs_setxattr
2024/10/12 09:22 linux-next d61a00525464 084d8178 .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/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.