syzbot


WARNING in chown_common

Status: upstream: reported on 2026/04/28 07:31
Reported-by: syzbot+23a008d45833cf9f9107@syzkaller.appspotmail.com
First crash: 7d01h, last: 7d01h
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in chown_common -1 14 640d 755d 0/3 auto-obsoleted due to no activity on 2024/11/11 04:47
linux-6.1 WARNING in chown_common (3) -1 7 8d16h 119d 0/3 upstream: reported on 2026/01/05 12:35
linux-6.1 WARNING in chown_common (2) -1 6 233d 334d 0/3 auto-obsoleted due to no activity on 2025/12/23 04:01
upstream WARNING in chown_common gfs2 -1 C 229 20d 205d 0/29 upstream: reported C repro on 2025/10/12 05:45

Sample crash report:
------------[ cut here ]------------
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff88805dd865b8, owner = 0x0, curr 0xffff888031c30000, list empty
WARNING: CPU: 1 PID: 21022 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline]
WARNING: CPU: 1 PID: 21022 at kernel/locking/rwsem.c:1370 up_write+0x393/0x410 kernel/locking/rwsem.c:1626
Modules linked in:
CPU: 1 PID: 21022 Comm: syz.1.3445 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:__up_write kernel/locking/rwsem.c:1369 [inline]
RIP: 0010:up_write+0x393/0x410 kernel/locking/rwsem.c:1626
Code: 44 d0 48 c7 c7 80 bd ca 8a 48 c7 c6 c0 bf ca 8a 48 8b 14 24 4c 89 f1 4d 89 e0 4c 8b 4c 24 08 41 52 e8 91 3c e9 ff 48 83 c4 08 <0f> 0b e9 7d fd ff ff 48 c7 c1 b0 4e 8b 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc9000cc8fc70 EFLAGS: 00010292
RAX: 6e0b7432fdd61100 RBX: ffff88805dd865b8 RCX: 0000000000080000
RDX: ffffc9001d8c4000 RSI: 000000000003a0fc RDI: 000000000003a0fd
RBP: dffffc0000000000 R08: ffffc9000cc8f867 R09: 1ffff92001991f0c
R10: dffffc0000000000 R11: fffff52001991f0d R12: 0000000000000000
R13: ffff88805dd86610 R14: ffff88805dd865b8 R15: 1ffff1100bbb0cb8
FS:  00007fa4f2e6c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd7b03fcf8 CR3: 000000005f29f000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:809 [inline]
 chown_common+0x41f/0x5d0 fs/open.c:785
 do_fchownat+0x14b/0x240 fs/open.c:814
 __do_sys_chown fs/open.c:834 [inline]
 __se_sys_chown fs/open.c:832 [inline]
 __x64_sys_chown+0x82/0x90 fs/open.c:832
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa4f1f9cdd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa4f2e6c028 EFLAGS: 00000246 ORIG_RAX: 000000000000005c
RAX: ffffffffffffffda RBX: 00007fa4f2216180 RCX: 00007fa4f1f9cdd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000300
RBP: 00007fa4f2032d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa4f2216218 R14: 00007fa4f2216180 R15: 00007ffe74b62498
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/28 07:30 linux-6.6.y 142cd8382222 ce741359 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in chown_common
* Struck through repros no longer work on HEAD.