syzbot


WARNING: bad unlock balance in gtp_encap_enable_socket
Status: internal: reported C repro on 2020/01/06 05:09
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: 90d72256 net-backports: gtp: fix bad unlock balance in gtp_encap_enable_socket
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-upstream-kmsan-gce]
First crash: 42d, last: 38d

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

  9211bfbff80a netfilter: add missing IS_ENABLED(CONFIG_BRIDGE_NETFILTER) checks to header-file.
  47e640af2e49 netfilter: add missing IS_ENABLED(CONFIG_NF_TABLES) check to header-file.
  a1b2f04ea527 netfilter: add missing includes to a number of header-files.
  0abc8bf4f284 netfilter: add missing IS_ENABLED(CONFIG_NF_CONNTRACK) checks to some header-files.
  bd96b4c75675 netfilter: inline four headers files into another one.
  43dd16efc7f2 netfilter: nf_tables: store data in offload context registers
  78458e3e08cd netfilter: add missing IS_ENABLED(CONFIG_NETFILTER) checks to some header-files.
  20a9379d9a03 netfilter: remove "#ifdef __KERNEL__" guards from some headers.
  bd8699e9e292 netfilter: nft_bitwise: add offload support
  2a475c409fe8 kbuild: remove all netfilter headers from header-test blacklist.
  7e59b3fea2a2 netfilter: remove unnecessary spaces
  1b90af292e71 ipvs: Improve robustness to the ipvs sysctl
  5785cf15fd74 netfilter: nf_tables: add missing prototypes.
  0a30ba509fde netfilter: nf_nat_proto: make tables static
  e84fb4b3666d netfilter: conntrack: use shared sysctl constants
  105333435b4f netfilter: connlabels: prefer static lock initialiser
  8c0bb7873815 netfilter: synproxy: rename mss synproxy_options field
  c162610c7db2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next
similar bugs (2):
Kernel Title Repro Bisected Count Last Reported Patched Status
linux-4.14 WARNING: bad unlock balance in gtp_encap_enable_socket C fix 2 39d 41d 1/1 fixed on 2020/02/09 09:28
linux-4.19 WARNING: bad unlock balance in gtp_encap_enable_socket C fix 2 40d 42d 1/1 fixed on 2020/02/07 14:13

Sample crash report:

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-root 2020/01/06 06:53 upstream c79f46a2 438e1227 .config log report syz C davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-kasan-gce-selinux-root 2020/01/06 05:09 upstream c79f46a2 438e1227 .config log report syz C davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-kasan-gce 2020/01/06 05:08 upstream c79f46a2 438e1227 .config log report syz C davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-kasan-gce-386 2020/01/06 05:53 upstream c79f46a2 438e1227 .config log report syz C davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-kasan-gce-selinux-root 2020/01/09 16:54 upstream b07f636f ddc3e859 .config log report syz davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-kasan-gce-386 2020/01/08 18:07 upstream ae608821 ddc3e859 .config log report syz davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-net-this-kasan-gce 2020/01/08 07:29 net 47240ba0 6738e0b3 .config log report syz davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org
ci-upstream-net-kasan-gce 2020/01/10 06:58 net-next 4a4a52d4 4de4e9f0 .config log report davem@davemloft.net, laforge@gnumonks.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, osmocom-net-gprs@lists.osmocom.org, pablo@netfilter.org