Message ID | 20240729-kasan-tsbrcu-v4-0-57ec85ef80c6@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7FC4C3DA61 for <linux-mm@archiver.kernel.org>; Mon, 29 Jul 2024 18:56:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4FCB46B008C; Mon, 29 Jul 2024 14:56:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 486676B0092; Mon, 29 Jul 2024 14:56:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 327796B0093; Mon, 29 Jul 2024 14:56:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 0F5226B008C for <linux-mm@kvack.org>; Mon, 29 Jul 2024 14:56:27 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BF3C0140597 for <linux-mm@kvack.org>; Mon, 29 Jul 2024 18:56:26 +0000 (UTC) X-FDA: 82393695972.20.11FC44E Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by imf29.hostedemail.com (Postfix) with ESMTP id D4549120006 for <linux-mm@kvack.org>; Mon, 29 Jul 2024 18:56:24 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=MWrbfR4Z; spf=pass (imf29.hostedemail.com: domain of jannh@google.com designates 209.85.208.45 as permitted sender) smtp.mailfrom=jannh@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722279313; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=OJFBXmp2nnWSyPQ0vZXV6CH2fcDg2DG8vfwkkfKQGv4=; b=w8nHDUDlMvx0Q7yPiR/ocqwRz7hXTnqMYJug1lJdSiWX2kuh8X9JTAf1IXLZYZKpAy2hIk S/bnjhDmg5FqDvgTizNVFpNoXPoJjObRTbmJrVU5WfRmBfaSXvo+QgZgLxztZObgdeJU7O O2vG5h7vJhyPO0sH/H0vv5qQUuigjFA= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=MWrbfR4Z; spf=pass (imf29.hostedemail.com: domain of jannh@google.com designates 209.85.208.45 as permitted sender) smtp.mailfrom=jannh@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722279313; a=rsa-sha256; cv=none; b=prPBet8x0Awimj+O+SuangXCHA6HxQPXnyEMUCMvlix4oLFTCrHuoFfX0i2BSbXE/GSVoJ NSpjT5cXhSL+b6QuXaAidh1VleHONlQAtkj5FzTXGs46y3JbAa7G8x8CsQYnohzM0uDmXg dsdh1qdVEHSkDJycoiBtpKU8HPEwNfY= Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5a869e3e9dfso3083a12.0 for <linux-mm@kvack.org>; Mon, 29 Jul 2024 11:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1722279383; x=1722884183; darn=kvack.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=OJFBXmp2nnWSyPQ0vZXV6CH2fcDg2DG8vfwkkfKQGv4=; b=MWrbfR4ZViRbIX66MXaXp7gDwMbbhqPXhS5u9tPHkFAdAguOe3rf4+vb3Ws1fcIlX4 iAk+81Vr2kKjgqViSYcnLbJNHzhvZyAXVuqBe6BMkIo+q99wVoJNPKVKePZEJXqYR2Az g8AoLxYIbClCXnT6SiunLOjntr7TJrv5fDxooMhUvRMgeuFovrLNqixnTqwEHUaX/NI4 DdgTZonXWkKkdNiRg1Jk64BJLa5mTmYlYWj87rF5DoB/gxo1+OrmcVKHU187ma5uL9Js olsRBrAYGKvlqJa8+qTHsKt8aairMOHuP0P/m1223OyA9eI5oyc06oAqYmYUy4wGxn8S pv6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722279383; x=1722884183; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OJFBXmp2nnWSyPQ0vZXV6CH2fcDg2DG8vfwkkfKQGv4=; b=LmAfNub/2jXnyz0t1Klrix98pfd2Gn9xNoYpQxttn4fgAx9fRs+A7YnFSaU0/RMktS 23dUvMK3O3/IkbmcKr459hv0h6CknrZMK4evOjNKvvpkV7TmaZebJg5FvErDvp08YGxy /au1DjwzTKARuw0EKWQuDotzNrUJV9G95nQRwQcSwExyZEfE9sstnNAl1qEemuARFa9m lmuzw617rocistqBsIeRLhsx5k8xrc/W0QQGKPdduFXIT1QUW7sopHViv0MWbKzMr2+A 66hXTj0I2uDz96xm1yacjKUfaQLi8P3/f2UjZopp7FiOCR4k1mBnVlyhy+tmS4yGRfPf te8w== X-Forwarded-Encrypted: i=1; AJvYcCWe3u/r2Znj4jfiFdTAuxBZ+xLe9teyioIe6iI/G22UKxCANcVIh+EXNQPh15aW0HB5m0tXlUWkm1fvyohQ9EY/+nI= X-Gm-Message-State: AOJu0YzDQtH7MXtK8oTTl8bC7ctW80qKVJfq/kBPyrQh1HLcXZAB1Hwe hKmmXM5MA71mb6K3cKFJT6EKCiIkIM5C3pFEeAxUg/il1BoS2vgNSIgvM/JPyg== X-Google-Smtp-Source: AGHT+IGHDAR6BfxXjOVdnoYWcpWOMI+YQdQQsZduiIDJgRJ/qHn3aYgnBzbWyENtpVxHf1LGg7bDNg== X-Received: by 2002:a05:6402:1d4e:b0:57c:c3a7:dab6 with SMTP id 4fb4d7f45d1cf-5b40cede1e6mr72548a12.3.1722279382616; Mon, 29 Jul 2024 11:56:22 -0700 (PDT) Received: from localhost ([2a00:79e0:9d:4:a1f4:32c9:4fcd:ec6c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36b36857fdesm13151543f8f.75.2024.07.29.11.56.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 11:56:22 -0700 (PDT) From: Jann Horn <jannh@google.com> Subject: [PATCH v4 0/2] allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs Date: Mon, 29 Jul 2024 20:56:10 +0200 Message-Id: <20240729-kasan-tsbrcu-v4-0-57ec85ef80c6@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMrlp2YC/13M0QrCIBiG4VsZ/3GGOp2uo+4jOnCmm1QauqQYu /fcIGgdfh+8zwTJRGcSHKoJoskuueDLYLsK9KB8b5C7lA0UU4YFrdFVJeXRmLqon6gThKsWEyt EAyV5RGPda+VO57IHl8YQ36ue6fJ+IbaFMkUYMW5lK3HDWCOPfQj9zex1uMMi5fq35n91XWpOd EuttIRgsqnnef4AQdb6v+cAAAA= To: Andrey Ryabinin <ryabinin.a.a@gmail.com>, Alexander Potapenko <glider@google.com>, Andrey Konovalov <andreyknvl@gmail.com>, Dmitry Vyukov <dvyukov@google.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, Andrew Morton <akpm@linux-foundation.org>, Christoph Lameter <cl@linux.com>, Pekka Enberg <penberg@kernel.org>, David Rientjes <rientjes@google.com>, Joonsoo Kim <iamjoonsoo.kim@lge.com>, Vlastimil Babka <vbabka@suse.cz>, Roman Gushchin <roman.gushchin@linux.dev>, Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: Marco Elver <elver@google.com>, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jann Horn <jannh@google.com> X-Mailer: b4 0.15-dev X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: D4549120006 X-Stat-Signature: acxdr3ig6kawozqiurht7ctjs6bez1fr X-Rspam-User: X-HE-Tag: 1722279384-467766 X-HE-Meta: U2FsdGVkX18qHF9n+PUn/LN9JuHR3oFF4Zu2EnSm3LiYdXW2CS8QeGghyD8jtdaYwlTMTnUnXOcpzqyjcMQfqkFwbIa1D/OfIeWW1JJvx0UU5NPu9DJZC2IMC3jEA9BvC51m5JqMp/cMHuaC/WZJ7z3FAAOXYygcsu89KhcoQsoGN3IHx29sifIu+oEgGO6gAdeqtjs026050DUflnn1vS8KttYGsjMRldmreg7j3rgPS4YycaMHr10ZjuNB8ke1z6jqSCXe0YCFTk3NIioU9BdQ3T0FkbDmL2LJq0OEz4hEIzobxrIuXeHN9UQePFO6+ODp9ymvJMihzRf9IEM3EnvRHHIbdUTVSuJSSOyo3CgGWz9Y4u8zFyVPWRrT0Z9WAQeGnLTw1UbIgIU4LG0jEeiejBOTiZmbC3gXDPo+yNMvDhzYdVJRTCxNJDxYtwtrssA8RNgSHR5aSExo8hOlAe5lKpc636aF+IueaWa90sTQAufrFmzgbfTAdwe/RP486fNU24d+1VRPd3lvXYD6ei2dxvV4goxRnHAXBmASJz6bf/W3/zbcCsbKkr6QiHj1uMgn4U42jPRFewjNCoI3CcaycVnGX+E29of8NXvb7ega1CldgYPMYm9faAZiNnjJJhKTEX6PWorfNX/VUCSR2gB8ge6EEXQGzEpHwDW5sab58/ENdENit4jkXfGMtg10o+LRQkcKZqAUsXLystv90Lj2JllX3Xo/nUGH359gxvku3h+4fnUW+HkxSqJKIRX38HP3osy5crc3KOtec76PntffRC4CpyjEJV7sJR1Pob8Vnmc1xpUlQiST8blcDLmb/6ZblRHss32OejHAp6rBCY0oMmZLeP/Ly4rfEG72y0f8IIHCmxP8LmFveynZ+ta5OR5+skF0fecNQ1SmCqIMpzMtSF29zLVpFaIMnuqCpFPGDM2deg2JKtIbTuTBojgp1LakQhJVCvlw0s+JB4X 0cXf4mUx EmlQn25LFyldgpJspw1K9txM8ajbDVD5YGY6MBoXrS3SwY1Ucga+DMDgXS2kXfxRVeE6Q0C4zwGRIHXoPqBEEz+tcN4MOQKiTpoQF5014nrcG+MHjVDmQWyN6ykUCgZZ81YHcLq4CUsrYKpdL/wjunTi8+7miswaNPSiKIWlOfN9w7W9kGvF445xqAaKS/vaDgehL0aLGabiUcvpLjtrLY45Gj+PXV/+L4J2HSYvPDg6nlMbpFKu9eNkwvdZ4vPoZe5bTrUVK6d7pAvGpeBAS5I+2Z4F7cF6vsKBXdRDz+ryaOZx8JxhM4Z3L0Xwvc27QPtP8HsaTP4ZOgKQZLJoIOrAnQdNd3O6PqmQ3vZbAD2SR/Oi74ySwcCbMMJnXAnUBT2FDYG79eHC8Ru0MNQ0+SusDmtU5aOU109tjiL8T0czu4VWs45dAlGN7vKs6SixA80q5ONqLDIxFsXJl/rX/aqeGEH989Q2HhvSM X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs
|
expand
|