From nobody Sun Dec 14 19:48:24 2025 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 4dTtzD0sm0z6KkyY for ; Sun, 14 Dec 2025 19:48:24 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dTtzD0L2hz3K5Q for ; Sun, 14 Dec 2025 19:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765741704; 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=FyC2tsefNbVK9fQZUEpp/Mr707FxKldV+5w0t56/0qY=; b=H0BVcwJYayFHxWJi6qrIRuIv0flHX6DvshFiHv/FvyGOUqfYHKqvtV1+S55fAqOwNZWWbP w5X6yq7O0kPk8eP+uYcrHxlBkHf69bNnuyWxPR5nwA4HKyTlzQddzV6yiY+O2OleLvyUFF tI47NsrkFOWeDRIJiBZwq/3Mfw+U0iwir9jChru6PJBYWzFrQUmf34WTiK6Jv87pUqdvGC yr3foKjTuQRKThYOzKD6WCGeBtq0TUknDDQmMVFPRzecp2ijWst449Q8wmngl/lI78DDiD CPKgyD71jh6pr6k6znEEb2Xk8ZUnGoHHvJvbvNR3c7tNKZM8pWk3/JXNvqID3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765741704; 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=FyC2tsefNbVK9fQZUEpp/Mr707FxKldV+5w0t56/0qY=; b=iIKnUVWr6cU20FOLAhwN2wa9+egmxdA7NMxZ1kVCNvyut+/iwh00kUPTjz++C+L12OYt2y swvbb2Tg1ESJhvOHS/op9QmhIc2D7UgAYBuBVPEQ4/92foo14IykHiYJQYn+CdhDfZx21e XIOdSrLVkgbJQ/898eFjK/h2gewYBCHISqMZbTQbUOIQqwxeAQxNlGkvEtEl1eGb/TymM9 k2Aznjp7/keI85gkaw/+Pi0uR8qB7eE65zk17wROJkR51aCNsS8DVWYN5QhGaVPvCL7MHF sJXWIgBeDr9kmq1i1lKAR+ykENsLp2MjYcovvZqaLW3IrLWnvtPDTAW8oaCTqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765741704; a=rsa-sha256; cv=none; b=HdQx9tsCvF+rTBR9kKA1aXKz3K2Mo82USyNaW9ZVgti4xq/b9etRteE1Uq/4uLi8QH9tjk opQO68sKk4sV8sPtQRcIgPxeRfZgJuUBntXltp+C80ZgGXjCPg49PLP+9iRlZT3ZMyH0wy qeGU2GnQ0rwSzkIpopyk5FoFwRLCN76wa2biH+oof612s+rgSChu3+W6WISmOKBKckm76E QESOzGwHZSNDc5FFQCqd46GBkw+F8TFxzYjfTbW0sVZayQi2dH4F8ZCg6ZTPK/iMFGYTzG nFSYIrQL+UQJS689MlX2jv5bwEcDr3pat1jHs65iidCsxkXiByDZfIHP5o0l8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dTtzC73rpznvg for ; Sun, 14 Dec 2025 19:48:23 +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 5BEJmNGP093432 for ; Sun, 14 Dec 2025 19:48:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5BEJmNU1093431 for net@FreeBSD.org; Sun, 14 Dec 2025 19:48:23 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 289017] [lagg] A time-of-check to time-of-use (TOCTOU) race exists in the Link Aggregation (LAGG) network subsystem Date: Sun, 14 Dec 2025 19:48:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hanguidong02@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D289017 --- Comment #9 from Gui-Dong Han --- I believe this race condition can manifest in multiple ways depending on the exact timing. Potential scenarios include a NULL pointer dereference within lagg_proto_start (specifically when the protocol is LAGG_PROTO_NONE) and the lagg_lacp_start crash shown above. These are likely just examples of many potential failure points caused by this synchronization issue. --=20 You are receiving this mail because: You are the assignee for the bug.=