From nobody Sat Jan 6 22:34:19 2024 X-Original-To: current@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 4T6w9T3Gshz55gnL for ; Sat, 6 Jan 2024 22:34:21 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4T6w9S5scdz4MZ9 for ; Sat, 6 Jan 2024 22:34:20 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of phk@critter.freebsd.dk designates 130.225.244.222 as permitted sender) smtp.mailfrom=phk@critter.freebsd.dk Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 722CF89284 for ; Sat, 6 Jan 2024 22:34:19 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.17.1/8.16.1) with ESMTPS id 406MYJnb004160 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 6 Jan 2024 22:34:19 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.17.1/8.16.1/Submit) id 406MYJ6E004159; Sat, 6 Jan 2024 22:34:19 GMT (envelope-from phk) Message-Id: <202401062234.406MYJ6E004159@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: e179d973 insta-panics in nl_send_one() In-reply-to: <202401062231.406MVrxT002354@critter.freebsd.dk> From: "Poul-Henning Kamp" References: <202401062231.406MVrxT002354@critter.freebsd.dk> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4157.1704580459.1@critter.freebsd.dk> Date: Sat, 06 Jan 2024 22:34:19 +0000 X-Spamd-Bar: / X-Spamd-Result: default: False [-1.00 / 15.00]; MISSING_TO(2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[phk]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.dk]; RCPT_COUNT_ONE(0.00)[1] X-Rspamd-Queue-Id: 4T6w9S5scdz4MZ9 Addendum: I have only installed the new kernel, userland is still from dec18. (Even if that is the cause, we should not panic on bad syscall args.) Poul-Henning Kamp writes: > With fresh current: > > commit e179d9739b1438ae9acb958f80a983eff7e3dce9 > Author: Michael Tuexen > Date: Sat Jan 6 21:31:46 2024 +0100 > > tcpsso: support TIME_WAIT state > > I get an insta-panic as soon as any network interface comes up: > > --- trap 0xc, rip = 0xffff...f80d97b78, rsp = 0x... > nl_send_one() at nl_send_one+0x18/frame 0xf.... > nl_send_group() at nl_send_group+0x1bc/frame 0xf... > _nlmsg_flush() at _nlmsg_flush+0x37/frame 0xf... > rtnl_handle_ifevent() + 0xa1 > if_attach_internal + 0x3df > > I have a picture of the full panic if desired... > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.