From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A891C433F5 for ; Fri, 27 May 2022 13:05:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352380AbiE0NF4 (ORCPT ); Fri, 27 May 2022 09:05:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349877AbiE0NFt (ORCPT ); Fri, 27 May 2022 09:05:49 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96CF95DBEC for ; Fri, 27 May 2022 06:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=pglHjp1be88ovPoKqF2KdA8KHzjD+SK0osh4u3fcrwM=; t=1653656747; x=1654866347; b=IX/KTzNroAyX0zjY5oTOIZLXj6279Vt+fsSPgBjHqBqPvUN 4L0068edISA25tpqUZCPqGSMb1ZcltVT7hGYCXw4o0+kFt21VtMO1/QVGyh6o9aqIYaoeDpl6maLJ OS7K1uNvkhh/5DzIGvbLicndzD0cnKVLa/Wkz22lJTzqoy/JSlpECLZ3DoWVozZp+5AdHCAx2vGHT z552yp9vQedvPnW3FDIi5t6eih57uxqe3/m285W1H6PQyd/3FjhZe5QfHymaG0TdeMgkeM/U1TuNu Z34ASbzlZjiF4BIlsDegnRjb8FzXvC2y4oHWabsIcd9ceYoOyskRMW1d5hOE2KEQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) (envelope-from ) id 1nuZeq-00636Z-PL; Fri, 27 May 2022 15:05:36 +0200 Message-ID: Subject: Re: [RFC PATCH v3] UML: add support for KASAN under x86_64 From: Johannes Berg To: David Gow , Vincent Whitchurch , Patricia Alfonso , Jeff Dike , Richard Weinberger , anton.ivanov@cambridgegreys.com, Dmitry Vyukov , Brendan Higgins Cc: kasan-dev , linux-um@lists.infradead.org, LKML , Daniel Latypov Date: Fri, 27 May 2022 15:05:35 +0200 In-Reply-To: <20220526010111.755166-1-davidgow@google.com> References: <20220525111756.GA15955@axis.com> <20220526010111.755166-1-davidgow@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1 (3.44.1-1.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2022-05-25 at 18:01 -0700, David Gow wrote: > From: Patricia Alfonso >=20 > Make KASAN run on User Mode Linux on x86_64. FWIW, I just added this to my virtual lab which I use as CI tests, and it immediately found a use-after-free bug in mac80211! I did note (this is more for kasan-dev@) that the "freed by" is fairly much useless when using kfree_rcu(), it might be worthwhile to annotate that somehow, so the stack trace is recorded by kfree_rcu() already, rather than just showing the RCU callback used for that. johannes From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s3.sipsolutions.net ([2a01:4f8:191:4433::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nuZez-0005zB-V3 for linux-um@lists.infradead.org; Fri, 27 May 2022 13:05:47 +0000 Message-ID: Subject: Re: [RFC PATCH v3] UML: add support for KASAN under x86_64 From: Johannes Berg Date: Fri, 27 May 2022 15:05:35 +0200 In-Reply-To: <20220526010111.755166-1-davidgow@google.com> References: <20220525111756.GA15955@axis.com> <20220526010111.755166-1-davidgow@google.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: David Gow , Vincent Whitchurch , Patricia Alfonso , Jeff Dike , Richard Weinberger , anton.ivanov@cambridgegreys.com, Dmitry Vyukov , Brendan Higgins Cc: kasan-dev , linux-um@lists.infradead.org, LKML , Daniel Latypov On Wed, 2022-05-25 at 18:01 -0700, David Gow wrote: > From: Patricia Alfonso > > Make KASAN run on User Mode Linux on x86_64. FWIW, I just added this to my virtual lab which I use as CI tests, and it immediately found a use-after-free bug in mac80211! I did note (this is more for kasan-dev@) that the "freed by" is fairly much useless when using kfree_rcu(), it might be worthwhile to annotate that somehow, so the stack trace is recorded by kfree_rcu() already, rather than just showing the RCU callback used for that. johannes _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um