syzbot


general protection fault in proc_register

Status: auto-closed as invalid on 2020/07/08 00:11
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+906405b15de42698d0bf@syzkaller.appspotmail.com
First crash: 1420d, last: 1420d

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
general protection fault, probably for non-canonical address 0xe0e0dce0e0e0e0e5: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x0707070707070728-0x070707070707072f]
CPU: 0 PID: 11952 Comm: syz-executor.0 Not tainted 5.7.0-rc1-next-20200415-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:proc_match fs/proc/generic.c:48 [inline]
RIP: 0010:pde_subdir_insert fs/proc/generic.c:101 [inline]
RIP: 0010:proc_register+0x219/0x580 fs/proc/generic.c:361
Code: 00 83 e2 07 38 d0 7f 08 84 c0 0f 85 bb 02 00 00 49 8d 7c 24 23 44 0f b6 b5 e3 00 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 86 02 00 00 45 0f b6 7c 24
RSP: 0018:ffffc900077cf858 EFLAGS: 00010202
RAX: 00e0e0e0e0e0e0e5 RBX: ffff888000134350 RCX: ffffc90006049000
RDX: 0000000000000002 RSI: ffffffff81e339f3 RDI: 070707070707072a
RBP: ffff888065a83400 R08: ffff888055d7a3c0 R09: fffff52000ef9efe
R10: 0000000000000003 R11: fffff52000ef9efd R12: 0707070707070707
R13: dffffc0000000000 R14: 0000000000000005 R15: 0000000000000007
FS:  00007f73917b7700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200006c0 CR3: 0000000218b59000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 proc_create_net_data+0x145/0x1b0 fs/proc/proc_net.c:114
 ping_v6_proc_init_net+0x51/0x70 net/ipv6/ping.c:220
 ops_init+0xaf/0x420 net/core/net_namespace.c:151
 setup_net+0x2de/0x860 net/core/net_namespace.c:341
 copy_net_ns+0x293/0x590 net/core/net_namespace.c:482
 create_new_namespaces+0x3fb/0xb30 kernel/nsproxy.c:108
 copy_namespaces+0x385/0x470 kernel/nsproxy.c:177
 copy_process+0x2a33/0x7110 kernel/fork.c:2088
 _do_fork+0x12d/0x1010 kernel/fork.c:2430
 __do_sys_clone+0xec/0x140 kernel/fork.c:2585
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f73917b6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00000000004da960 RCX: 000000000045c829
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 000000004a006100
RBP: 000000000078bf00 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000076 R14: 00000000004c311e R15: 00007f73917b76d4
Modules linked in:
---[ end trace eaa17b479380fd6c ]---
RIP: 0010:proc_match fs/proc/generic.c:48 [inline]
RIP: 0010:pde_subdir_insert fs/proc/generic.c:101 [inline]
RIP: 0010:proc_register+0x219/0x580 fs/proc/generic.c:361
Code: 00 83 e2 07 38 d0 7f 08 84 c0 0f 85 bb 02 00 00 49 8d 7c 24 23 44 0f b6 b5 e3 00 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 86 02 00 00 45 0f b6 7c 24
RSP: 0018:ffffc900077cf858 EFLAGS: 00010202
RAX: 00e0e0e0e0e0e0e5 RBX: ffff888000134350 RCX: ffffc90006049000
RDX: 0000000000000002 RSI: ffffffff81e339f3 RDI: 070707070707072a
RBP: ffff888065a83400 R08: ffff888055d7a3c0 R09: fffff52000ef9efe
R10: 0000000000000003 R11: fffff52000ef9efd R12: 0707070707070707
R13: dffffc0000000000 R14: 0000000000000005 R15: 0000000000000007
FS:  00007f73917b7700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200006c0 CR3: 0000000218b59000 CR4: 00000000001426f0
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/05/09 00:11 linux-next ac935d227366 e97b06d3 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.