From nobody Sat Jun 17 14:03:45 2023 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 4QjyS261Ffz4frCK for ; Sat, 17 Jun 2023 14:03:46 +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 4QjyS250XYz3kTM for ; Sat, 17 Jun 2023 14:03:46 +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=1687010626; 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=8GxhKnhJoU+OeIK0aypn1+y/TZqbUZ8oKvnmtJwnB6g=; b=DMXNURhV3JL9aK3mullKsOtspikvIQFia1X88ER1NTt0nKXHBXLvY2WF/HErpUGjJSRBOE XKjY9MzhvwyHgJatQX2Ur5t9f7T3uS1WYZ0ML8UhcG+i606bEhpHXFmKmDLBOeqyDfJlVH XOgp0cTAmzMTTnWj8qYy0C5Cx6WXcSkUv03MJKLfrB8NlK6ys12QphKkFu94O2r+jiDdlD EGOtjKGfirAwIYPA0H9WaAvt1g1rnz/Iux2TAbQKPcxQzGBaW5MQbYcOp2/afiAWiV6u8e /QlnphzcvQpepP6HGKspVPT+7HeQQp+T7FsJXUGyvzQHKuDswj979sAQMnaNLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687010626; a=rsa-sha256; cv=none; b=sZZ6ytwi00GzoagfZ05fVUPAH/iVu5yrPD6sstKcsicikHFNkElqDfHoGWbRI1W3HGoxPI v+v3OtLeO5Pg2D4Bl2Xwo5Pij1YTkyl1ySK7jroQtOSnraH6/1olUrw4B3fEz0sQwQxcnL 6gQOVznBJ+I12z5XLzZSADeM1CXJ1v1YDbl4JLbj6PwOEZgtYM3hK4eLhOqVeN9wpr5YkR uiuH2sDlGwQrMWWb+VpJChvLU/agnu2063xfm+9ANlNDNcj1UMCMXtWt0s2cUclFQyOZ75 k7Q2BRg8YyGFRuSMWRfNBQloggssCg1sEjsgb1Ecr5X/znYNILMgHA9/abuuPQ== 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 4QjyS245Y9z1C0f for ; Sat, 17 Jun 2023 14:03:46 +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 35HE3knV088093 for ; Sat, 17 Jun 2023 14:03:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35HE3kHw088092 for bugs@FreeBSD.org; Sat, 17 Jun 2023 14:03:46 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 271991] Crash on some network packets with fresh stable Date: Sat, 17 Jun 2023 14:03:45 +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: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: Open 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-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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271991 --- Comment #7 from Ivan Rozhuk --- (In reply to Mark Johnston from comment #5) > I don't think m_pullup() is the right layer to handle unmapped mbufs. It= gets called very frequently This is good place to make sure that it handles most all cases where unmapp= ed data can be accessed. Code rely on m_pullup() to ensure that data will be available for read. > The patch to m_pullup() assumes that "m" is mapped, which might not be th= e case. May be some additional changes required for this patch :) > e1000 should handle unmapped mbufs though. Do you see "NOMAP" in the int= erface flags as reported by ifconfig? Yes, I see NOMAP in ifconfig output. Probably it not work or if_vlan required to be in chain to reproduce error. > I think it wouldn't be too difficult to make bpf_filter() work with unmap= ped mbufs. It will fix one error, there is many other netgraph configurations that may= be affected. ng_checksum, ng_deflate(?), ng_patch, ng_tcpmss and possible others. --=20 You are receiving this mail because: You are the assignee for the bug.=