syzbot
general protection fault in kernfs_kill_sb
Status:
upstream: reported C repro on 2019/04/18 07:59
Reported-by: syzbot+3c27271ea22f106cb9a9@syzkaller.appspotmail.com
First crash: 2654d, last: 1625d
▶
▼
Last patch testing requests (10)
▶
▼
Fix bisection attempts (12)
Sample crash report:
RBP: 000000000000a984 R08: 0000000000000000 R09: 0000000000000039
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 6951 Comm: syz-executor796 Not tainted 4.14.150 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809ffe8540 task.stack: ffff888080138000
RIP: 0010:__list_del_entry_valid+0x85/0xf5 lib/list_debug.c:51
RSP: 0018:ffff88808013fb30 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 00000000fffffff4 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880a99095a0
RBP: ffff88808013fb48 R08: dffffc0000000000 R09: ffffffff88c9f878
R10: ffff88808013fb48 R11: ffff88809ffe8540 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880a9909598 R15: ffff8880a99095a0
FS: 0000000001186940(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000a0257000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__list_del_entry include/linux/list.h:117 [inline]
list_del include/linux/list.h:125 [inline]
kernfs_kill_sb+0x62/0x1e0 fs/kernfs/mount.c:365
sysfs_kill_sb+0x23/0x40 fs/sysfs/mount.c:53
deactivate_locked_super+0x74/0xe0 fs/super.c:319
sget_userns+0x9d9/0xc30 fs/super.c:537
kernfs_mount_ns+0xe9/0x790 fs/kernfs/mount.c:324
sysfs_mount+0xaa/0x170 fs/sysfs/mount.c:39
mount_fs+0x97/0x2a1 fs/super.c:1237
vfs_kern_mount.part.0+0x5e/0x3d0 fs/namespace.c:1046
vfs_kern_mount fs/namespace.c:1036 [inline]
do_new_mount fs/namespace.c:2549 [inline]
do_mount+0x417/0x27d0 fs/namespace.c:2879
SYSC_mount fs/namespace.c:3095 [inline]
SyS_mount+0xab/0x120 fs/namespace.c:3072
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441829
RSP: 002b:00007ffd826d9c58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441829
RDX: 0000000020000500 RSI: 0000000020000480 RDI: 0000000000000000
RBP: 000000000000a984 R08: 0000000000000000 R09: 0000000000000039
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000
Code: c5 0f 84 e1 00 00 00 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 e2 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 53 49 8b 14 24 4c 39 f2 0f 85 99 00 00 00 49 8d
RIP: __list_del_entry_valid+0x85/0xf5 lib/list_debug.c:51 RSP: ffff88808013fb30
---[ end trace 2c396c50043bc97f ]---
* Struck through repros no longer work on HEAD.