BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
IP: seq_file_net include/linux/seq_file_net.h:25 [inline]
IP: seq_release_net+0xa7/0x1e0 fs/proc/proc_net.c:95
PGD 8000000161c12067 P4D 8000000161c12067 PUD 161c15067 PMD 0
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 8056 Comm: syz-executor0 Not tainted 4.16.0+ #87
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:seq_file_net include/linux/seq_file_net.h:25 [inline]
RIP: 0010:seq_release_net+0xa7/0x1e0 fs/proc/proc_net.c:95
RSP: 0018:ffff880154cef508 EFLAGS: 00010246
RAX: ffff880156da5f78 RBX: ffff880156d1cf78 RCX: ffff880000000000
RDX: ffff8801589d5f78 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000
RBP: ffff880154cef560 R08: 0000000001080020 R09: 0000000000000002
R10: ffff8801cb684e40 R11: 000000018010000f R12: ffffffff8b314000
R13: 00000000a1a00070 R14: ffff880156e87000 R15: 0000000000000000
FS: 00007f4bd65e2700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000161c4e000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
close_pdeo+0x289/0x5c0 fs/proc/inode.c:166
proc_reg_release+0x1d2/0x260 fs/proc/inode.c:377
__fput+0x49e/0xa10 fs/file_table.c:209
____fput+0x37/0x40 fs/file_table.c:243
task_work_run+0x243/0x2c0 kernel/task_work.c:113
exit_task_work include/linux/task_work.h:22 [inline]
do_exit+0x10e1/0x38d0 kernel/exit.c:867
do_group_exit+0x1a0/0x360 kernel/exit.c:970
get_signal+0x1320/0x1f20 kernel/signal.c:2469
do_signal+0xb8/0x1c80 arch/x86/kernel/signal.c:809
exit_to_usermode_loop arch/x86/entry/common.c:162 [inline]
prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196
syscall_return_slowpath+0xe9/0x700 arch/x86/entry/common.c:265
do_syscall_64+0x36d/0x430 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x455389
RSP: 002b:00007f4bd65e1ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000072bec8 RCX: 0000000000455389
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000072bec8
RBP: 000000000072bec8 R08: 0000000000000000 R09: 000000000072bea0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000a3e81f R14: 00007f4bd65e29c0 R15: 0000000000000000
Code: 80 70 c0 ff 48 83 c3 78 48 83 38 00 0f 85 9a 00 00 00 44 89 6d cc 4c 8b 3b 48 89 df e8 63 70 c0 ff 48 83 38 00 0f 85 8d 00 00 00 <4d> 8b 2f 4c 89 ff e8 4e 70 c0 ff 48 8b 18 44 8b 3a 48 8d 7d d7
RIP: seq_file_net include/linux/seq_file_net.h:25 [inline] RSP: ffff880154cef508
RIP: seq_release_net+0xa7/0x1e0 fs/proc/proc_net.c:95 RSP: ffff880154cef508
CR2: 0000000000000000
---[ end trace 9e852dc470ab32a2 ]---