From nobody Fri Sep 06 18:19:05 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X0kyL4J8Fz5VQZ6 for ; Fri, 06 Sep 2024 18:19:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0kyL3BBgz4Q9f for ; Fri, 6 Sep 2024 18:19:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725646746; a=rsa-sha256; cv=none; b=Sr7q3MVzUbIPlPfQtnYq9DrQ4FPWfv4a+T1VEwdgnINmeYm7UWpKbqqss7Q8xX27oyMNXZ h3Ae6kCauZa7WwDnNM7wH0GAhp0iU+ZwXVfSZAI/REXlfcI2zcAr+ziRHqrDP9OfY+/MX2 /ShAc11rHf8JRo4AGxifHI3lsD/Ud5L2xaRFbHHFoiRyUbdmN6jesOTNUEJFZkQ9MtuThf F3nqCczbmC1SjIvtFrZRxOXLeoB0RZQb3Knyt/eKhpLjnaButqefzjHWDUjA1RJ1cq3W+v ja7mTqUwrsJLWMrhHBnwJsF8hw7hTJFD3ZWmintwe3cJ/sBvwyY9zsyoUeL20A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725646746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AafThh35B6qHw1XIMGxmWtFUi+Ny5mtbKldw1VpYra8=; b=KySZTYRhxEYSDB9hXfbvu82z5m7Wv88VuC54/S1TUWQWfjeMkv5uL00IKsEcYH9ufRVV7L NXsbsklMxPz6k5urHbYwwfnQMgVoq/5KvSxO5h2WoSXp2By8JMeSoptWMZw6wGBROy3FZG U5UlB7xPT8GNBoOoifPrC4omtSOP3Uzm/UmKG6dDhtWOCwg4bvO3E+fSAUHYCIR0F+SdAd IGdHQTcPl5/veOk6kg6wMwhPQYNSgjj0HyGpXnhzYcVCRyqAVPg5D3HefeIdaF52xgnASR 8JR8EhrwRMugQKyyNS8XzdJ1M47nTPN+dCpJgEQzjmKegUp7NiliUt3I2ApnTQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X0kyL14Kpz12MT for ; Fri, 6 Sep 2024 18:19:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 486IJ6Hl005863 for ; Fri, 6 Sep 2024 18:19:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 486IJ6Hr005862 for net@FreeBSD.org; Fri, 6 Sep 2024 18:19:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 279850] wireguard: wg(8) fails on INET6-only kernel Date: Fri, 06 Sep 2024 18:19:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279850 --- Comment #5 from Lexi Winter --- already discussed this with Kevin^W Kyle on IRC, but for completeness, the patch in comment #1 panics on boot on a system with tunnels configured: Created clone interfaces: wg0 wg1 epair0a epair0b. lo0: link state changed to UP xn0: 2 link states coalesced xn0: link state changed to UP Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 02 fault virtual address =3D 0x0 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff81e2a57f stack pointer =3D 0x28:0xfffffe0079d73a70 frame pointer =3D 0x28:0xfffffe0079d73a80 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 331 (wg) rdi: fffff80021e5d4d8 rsi: fffff80036b02800 rdx: fffff80021f46c48 rcx: 0000000000000000 r8: fffff800074c8000 r9: 000000000000003a rax: 0000000000000000 rbx: fffff80036b02800 rbp: fffffe0079d73a80 r10: 0000000000000000 r11: 0000000000000003 r12: fffff80036441c10 r13: fffff80021f4e1c0 r14: fffff80021f46c00 r15: 000000000000002f trap number =3D 12 panic: page fault cpuid =3D 1 time =3D 1725643323 KDB: stack backtrace: #0 0xffffffff8045dccd at kdb_backtrace+0x5d #1 0xffffffff80413b5f at vpanic+0x13f #2 0xffffffff80413a13 at panic+0x43 #3 0xffffffff806954cb at trap_fatal+0x40b #4 0xffffffff80695516 at trap_pfault+0x46 #5 0xffffffff8066c0f8 at calltrap+0x8 #6 0xffffffff81e284f1 at wg_ioctl+0x1531 #7 0xffffffff8051eed8 at ifioctl+0xd18 #8 0xffffffff8047f555 at kern_ioctl+0x255 #9 0xffffffff8047f29a at sys_ioctl+0x10a #10 0xffffffff80695d85 at amd64_syscall+0x115 #11 0xffffffff8066ca0b at fast_syscall_common+0xf8 Uptime: 5s Dumping 338 out of 6119 MB:..5%..15%..24%..34%..43%..53%..62%..71%..81%..95% Dump complete --=20 You are receiving this mail because: You are on the CC list for the bug.=