From nobody Thu Jan 16 16:52:20 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 4YYpnJ5pZBz5kg6b for ; Thu, 16 Jan 2025 16:52:20 +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 4YYpnJ2B46z3KWG for ; Thu, 16 Jan 2025 16:52:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737046340; 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=YZ2fnag5ECObYwnP8b5Mxy4yix8qp6xWy6TluFX5fe8=; b=iSnAmOXwSDA0P0RXt8tI9hPb4GP6x1B0c3XKIQ6L8BXtEZ/cr73LOZ3o+ULkMJYJDiTKed 7HWCPpXAKk1n3Zqqh2k+dBrDHTEC3qnVvys0eLJ6/ODNI19iwIyviA+Rkq5Fnw/7mbwl56 nGxehObngylwHBZsO16f3IVNpnHbtG8V5gMbFgwhR2Xl0dbEieMI1aZE2T5pQbjBWi43vn EDXVGeOW6yt0hbPjsKxOuFu9FyaUN4bL4LhjlbHnZ2HbO+0Kc+t8A8LQHiWWLiWcXO/JIT Yv7KygCRnwB5VKsBf0AppOw72veuyp5QA+cw4k120abnY0+cbsDPTCpVnlC8hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737046340; 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=YZ2fnag5ECObYwnP8b5Mxy4yix8qp6xWy6TluFX5fe8=; b=WPEjSSUTWeT/RxS6zwdQ8qArTOa/uU36p0DMwljCB9EL1tUehtRLDeBRrA1+eidUoXx/mJ 0K6M0Modmmm7jiriBoSwauD/7ynIF88Qq6dlgSZwWHciRlxknflDhqOqjHmfannOxw5tm/ Fche0J4bos67W3I5LAG+OX52NW0+6AE6OyJniZr3+VZ5b8cxMgQjdQZ0l65332NMmHsOUD 8+yM2RqwETmwhpcX1tmgSiBuASySR1/IIn5eW6Z2DfZrzaUScHF90s2cvOb/Dn/ebeqG6i 4iQ57aOo8SLK/NqdyHUSD2Wh1CWAdDA0xkOzvOngAdQ3t5E/NHn5+/aEAi7Mwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737046340; a=rsa-sha256; cv=none; b=Jk85QuJoXYvuHWqJO2DxBGazxx5Tqs4PFwyxMjStv8AY+Blnqr7Ps4Kf2+YpeJSemE2tRc jMSlO1s+BdAgKiD+oSlPvsvFFMmHzVcoc0CbbmJ1DLWFKYf1AeZ+6YuJGZMRRRlFwKuqLq Gjime3jQcubwz581oMztG6YQSaSZLRA2aHMjqD+rkkSbC5Iz5JoZbAAdcPVgI+0FvLyHh6 EwchzdJnDuoijlaLKHNUFoaTDmzMf8FSQDkBUitkDkerHf5yESF1TPaYyaXt6TV8rzsvS8 4DLXUrYZsayiVAdwh7oZdcUaK7tbyvhazJ+RU64+IcANVByd+MROenm/UID7nw== 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 4YYpnJ1jHqzhYM for ; Thu, 16 Jan 2025 16:52:20 +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 50GGqK8A028886 for ; Thu, 16 Jan 2025 16:52:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50GGqK1Q028885 for bugs@FreeBSD.org; Thu, 16 Jan 2025 16:52:20 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: Thu, 16 Jan 2025 16:52:20 +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: jlduran@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: cc 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 Jose Luis Duran changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jlduran@FreeBSD.org --- Comment #2 from Jose Luis Duran --- (In reply to Zhenlei Huang from comment #1) How about renaming rt_tables_get_rnh_safe() -> rt_tables_get_rnh()? The _safe variant was added in fd1aa866eb22 ("routing: add rt_tables_get_rnh_safe() that doesn't panic when af/fib is incorrect.") --=20 You are receiving this mail because: You are the assignee for the bug.=