From nobody Sat May 07 21:45:39 2022 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 014481AC3060 for ; Sat, 7 May 2022 21:45:40 +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 4KwgwM5wBZz3lvT for ; Sat, 7 May 2022 21:45:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A85AB18461 for ; Sat, 7 May 2022 21:45:39 +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 247Ljd1i088768 for ; Sat, 7 May 2022 21:45:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 247LjdUB088767 for net@FreeBSD.org; Sat, 7 May 2022 21:45:39 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 263824] genet(4): Driver interface may overwrite memory in a consecutive memory copy operations when parsing TX packet Date: Sat, 07 May 2022 21:45:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, security X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: karels@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: karels@freebsd.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status 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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651959939; 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=4MZpEpwVMXBPhzz8zp4J5HSWbdLbcwQgBXRbtC0uetc=; b=TOsTSKZ9JjG81AIvorxczBN3ct8C0LBLLdrsweqda0RiUVjQEJT7kX31Xr33mnfGTemM7p dPqpr4kjUax51K9kmuaiyZI4eD9wSk6iypDa3N+Iri5GVEB32CR1JRBUX4URxrK/14yuzi EZtmH3YI/s9jDzZ/OhTJzi3uFclqqu3ySsd1d+z7K/q8E0Ra9Pto0IgOMAMvUpJJnF8Bf2 6KilTEVysb7sWnC60C90U9bIYGrUWsuBjXk8PtxLarSbpTp4znyq2RtRxeqiT+KbY2khjv 5fWMEEJ1kUoQSsMlO57iTMNumzEwfPyoTCPEANUl9YTsIpueyhJ6FJKUs1ZQTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651959939; a=rsa-sha256; cv=none; b=kXBT50vANY9RZNXbzAe+oziVsmacMvExaS1viFpNPW1twWFlWrJMth+w2v90ebRz8rIP1z JMFAE2EN/lEoJwPWEQcezJ5VJ4GDu0F01UDjtxeoPJ1OCACIrhx25yvV+148S7Oqmdj2mI zkqQv3bGCXHv3/PH+tZSiff9ymkA8BOBIwNRETqJlko4m6EJvATUC2quspqVHf04zOJSnJ W9rkgZXeO1dG7pqjFz6FP1RcVe0zqsmCKjHXI71UE2FmkelG88QlN0c6rTY9G+bUt3UB+D s39YIDExbMgYlLdzImUeFcI6morwif5rsP5zJdSRYMAvR7rg1uhKaqTIVIudgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263824 Mike Karels changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress --- Comment #3 from Mike Karels --- Had you set the value of the sysctl hw.genet.tx_hdr_min to 0? I couldn't d= rive the code through the block with the bug without doing that. Even with that= , I could only do it with a random failure in M_PREPEND. However, I tested your fix successfully and demonstrated the problem without it. --=20 You are receiving this mail because: You are on the CC list for the bug.=