From nobody Fri Aug 25 01:09:03 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 4RX20J1s3Gz4qZmZ for ; Fri, 25 Aug 2023 01:09:04 +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 4RX20J04kqz4Vbg for ; Fri, 25 Aug 2023 01:09:04 +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=1692925744; 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=JVJfwzwM4mP5xrGqqdMcos11017SylIDvXv61ValQvk=; b=rRRGau8/dPKUoqegfRgiyi3Y0eEeEARjcJNCRtMwTExZHgtY6gEQL91RtYsXewu3nidvQF X38AWPRVUgzeLkeKJluxncW/3qk7GQahxX8h/iqhner0VeTQeYyYD3OGLi/PbjZwk/HTwB HStnf5wNIIhCeqon76Z1/ZmVKP3A0ARhaPdgAmXFknUvgonNdIgOxYJyw63mtAuS5bCm1i wcQGVYAPQxQDoYyW+pCYF1pahFJXrd6cAjn/UHE2vjiXcC5mBmaDvw+p9D8Q4H35qR8u2M z7+iyPlBguDMjoUDuKbBTnEFvobu8uKNZCEeIwyxcWsxnynIupii0ygL/A+U4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692925744; a=rsa-sha256; cv=none; b=txzWbF6E5zXHkMfbERrSUhwDRDcmNdJxCh1Fq3RGsncZj5CG3IVm9UTsuv7nmpGeu17eTG coDF7LuINAd/3tbDrg+geWNrYUlQczIB1YeAmXzHj3sZxOXdCh9dkqMcb2MuxOedoODKz8 YHZfZ66VhKLm1Tu01OkSlEhvgrboXCX5i6P/rbmAw2BnlmNkdJ7hjeiVB4Xf+GBagFhWxq 6+Rj4MdwKXk8VG0o54d+CHplYmZz732+adWVW9lf/4U9TT8PEdPo/honkswi/8T3zQzOVB 9efQnGe0cnKz3HvB6AkEBFwnkX8szLWJm4nqF8BAhL9uPMCyMBUK15JMvNxAog== 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 4RX20H607LzpCD for ; Fri, 25 Aug 2023 01:09:03 +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 37P193ep051192 for ; Fri, 25 Aug 2023 01:09:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37P193L4051191 for bugs@FreeBSD.org; Fri, 25 Aug 2023 01:09:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272585] calling mprotect in an mmap-ed stack can affect non-target pages Date: Fri, 25 Aug 2023 01:09:03 +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 Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272585 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6c79559bf0c641a7b06966fa419935ca5= 0dddedf commit 6c79559bf0c641a7b06966fa419935ca50dddedf Author: Konstantin Belousov AuthorDate: 2023-07-19 11:05:32 +0000 Commit: Konstantin Belousov CommitDate: 2023-08-25 01:06:43 +0000 mmap(MAP_STACK): on stack grow, use original protection PR: 272585 (cherry picked from commit 21e45c30c35c9aa732073f725924caf581c93460) sys/vm/vm_map.c | 24 ++++++++++++++++-------- sys/vm/vm_map.h | 4 ++++ 2 files changed, 20 insertions(+), 8 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=