syzbot


WARNING in compat_do_ebt_get_ctl
Status: fixed on 2020/09/16 22:51
Reported-by: syzbot+5accb5c62faa1d346480@syzkaller.appspotmail.com
Fix commit: 5c04da55 netfilter: ebtables: reject bogus getopt len value
First crash: 46d, last: 35d

Cause bisection: the cause commit could be any of (bisect log):

  657e4c34a237 netfilter: split nf_sockopt
  c34bc10d2535 netfilter: remove the compat argument to xt_copy_counters_from_user
  49e74c24f310 net/ipv4: factor out MCAST_MSFILTER getsockopt helpers
  77d4df41d53e netfilter: remove the compat_{get,set} methods
  d62c38f6a1a8 net/ipv4: factor out MCAST_MSFILTER setsockopt helpers
  fc66de8e16ec netfilter/ebtables: clean up compat {get, set}sockopt handling
  02caad7cc084 net/ipv4: factor out mcast join/leave setsockopt helpers
  f415e76fd723 netfilter/ip6_tables: clean up compat {get, set}sockopt handling
  89c53c14e4d2 netfilter/ip_tables: clean up compat {get,set}sockopt handling
  b6238c04c0e5 net/ipv4: remove compat_ip_{get,set}sockopt
  983094b4fc2d netfilter/arp_tables: clean up compat {get, set}sockopt handling
  d5541e85cd40 net/ipv6: factor out MCAST_MSFILTER getsockopt helpers
  55db9c0e8534 net: remove compat_sys_{get,set}sockopt
  ca0e65eb2954 net/ipv6: factor out MCAST_MSFILTER setsockopt helpers
  8c918ffbbad4 net: remove compat_sock_common_{get,set}sockopt
  fdf5bdd87c01 net/ipv6: factor out mcast join/leave setsockopt helpers
  3021ad529950 net/ipv6: remove compat_ipv6_{get,set}sockopt

Sample crash report:

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Maintainers
ci-upstream-kasan-gce-386 2020/08/13 03:45 upstream fb893de3 bc15f7db .config log report syz C bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/18 01:45 upstream 9123e3a7 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/18 00:02 upstream 9123e3a7 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/17 21:27 upstream 9123e3a7 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/17 21:27 upstream 9123e3a7 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/17 21:14 upstream 9123e3a7 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/16 18:04 upstream 4b6c093e 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/16 12:48 upstream 4b6c093e 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/15 20:03 upstream c9c9735c 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/14 19:16 upstream a1d21081 424dd8e7 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/14 06:16 upstream 990f2273 54ce1ed6 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/13 09:43 upstream fb893de3 bc15f7db .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-upstream-kasan-gce-386 2020/08/13 03:33 upstream fb893de3 bc15f7db .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-qemu-upstream-386 2020/08/06 11:33 upstream 47ec5303 1f122f88 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com
ci-qemu-upstream-386 2020/08/06 11:20 upstream 47ec5303 1f122f88 .config log report bridge@lists.linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nikolay@cumulusnetworks.com, pablo@netfilter.org, roopa@cumulusnetworks.com