All of lore.kernel.org
 help / color / mirror / Atom feed
* [syzbot] kernel BUG in __fscache_relinquish_cookie
@ 2022-05-24  6:35 syzbot
  0 siblings, 0 replies; only message in thread
From: syzbot @ 2022-05-24  6:35 UTC (permalink / raw)
  To: dhowells, linux-cachefs, linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    b015dcd62b86 Merge tag 'for-5.18/parisc-4' of git://git.ke..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=12a4dccef00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=edaa7ad763884c40
dashboard link: https://syzkaller.appspot.com/bug?extid=544cd0e72903f79d599d
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+544cd0e72903f79d599d@syzkaller.appspotmail.com

FS-Cache: 1 == 0 is false
------------[ cut here ]------------
kernel BUG at fs/fscache/cookie.c:957!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 2 PID: 3705 Comm: syz-executor.3 Not tainted 5.18.0-rc7-syzkaller-00119-gb015dcd62b86 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:__fscache_relinquish_cookie.cold+0xee/0x107 fs/fscache/cookie.c:957
Code: c1 ea 03 0f b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 14 48 63 75 04 31 d2 48 c7 c7 40 cc df 89 e8 57 99 fc ff <0f> 0b 4c 89 ef e8 24 12 97 f8 eb e2 48 89 ef e8 1a 12 97 f8 e9 72
RSP: 0000:ffffc90002f17b90 EFLAGS: 00010282
RAX: 0000000000000019 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888042fde1c0 RSI: ffffffff815f4a18 RDI: fffff520005e2f64
RBP: ffff888069794040 R08: 0000000000000019 R09: 0000000000000001
R10: ffffffff815ef3ee R11: 0000000000000000 R12: ffff888069794130
R13: ffff888069794044 R14: ffff88807894aab0 R15: ffff88801d84aa00
FS:  000055555661b400(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000451437 CR3: 00000000654f7000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 fscache_relinquish_cookie include/linux/fscache.h:306 [inline]
 v9fs_evict_inode+0x1b1/0x2b0 fs/9p/vfs_inode.c:399
 evict+0x2ed/0x6b0 fs/inode.c:664
 dispose_list+0x117/0x1e0 fs/inode.c:697
 evict_inodes+0x350/0x450 fs/inode.c:747
 generic_shutdown_super+0xab/0x400 fs/super.c:451
 kill_anon_super+0x36/0x60 fs/super.c:1056
 v9fs_kill_super+0x39/0x90 fs/9p/vfs_super.c:223
 deactivate_locked_super+0x94/0x160 fs/super.c:332
 deactivate_super+0xad/0xd0 fs/super.c:363
 cleanup_mnt+0x3a2/0x540 fs/namespace.c:1186
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:169 [inline]
 exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7ff00688a557
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff46e14f08 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff00688a557
RDX: 00007fff46e14fd9 RSI: 000000000000000a RDI: 00007fff46e14fd0
RBP: 00007fff46e14fd0 R08: 00000000ffffffff R09: 00007fff46e14da0
R10: 000055555661c903 R11: 0000000000000246 R12: 00007ff0068e21f8
R13: 00007fff46e16090 R14: 000055555661c810 R15: 00007fff46e160d0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__fscache_relinquish_cookie.cold+0xee/0x107 fs/fscache/cookie.c:957
Code: c1 ea 03 0f b6 14 02 4c 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 14 48 63 75 04 31 d2 48 c7 c7 40 cc df 89 e8 57 99 fc ff <0f> 0b 4c 89 ef e8 24 12 97 f8 eb e2 48 89 ef e8 1a 12 97 f8 e9 72
RSP: 0000:ffffc90002f17b90 EFLAGS: 00010282
RAX: 0000000000000019 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888042fde1c0 RSI: ffffffff815f4a18 RDI: fffff520005e2f64
RBP: ffff888069794040 R08: 0000000000000019 R09: 0000000000000001
R10: ffffffff815ef3ee R11: 0000000000000000 R12: ffff888069794130
R13: ffff888069794044 R14: ffff88807894aab0 R15: ffff88801d84aa00
FS:  000055555661b400(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff131d09b8 CR3: 00000000654f7000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-24  6:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24  6:35 [syzbot] kernel BUG in __fscache_relinquish_cookie syzbot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.