syzbot


WARNING in pstore_kill_sb

Status: fixed on 2021/04/09 19:46
Reported-by: syzbot+d0cf0ad6513e9a1da5df@syzkaller.appspotmail.com
Fix commit: 9c7d83ae6ba6 pstore: Fix warning in pstore_kill_sb()
First crash: 508d, last: 508d

Sample crash report:
 do_el0_svc_compat+0x40/0x80 arch/arm64/kernel/syscall.c:204
 el0_svc_compat+0x20/0x30 arch/arm64/kernel/entry-common.c:442
 el0_sync_compat_handler+0x90/0x140 arch/arm64/kernel/entry-common.c:451
 el0_sync_compat+0x178/0x180 arch/arm64/kernel/entry.S:708
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5780 at fs/pstore/inode.c:470 pstore_kill_sb+0x88/0x90 fs/pstore/inode.c:480
Modules linked in:
CPU: 0 PID: 5780 Comm: syz-executor.1 Not tainted 5.11.0-rc7-syzkaller-00002-ge0756cfc7d7c #0
Hardware name: linux,dummy-virt (DT)
pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
pc : pstore_kill_sb+0x88/0x90 fs/pstore/inode.c:470
lr : pstore_kill_sb+0x30/0x90 fs/pstore/inode.c:469
sp : ffff00001d1e7a70
x29: ffff00001d1e7a70 x28: 0000000000000004 
x27: 0000000000008000 x26: ffff000016070a00 
x25: 0000000000000000 x24: ffff00000df2e068 
x23: 1fffe00001be5c0d x22: ffff800011edf070 
x21: ffff80001bbea000 x20: ffff00000df2e000 
x19: ffff800019a97a20 x18: 0000000000000000 
x17: 0000000000000000 x16: 0000000000000002 
x15: ffff800019c06380 x14: 1fffe00003a3cee8 
x13: 0000000000000000 x12: ffff700003352f45 
x11: 1ffff00003352f44 x10: ffff700003352f44 
x9 : dfff800000000000 x8 : ffff800019a97a27 
x7 : 0000000000000001 x6 : 00008ffffccad0bc 
x5 : ffff800019a97a20 x4 : 1fffe00001de59a9 
x3 : 0000000000000000 x2 : 0000000000000000 
x1 : ffff00000ef2cd40 x0 : 0000000000000000 
Call trace:
 pstore_kill_sb+0x88/0x90 fs/pstore/inode.c:480
 deactivate_locked_super+0x94/0x154 fs/super.c:335
 mount_single+0x114/0x180 fs/super.c:1470
 pstore_mount+0x1c/0x30 fs/pstore/inode.c:464
 legacy_get_tree+0xd0/0x190 fs/fs_context.c:592
 vfs_get_tree+0x74/0x2a0 fs/super.c:1496
 do_new_mount fs/namespace.c:2881 [inline]
 path_mount+0xf64/0x2170 fs/namespace.c:3211
 do_mount fs/namespace.c:3224 [inline]
 __do_sys_mount fs/namespace.c:3432 [inline]
 __se_sys_mount fs/namespace.c:3409 [inline]
 __arm64_sys_mount+0x2ec/0x520 fs/namespace.c:3409
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:49 [inline]
 el0_svc_common.constprop.0+0x110/0x3c0 arch/arm64/kernel/syscall.c:159
 do_el0_svc_compat+0x40/0x80 arch/arm64/kernel/syscall.c:204
 el0_svc_compat+0x20/0x30 arch/arm64/kernel/entry-common.c:442
 el0_sync_compat_handler+0x90/0x140 arch/arm64/kernel/entry-common.c:451
 el0_sync_compat+0x178/0x180 arch/arm64/kernel/entry.S:708

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu2-arm64-compat 2021/02/09 16:47 upstream e0756cfc7d7c 2bd9619f .config log report info WARNING in pstore_kill_sb