syzbot


general protection fault in get_info

Status: fixed on 2018/02/01 04:00
Subsystems: netfilter
[Documentation on labels]
Reported-by: syzbot+980925dbfbc7f93bc2ef@syzkaller.appspotmail.com
Fix commit: e3eeacbac4ad netfilter: x_tables: don't return garbage pointer on modprobe failure
First crash: 2298d, last: 2293d
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 00/32] Netfilter/IPVS updates for net-next 34 (34) 2018/01/21 17:08
[PATCH nf-next] netfilter: don't return garbage pointer on modprobe failure 2 (2) 2018/01/16 00:53
general protection fault in get_info 0 (1) 2018/01/12 22:58

Sample crash report:
audit: type=1400 audit(1515655003.740:7): avc:  denied  { map } for  pid=3507 comm="syzkaller630068" path="/root/syzkaller630068803" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 3507 Comm: syzkaller630068 Not tainted 4.15.0-rc7-next-20180111+ #94
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_info+0x17d/0x690 net/ipv6/netfilter/ip6_tables.c:992
RSP: 0018:ffff8801bfad78e0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffffffff86e9a840 RCX: ffffffff84a8c538
RDX: 0000000000000023 RSI: 0000000000000000 RDI: 0000000000000118
RBP: ffff8801bfad7a70 R08: 1ffff10037f5ae53 R09: 0000000000000000
R10: ffffffff87f4aee0 R11: 0000000000000000 R12: ffff8801bfad7a48
R13: 1ffff10037f5af21 R14: 0000000000000100 R15: ffff8801bfad7c78
FS:  0000000001692880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd94855d80 CR3: 00000001bf4da002 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_ipt_get_ctl+0x159/0xac0 net/ipv4/netfilter/ip_tables.c:1699
 nf_sockopt net/netfilter/nf_sockopt.c:104 [inline]
 nf_getsockopt+0x6a/0xc0 net/netfilter/nf_sockopt.c:122
 ip_getsockopt+0x15c/0x220 net/ipv4/ip_sockglue.c:1573
 udp_getsockopt+0x45/0x80 net/ipv4/udp.c:2460
 ipv6_getsockopt+0xf3/0x2e0 net/ipv6/ipv6_sockglue.c:1363
 udpv6_getsockopt+0x45/0x80 net/ipv6/udp.c:1441
 sock_common_getsockopt+0x95/0xd0 net/core/sock.c:2937
 SYSC_getsockopt net/socket.c:1852 [inline]
 SyS_getsockopt+0x178/0x340 net/socket.c:1834
 entry_SYSCALL_64_fastpath+0x29/0xa0
RIP: 0033:0x43fc89
RSP: 002b:00007ffe136cbf18 EFLAGS: 00000203 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fc89
RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000020001ffc R09: 0000000000000000
R10: 0000000020b3ffac R11: 0000000000000203 R12: 00000000004015f0
R13: 0000000000401680 R14: 0000000000000000 R15: 0000000000000000
Code: c1 ff 48 3d 00 f0 ff ff 49 89 c6 0f 87 d4 03 00 00 e8 58 db c7 fc 49 8d 7e 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e9 04 00 00 49 8b 4e 18 49 8d 5c 24 80 48 89 
RIP: get_info+0x17d/0x690 net/ipv6/netfilter/ip6_tables.c:992 RSP: ffff8801bfad78e0
---[ end trace 8fdfc3af33127a7a ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (760):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/01/11 07:18 linux-next 8418f8876404 02a19b64 .config console log report syz C ci-upstream-next-kasan-gce
2018/01/15 19:26 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 19:26 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 19:25 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 19:02 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 19:01 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 18:49 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 18:16 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 18:11 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 18:06 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 18:01 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:54 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 17:51 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 17:44 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:40 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:28 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:21 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:12 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 17:12 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:06 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 17:03 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 16:42 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 16:40 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:29 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:28 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 16:16 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 16:12 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:10 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:10 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:05 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:03 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 16:01 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 15:59 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 15:59 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 15:54 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 15:37 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 15:35 mmots ce3c209f6733 66d492a6 .config console log report ci-upstream-mmots-kasan-gce
2018/01/15 15:33 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 15:29 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 15:24 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
2018/01/15 15:14 linux-next b625c1ff8227 66d492a6 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.