From nobody Wed Jan 08 02:22:49 2025 X-Original-To: bugs@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 4YSWsj3vrDz5kPLv for ; Wed, 08 Jan 2025 02:22:49 +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 4YSWsj2c15z4ZBg for ; Wed, 8 Jan 2025 02:22:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736302969; 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=9/qhhAOyh8sazjXVn0MkiXJhGnWxByo+eqdk5l1oto4=; b=kqAUvB4PgqOaLkEJkRR3OipxmnTyGaUM3OSSTVB4BXO69E1u9tgV3c0ON+rh+baWi4GoFH 6Am/5Dr2yVW8/KZ3baHcW5xn+N9mvq5YgGQHxSfFkUwFcnO3F1jTNBmLp6JQvbjVLtw9Dm DUgz00a4jGFwakGfV4x6mZFFHiaAmLSI7FCDktJt/7DPvTUYCmfM3Z+Zv8xN0+WT9+78Qt bSw0oeWz620JYu086lFdD61AkQL1OElqL1pkdBzdrso4s/CJ7WpQ5yIJPL32uq01F3M/PZ lxgMyuV42VaNYByrgt2POadPP0oIZTedhVt/Cj7snPFw0uf//8ty1CoSAW9RVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736302969; a=rsa-sha256; cv=none; b=E3iUDHB9eFyACQDl4nUN04LG527CFfAGIkzbUq8ReYHoOetI+I1/vopsKSUeeenTmPYB1U YKJkDVlAWzxrIeO60yRGoJg1zC4dH1l/ynbx+7aUqU5kUxNpZV25XG5GZ6FD5vSx/Jg1bk US1aoXxSXwOwC3gMX3xEZBgzRLlM1aExK4O1n2xz5CLbPCxaCIPp2imhHiiMPHQxJkB2T7 7OIgvuKpGrt380rT9oh6V4o9AGkwP3uJWvo1B5ooFWrrfWieidEow75k5e1o0qJG8FthO1 wvz/q1IWDqXic0ra4WjTlw/wlF8/y/9NmZNA3KTVcO/kt0qFNfW4Tvv81cGgRg== 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 4YSWsj25krzd2q for ; Wed, 08 Jan 2025 02:22:49 +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 5082Mns5030450 for ; Wed, 8 Jan 2025 02:22:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5082MnUl030449 for bugs@FreeBSD.org; Wed, 8 Jan 2025 02:22:49 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: bugs@FreeBSD.org Subject: [Bug 283818] too-large rtmsg.rtm_family for RTM_GETADDR can cause wild pointer ref Date: Wed, 08 Jan 2025 02:22:49 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283818 --- Comment #1 from Zhenlei Huang --- I think we should do sanity check within `rtnl_handle_getroute()`. Meanwhil= e we can give netlink client a meaningful error message. --=20 You are receiving this mail because: You are the assignee for the bug.=