syzbot


WARNING in path_openat (2)

Status: auto-obsoleted due to no activity on 2024/09/14 06:15
Reported-by: syzbot+fc894423606203c31beb@syzkaller.appspotmail.com
First crash: 170d, last: 138d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in path_openat 2 490d 540d 0/3 auto-obsoleted due to no activity on 2023/09/28 05:21
upstream WARNING in path_openat fs C error done 133 6d20h 690d 0/28 upstream: reported C repro on 2022/12/02 03:18
linux-6.1 WARNING in path_openat (2) 11 40d 176d 0/3 upstream: reported on 2024/04/29 18:46
linux-6.1 WARNING in path_openat 5 346d 544d 0/3 auto-obsoleted due to no activity on 2024/02/19 01:27

Sample crash report:
DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff888060ba6310, owner = 0x0, curr 0xffff888019e30000, list empty
WARNING: CPU: 1 PID: 3769 at kernel/locking/rwsem.c:1350 __up_write kernel/locking/rwsem.c:1349 [inline]
WARNING: CPU: 1 PID: 3769 at kernel/locking/rwsem.c:1350 up_write+0x4f5/0x580 kernel/locking/rwsem.c:1604
Modules linked in:
CPU: 1 PID: 3769 Comm: syz-executor.4 Not tainted 5.15.160-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:__up_write kernel/locking/rwsem.c:1349 [inline]
RIP: 0010:up_write+0x4f5/0x580 kernel/locking/rwsem.c:1604
Code: 48 c7 c7 00 1d 8b 8a 48 c7 c6 c0 1f 8b 8a 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 ff 0d ea ff 48 83 c4 08 <0f> 0b e9 71 fd ff ff 48 c7 c1 08 9a e4 8d 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc90003017840 EFLAGS: 00010292
RAX: 84e21f86505f3000 RBX: ffffffff8a8b1de0 RCX: 0000000000040000
RDX: ffffc90005721000 RSI: 00000000000261e9 RDI: 00000000000261ea
RBP: ffffc90003017910 R08: ffffffff8166860c R09: ffffed10173667a8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888060ba6310 R14: 1ffff92000602f10 R15: dffffc0000000000
FS:  00007fbb283416c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce66ac6290 CR3: 000000005d37a000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inode_unlock include/linux/fs.h:794 [inline]
 open_last_lookups fs/namei.c:3536 [inline]
 path_openat+0x154f/0x2f20 fs/namei.c:3739

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/06 06:14 linux-5.15.y c61bd26ae81a 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in path_openat
2024/05/16 00:31 linux-5.15.y 284087d4f7d5 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in path_openat
2024/05/12 10:24 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in path_openat
2024/05/05 15:59 linux-5.15.y 284087d4f7d5 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in path_openat
* Struck through repros no longer work on HEAD.