syzbot


BUG: unable to handle kernel paging request in ebt_do_table

Status: closed as dup on 2018/06/09 23:54
Subsystems: bridge netfilter
[Documentation on labels]
Reported-by: syzbot+93f34882275ae7caf9db@syzkaller.appspotmail.com
First crash: 2184d, last: 2180d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in ebt_do_table bridge netfilter C 13 2162d 2187d
Discussions (1)
Title Replies (including bot) Last reply
BUG: unable to handle kernel paging request in ebt_do_table 1 (2) 2018/06/09 23:54

Sample crash report:
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
8021q: adding VLAN 0 to HW filter on device team0
BUG: unable to handle kernel paging request at ffffc9005c3ea003
PGD 1da946067 P4D 1da946067 PUD 0 
Oops: 0000 [#1] SMP KASAN
CPU: 0 PID: 4531 Comm: syz-executor543 Not tainted 4.17.0+ #93
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ebt_do_table+0x1983/0x2140 net/bridge/netfilter/ebtables.c:288
Code: 24 08 48 89 d8 48 89 9d d0 fe ff ff 48 c1 e8 03 42 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 3b 06 00 00 48 8b 85 d0 fe ff ff 31 ff <8b> 18 89 de e8 04 e8 c0 fa 85 db 0f 85 a0 02 00 00 e8 e7 e6 c0 fa 
RSP: 0018:ffff8801d90adc68 EFLAGS: 00010246
RAX: ffffc9005c3ea003 RBX: ffffc9005c3ea003 RCX: ffffc90001e3e000
RDX: 0000000000000000 RSI: ffffffff86b9558c RDI: 0000000000000000
RBP: ffff8801d90ade38 R08: ffff8801d93b21c0 R09: ffffed003b5c46d6
R10: ffffed003b5c46d6 R11: ffff8801dae236b3 R12: ffffc90001e3e000
R13: ffffc90001e3a130 R14: ffffc90001e3a090 R15: dffffc0000000000
FS:  0000000000d92880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9005c3ea003 CR3: 00000001d8827000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ebt_in_hook+0x65/0x80 net/bridge/netfilter/ebtable_filter.c:63
 ebt_out_hook+0x25/0x30 net/bridge/netfilter/ebtable_filter.c:63
 nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline]
 nf_hook_slow+0xc2/0x1c0 net/netfilter/core.c:511
 nf_hook include/linux/netfilter.h:242 [inline]
 NF_HOOK include/linux/netfilter.h:285 [inline]
 __br_forward+0x520/0xd90 net/bridge/br_forward.c:113
 deliver_clone+0x61/0xc0 net/bridge/br_forward.c:129
 maybe_deliver net/bridge/br_forward.c:170 [inline]
 br_flood+0x6f3/0x980 net/bridge/br_forward.c:212
 br_dev_xmit+0x1121/0x1810 net/bridge/br_device.c:103
 __netdev_start_xmit include/linux/netdevice.h:4128 [inline]
 netdev_start_xmit include/linux/netdevice.h:4137 [inline]
 xmit_one net/core/dev.c:3034 [inline]
 dev_hard_start_xmit+0x264/0xc10 net/core/dev.c:3050
 __dev_queue_xmit+0x29da/0x3900 net/core/dev.c:3569
 dev_queue_xmit+0x17/0x20 net/core/dev.c:3602
 neigh_resolve_output+0x679/0xad0 net/core/neighbour.c:1361
 neigh_output include/net/neighbour.h:483 [inline]
 ip_finish_output2+0xa5f/0x1840 net/ipv4/ip_output.c:229
 ip_do_fragment+0x218e/0x2ac0 net/ipv4/ip_output.c:675
 ip_fragment.constprop.49+0x179/0x240 net/ipv4/ip_output.c:546
 ip_finish_output+0x6cb/0xf80 net/ipv4/ip_output.c:315
 NF_HOOK_COND include/linux/netfilter.h:276 [inline]
 ip_output+0x21b/0x850 net/ipv4/ip_output.c:405
 dst_output include/net/dst.h:444 [inline]
 ip_local_out+0xc5/0x1b0 net/ipv4/ip_output.c:124
 ip_send_skb+0x40/0xe0 net/ipv4/ip_output.c:1435
 udp_send_skb.isra.39+0x6b7/0x11d0 net/ipv4/udp.c:824
 udp_push_pending_frames+0x5c/0xf0 net/ipv4/udp.c:852
 udp_sendmsg+0x17d1/0x3970 net/ipv4/udp.c:1152
 udpv6_sendmsg+0x28c8/0x35f0 net/ipv6/udp.c:1200
 inet_sendmsg+0x19f/0x690 net/ipv4/af_inet.c:798
 sock_sendmsg_nosec net/socket.c:633 [inline]
 sock_sendmsg+0xd5/0x120 net/socket.c:643
 __sys_sendto+0x3d7/0x670 net/socket.c:1821
 __do_sys_sendto net/socket.c:1833 [inline]
 __se_sys_sendto net/socket.c:1829 [inline]
 __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1829
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x441af9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 6b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007ffe7c325a28 EFLAGS: 00000213 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441af9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00000000006cd018 R08: 0000000020000180 R09: 000000000000001c
R10: 0000000000000000 R11: 0000000000000213 R12: 00000000004027f0
R13: 0000000000402880 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: ffffc9005c3ea003
---[ end trace b2856ed83f9c488d ]---
RIP: 0010:ebt_do_table+0x1983/0x2140 net/bridge/netfilter/ebtables.c:288
Code: 24 08 48 89 d8 48 89 9d d0 fe ff ff 48 c1 e8 03 42 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 3b 06 00 00 48 8b 85 d0 fe ff ff 31 ff <8b> 18 89 de e8 04 e8 c0 fa 85 db 0f 85 a0 02 00 00 e8 e7 e6 c0 fa 
RSP: 0018:ffff8801d90adc68 EFLAGS: 00010246
RAX: ffffc9005c3ea003 RBX: ffffc9005c3ea003 RCX: ffffc90001e3e000
RDX: 0000000000000000 RSI: ffffffff86b9558c RDI: 0000000000000000
RBP: ffff8801d90ade38 R08: ffff8801d93b21c0 R09: ffffed003b5c46d6
R10: ffffed003b5c46d6 R11: ffff8801dae236b3 R12: ffffc90001e3e000
R13: ffffc90001e3a130 R14: ffffc90001e3a090 R15: dffffc0000000000
FS:  0000000000d92880(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9005c3ea003 CR3: 00000001d8827000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/10 03:36 upstream a16afaf7928b 866118af .config console log report syz C ci-upstream-kasan-gce-root
2018/06/09 18:17 upstream 7d3bf613e99a 866118af .config console log report syz C ci-upstream-kasan-gce
2018/06/09 14:04 net-next-old 3a979e8c07e3 866118af .config console log report syz C ci-upstream-net-kasan-gce
2018/06/13 18:00 upstream f5b7769eb040 27c5f59f .config console log report ci-upstream-kasan-gce
2018/06/09 12:14 net-next-old 3a979e8c07e3 866118af .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.