From nobody Mon May 09 13:53:21 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 A56801AC2DAE for ; Mon, 9 May 2022 13:53:22 +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 4KxjLV3Ywmz3v1S for ; Mon, 9 May 2022 13:53:22 +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 56DB311E74 for ; Mon, 9 May 2022 13:53:22 +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 249DrMbu096711 for ; Mon, 9 May 2022 13:53:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 249DrMQA096710 for net@FreeBSD.org; Mon, 9 May 2022 13:53:22 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: Mon, 09 May 2022 13:53:21 +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-stable12- X-Bugzilla-Changed-Fields: flagtypes.name 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=1652104402; 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=SeMZ72NFcOFUtvI+7ScLOHzxBO0C916wr/NAOu0DpMo=; b=sGxJuQk6JJavTc3KTZrxZ51l+bljEqW+PUgCV0+hIvosuIgOU4isVQGASj+xmswhc8cfmx GVQrIsum+HbAu7447pvFXJGb/teYtLzQ68uPfKApwi3MdJIiqEjM4RhTiKCoHVsEYob9Lu yw994cq3TasNPwi38heXnh+iqa5cmaAdVQUFjWl605um49uiAKIlplDUzwyosi8dUf5O8G aFAB1o0jLHf7jgRSqr2XHmzDgBv9SFVXvcQ5i6blRLVyNh25uiJpGr/FnTD6hObpAZ4MzU AHjB7D21SbBG3FYj5JZzlHaBOke5SZVMDJkFTFwV1XI9YkHVaibI1irv4aoRMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652104402; a=rsa-sha256; cv=none; b=I2xjyQSw1fOvmknBAihnvqu/lUlLq7GebZOmC4mRF1tUV/J50c/xWdA3GsjvYfX5dikOW2 yDxEA8MVOtjn5ed1D/Zxpoot/sK9ZG3VEvVgP7+yAgrncAtTxl3orq5oR1/bEeNp8XRf9o QvXLZtAydGVT652sNnMVhwi6/yPm3FCkMF3sWcuNvAGMd7ReugOy0ehoSMxdNYu8CGnE3P pzOXyDu0FoKmkfNIslfPbNviMIdJJbmqweU/gNfEzqdi1cTOkqVC7gSetzOUUh+R4wdu8D epGpeUSvEq1+wBAD0IYy9iNviNSooyd/KcfPIuwc8ZzW0Pf4D2QaiP+RmT+l7A== 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 ---------------------------------------------------------------------------- Flags|mfc-stable13?, |mfc-stable12- |mfc-stable12? | --- Comment #6 from Mike Karels --- (In reply to Jiahao LI from comment #4) > hw.genet.tx_hdr_min does not exist in the Freebsd running in my developme= nt environment.=20 Ah, then it is an older version of the driver; the sysctl was added there l= ast June. The version without the sysctl would act as if the sysctl value was 0 for the IPv4 case. Should be fixed in the version I just checked in. Marking for MFC to 13, b= ut not 12; the driver is not in 12. --=20 You are receiving this mail because: You are on the CC list for the bug.=