From nobody Fri Mar 15 18:10:12 2024 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 4TxC2r3sp9z5Ds27 for ; Fri, 15 Mar 2024 18:10:12 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TxC2r2s37z4sWS for ; Fri, 15 Mar 2024 18:10:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710526212; a=rsa-sha256; cv=none; b=c65tPT3KfXwteXTUtPitQ2YvG3fVYeFlykSVMd/nMEZ9gJxdiIZksC+GObclrIWucV7pin mPiV3IzKJLqd7G2mzdjIwo+bnBGvDwaEahXyO/t9SAF1vdTrARexMg9+iHj/ye6Yi3NjDi EPRszlCmIXlh8XLKzKUcM2v1A2YY+kapkSd5aAQEXXUKv1ahYZGGBJHGpX6+WJVjcHX+gK xVSPlhxTtqENldTUxvK4TVsIGbgxoq3q7JQQqgrNxf4+erpBtiD+SOZgbYblql67beSRfH +7GK6PR13B5AEOMw8KDxrwjGMBRzJzW6/4Wm2lS6Hvi5HCuakEJ0eE/2mAns3g== 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=1710526212; 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=0PcswmqeVbmJitRvnO6T2FjRRoIGYB1rD2CIs3/gpAw=; b=PWgX9RxDu1ZoZ2hJuatPBeS5wl4wnQY1Y0vwuA5N5dFPjfu1iqLD+MwHlzCX9N7plwvyIW jbBchev5flIyF7AK9eCZy2PuhxBVdejoo5+6cPOtIbEyRgrbdPsSuetX+LkMNVC716K2wW 8heW648eMfrxMQsF50P3sVVZ4+OW+VFVDeIT0icpqEuK/9Vgzh4VPTgN9dknEqjcToqEiN CkxkHSKhZz6QF42NFdk+IFy6FGCLeTM9XKrrII40GIJgeaWPWnYFHokn88o7N5Ojf9/h3J Z+AYOHfINfEKmAkKKpR1WPLnfiyUyKKfG2DyyY7k3LkPhOGKCWYBvZhtaqDSjQ== 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 4TxC2r2SQNzLjW for ; Fri, 15 Mar 2024 18:10:12 +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 42FIACFt072345 for ; Fri, 15 Mar 2024 18:10:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42FIACXb072344 for bugs@FreeBSD.org; Fri, 15 Mar 2024 18:10:12 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 274536] panic: rt_tables_get_rnh_ptr: fam out of bounds (255 < 45) Date: Fri, 15 Mar 2024 18:10:12 +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: 15.0-CURRENT X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: glebius@FreeBSD.org X-Bugzilla-Status: Open 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-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: 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=3D274536 Gleb Smirnoff changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dchagin@FreeBSD.org --- Comment #7 from Gleb Smirnoff --- Adding Dmitry and Alexander here. TLDR version for them: An application (Firefox) sends NETLINK_ROUTE message with AF_PACKET in it. linux_to_bsd_domain() fails to find an analog in FreeBSD, and returns 0xffffffff. Later that truncates down to 0xff and=20 rt_tables_get_rnh_ptr() panics. How should we fix that? At what level should we report EOPNOTSUPP (or maybe other) error? My guess that should live in NetLink, cause it is NetLink that doesn't check return value of linux_to_bsd_domain(). The latter honestly reports "I don't know". --=20 You are receiving this mail because: You are the assignee for the bug.=