WireGuard Archive on lore.kernel.org
 help / color / Atom feed
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Nico Schottelius <nico.schottelius@ungleich.ch>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Kernel panic on 5.3.1-arch1-1-ARCH
Date: Sat, 5 Oct 2019 22:57:24 +0200
Message-ID: <CAHmME9rHYf71vrPxVec5AVaUOgB=+1YHE+j8rg=ebDbZO0qA2g@mail.gmail.com> (raw)
In-Reply-To: <87v9t2c45b.fsf@ungleich.ch>

This isn't WireGuard, actually. It's a line in wg-quick's bash that
says `ip rule add ... suppress_prefix ...`.

You can reproduce the kernel crash without WireGuard anywhere in the
equation with this sequence:

ip netns add crash
ip -n crash link add dummy1 type dummy
ip -n crash link set dummy1 up
ip -n crash -6 route add default dev dummy1
ip -n crash -6 rule add table main suppress_prefixlength 0
ip netns exec crash ping -f -c 1000 -W 1 1234::1 || true
ip -n crash -6 rule del table main suppress_prefixlength 0
ip -n crash link del dummy1
ip netns del crash

I submitted a patch for this upstream here:


It's been backported to stable already. Update your kernel to 5.3.4
and things should work again for you.

WireGuard mailing list

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-05 20:45 Nico Schottelius
2019-10-05 20:57 ` Jason A. Donenfeld [this message]
2019-10-05 21:20   ` Nico Schottelius
2019-10-05 22:02     ` Nico Schottelius

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHmME9rHYf71vrPxVec5AVaUOgB=+1YHE+j8rg=ebDbZO0qA2g@mail.gmail.com' \
    --to=jason@zx2c4.com \
    --cc=nico.schottelius@ungleich.ch \
    --cc=wireguard@lists.zx2c4.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox