syzbot


BUG: unable to handle kernel paging request in kernfs_active

Status: auto-closed as invalid on 2021/01/05 00:58
Subsystems: kernfs
[Documentation on labels]
Reported-by: syzbot+aa611a7b1385209cf5cf@syzkaller.appspotmail.com
First crash: 1290d, last: 1290d

Sample crash report:
BUG: unable to handle page fault for address: ffff8882183e32fc
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD e201067 P4D e201067 PUD e204067 PMD 15d063 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3920 Comm: systemd-udevd Not tainted 5.9.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline]
RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:28 [inline]
RIP: 0010:kernfs_active+0x87/0xf0 fs/kernfs/dir.c:30
Code: af 1e cb ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 55 <8b> 5b 04 31 ff 89 de e8 0d 71 8a ff 89 d8 5b f7 d0 5d c1 e8 1f c3
RSP: 0018:ffffc90001077ae0 EFLAGS: 00010246
RAX: 0000000000000007 RBX: ffff8882183e32f8 RCX: ffffffff81ebca31
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8882183e32fc
RBP: ffff8882183e32fc R08: 0000000000000000 R09: ffff8882183e32ff
R10: ffffed104307c65f R11: 0000000000000000 R12: ffff8882183e32f8
R13: 0000000000000004 R14: ffff88808a81f4e8 R15: ffffc90001077d50
FS:  00007f39fcb188c0(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8882183e32fc CR3: 00000000a7273000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kernfs_dop_revalidate+0xa0/0x3a0 fs/kernfs/dir.c:566
 d_revalidate fs/namei.c:768 [inline]
 d_revalidate fs/namei.c:765 [inline]
 lookup_fast+0x38e/0x6c0 fs/namei.c:1505
 walk_component+0xc6/0x6a0 fs/namei.c:1856
 lookup_last fs/namei.c:2309 [inline]
 path_lookupat+0x1ba/0x830 fs/namei.c:2333
 filename_lookup+0x19f/0x560 fs/namei.c:2366
 user_path_at include/linux/namei.h:59 [inline]
 do_faccessat+0x129/0x820 fs/open.c:423
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f39fb98b9c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffc25a56bd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00005564678fb0a0 RCX: 00007f39fb98b9c7
RDX: 00746e657665752f RSI: 0000000000000000 RDI: 00007ffc25a56be0
RBP: 00007ffc25a56c50 R08: 000000000000fc21 R09: 0000000000001010
R10: 00007f39fbc49b58 R11: 0000000000000246 R12: 0000556466ee7856
R13: 00005564678f7710 R14: 00007ffc25a56be0 R15: 00007ffc25a56d20
Modules linked in:
CR2: ffff8882183e32fc
---[ end trace 389c020200f28f74 ]---
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline]
RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:28 [inline]
RIP: 0010:kernfs_active+0x87/0xf0 fs/kernfs/dir.c:30
Code: af 1e cb ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 55 <8b> 5b 04 31 ff 89 de e8 0d 71 8a ff 89 d8 5b f7 d0 5d c1 e8 1f c3
RSP: 0018:ffffc90001077ae0 EFLAGS: 00010246
RAX: 0000000000000007 RBX: ffff8882183e32f8 RCX: ffffffff81ebca31
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8882183e32fc
RBP: ffff8882183e32fc R08: 0000000000000000 R09: ffff8882183e32ff
R10: ffffed104307c65f R11: 0000000000000000 R12: ffff8882183e32f8
R13: 0000000000000004 R14: ffff88808a81f4e8 R15: ffffc90001077d50
FS:  00007f39fcb188c0(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8882183e32fc CR3: 00000000a7273000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/07 00:57 upstream c85fb28b6f99 1880b4a9 .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.