Received: by mail.netbsd.org (Postfix, from userid 605) id 512B084D7C; Wed, 22 Aug 2018 17:04:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 38FE284D79 for ; Wed, 22 Aug 2018 17:04:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id aFqL6WJ-uceO for ; Wed, 22 Aug 2018 17:04:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id AC24484D3B for ; Wed, 22 Aug 2018 17:04:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A420AFBEC; Wed, 22 Aug 2018 17:04:36 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 22 Aug 2018 17:04:36 +0000 From: "Maxime Villard" Subject: CVS commit: src/sys/arch/amd64/amd64 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180822170436.A420AFBEC@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Maxime Villard" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: maxv Date: Wed Aug 22 17:04:36 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: asan.c spl.S Log Message: Explicitly unpoison the stack when entering a softint. Softints are the only place where we "discard" a part of the stack: we may have left the thread without allowing the asan instrumentation to clear the poison, and in this case, we can get false positives when we hit a poisoned area of the stack while executing another handler within the same softint thread. (I was actually getting a rare false positive in ip6intr.) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amd64/amd64/asan.c cvs rdiff -u -r1.35 -r1.36 src/sys/arch/amd64/amd64/spl.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.