Message ID | 20240802-kasan-tsbrcu-v6-0-60d86ea78416@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 28B42C3DA4A for <linux-mm@archiver.kernel.org>; Fri, 2 Aug 2024 20:32:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 701466B00AF; Fri, 2 Aug 2024 16:32:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6AF906B00B0; Fri, 2 Aug 2024 16:32:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 550B36B00B1; Fri, 2 Aug 2024 16:32:17 -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 3509B6B00AF for <linux-mm@kvack.org>; Fri, 2 Aug 2024 16:32:17 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 9EA1B120D60 for <linux-mm@kvack.org>; Fri, 2 Aug 2024 20:32:16 +0000 (UTC) X-FDA: 82408452672.08.1860AAE Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) by imf10.hostedemail.com (Postfix) with ESMTP id A3EF8C0008 for <linux-mm@kvack.org>; Fri, 2 Aug 2024 20:32:14 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=DmgYYY9m; spf=pass (imf10.hostedemail.com: domain of jannh@google.com designates 209.85.208.48 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=1722630676; 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=9tpvdJVeACeB5qkpDGLZPHMZmPZisvxXSMDixUJOlJA=; b=GVv+OjE1y+8j6uxQLjdFOAVB0qnoMxljRK6QnfQgvSaMssQduPVg3Q5IgXNmlN8ZfsMcw9 ee2mkNApb3VniXfONYqUSvCpBGf9k52X9xBaHlzbwVgWFDkGPwX8p6i0l7GIriaDVG11kp zqccIkTScPtAWtdeJTJMTANfmX5PHMY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722630676; a=rsa-sha256; cv=none; b=q/dRZE3G6au/IiQRmnIQbQQ4k/cc8QcOWIA2TJ3SkOwIE7tewOUhKibe5AHzDO/Zk6JKAw Io6GtYOK6D+Ios033+mpD2r5RchKtG77GOGMlUk5ivASzvDugztCrbjYGYPtZy1wf556wp T6+2edEgc/kQaED7f3t62qxky8LKqOM= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=DmgYYY9m; spf=pass (imf10.hostedemail.com: domain of jannh@google.com designates 209.85.208.48 as permitted sender) smtp.mailfrom=jannh@google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5a869e3e9dfso60243a12.0 for <linux-mm@kvack.org>; Fri, 02 Aug 2024 13:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1722630733; x=1723235533; 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=9tpvdJVeACeB5qkpDGLZPHMZmPZisvxXSMDixUJOlJA=; b=DmgYYY9mCPbUnMv81gyCMATQONH1qAnywMNuMhfzLUQgD8V58Rnlx+5KQb9FA4svi5 1r16Ddc6Bm86RmDPCbyUEx1FCdz2pwJHtmAl5kgNZe2LSH5wLX6MkXr1i4BRZH7R2MsN O2Lq62ExHEQtpQg62ly99CMWnSNnIeL9bVlykoJDqBbCZ+MT/C1Qom6lhVtd/N8ysFF/ KjdRFROdXhGYV53e+w/zt2EDXDPOH0Qr8rA1k9ZiqkWsP5vcGsb7bFX0KLfOOM/2tcTp BbvvkVekeu9orZT2l/OCuiSTuJm2DN3bHVYUjEYkcvU4aG6vrGM1UhRYMv+/FgsoeAfk OSIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722630733; x=1723235533; 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=9tpvdJVeACeB5qkpDGLZPHMZmPZisvxXSMDixUJOlJA=; b=hqTXe53CrJpMh3kJx7n1Wnlx1F87lQM7vCXuAoD83F2/PtPQuvvgGxAUn9No7arcxa 1B5572MaNQa56rIgtpzA4wGm4dfufvA90kc3a5ZVCZXXOHA+0+vdkvepHTQcQ6r4u0go x3+pZFLWRPWsHWETjm6UtwmhhCDNc/ta6fccnXsEdLUHdhCiqlwQyxJL5gEWIsjIwu9G ezgw07z+ZMCY11FmAh/2nHCdF9rOc3xRybhWQoTXowTPTkvQChYDaBvDvIoQ7vSxVphr lT6dpmOII4FX7sIz0iykkyC8/yMJDFW5V2IU6+jMju8sXjTuS7IBTxjiVAqAlxZnFqGY 7/2A== X-Forwarded-Encrypted: i=1; AJvYcCVi1A6FLN0Xncczw1vRvzPKyGtRrdRKc3Z5x+TKMWlCFSKPU9iUs2aWCoDRCYpa7shMeUd4A3svw8aYK331HEknmFg= X-Gm-Message-State: AOJu0YxwLZptyTU1JJDQRbF1BK1HPDSkukbCUeR6jJSDW1rg/989tVgh ZAj9mCY0p0PBrsK1xmI0JB8zQtuvTXGM4gmDpRvGq8byfmYrILIYZxTiHv3Oeg== X-Google-Smtp-Source: AGHT+IFKezzjniHDzNfK5lWdIyO0mUIv4bFhFicChoUyM/ZhxnkL4BLuHlX8swJTNNcyIPpAo2eTDw== X-Received: by 2002:a05:6402:2816:b0:58b:b1a0:4a2d with SMTP id 4fb4d7f45d1cf-5b9bebbc4ebmr17961a12.1.1722630732323; Fri, 02 Aug 2024 13:32:12 -0700 (PDT) Received: from localhost ([2a00:79e0:9d:4:9337:bd1:a20d:682d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd26fc0bsm2700267f8f.117.2024.08.02.13.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Aug 2024 13:32:11 -0700 (PDT) From: Jann Horn <jannh@google.com> Subject: [PATCH v6 0/2] allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs Date: Fri, 02 Aug 2024 22:31:52 +0200 Message-Id: <20240802-kasan-tsbrcu-v6-0-60d86ea78416@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADhCrWYC/2XOTQrCMBCG4atI1kbyn9SV9xAX7TRpg9pIokGR3 t1UEGq7/Aael3mjZKO3Ce03bxRt9smHoQy13SDo66Gz2LdlI0aYIJpxfK5TPeB7aiI8cKOprCt CndYKFXKL1vnnN3c8ld37dA/x9a1nNl1/IfEfygwTLKQzlSFKCGUOXQjdxe4gXNFUynyu5ULzo iWFijnjKCV0pcVcVwstJq0tGGmdIaBWWs40Jwstp89Ny6FpHQDIPz2O4wfi2NX6YwEAAA== 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>, syzbot+263726e59eab6b442723@syzkaller.appspotmail.com X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1722630727; l=6723; i=jannh@google.com; s=20240730; h=from:subject:message-id; bh=6m7b7k4S8KWZIyDEYtTqqzHl0D1lSK3y59XxPtdM71k=; b=ROnheg8tvs64V5aBE3C/N6iTsCrkOSnws3DYdQsxny3FmQBfdmH9iXSA+l0ZCG8iSfWllv24d WhfHmS099E8AKLS35y3E0a7JdnTW9eV4R7Oq5fL43NvVgOV2T/6Tl+v X-Developer-Key: i=jannh@google.com; a=ed25519; pk=AljNtGOzXeF6khBXDJVVvwSEkVDGnnZZYqfWhP1V+C8= X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: A3EF8C0008 X-Stat-Signature: kok1zbps4838ty3xg5otj6hpyuuja5du X-HE-Tag: 1722630734-682506 X-HE-Meta: U2FsdGVkX18oSPVl4EPYB+O2qie9cIXV8OMu1StE2Bl+Pc6cov/mWIAe8G848MsmmTAmjoa0nWw/Wz4Ezfz8dEtZDcXtYMJM8rB1nOoYL8a/7C8Pp2MFVdrGT+mRxcZ8B5/6oB6gAP0ellpWKsl3hvDc3eotDJMO1jUil3q30ldhZ/eFQacX2mIYq//KdM/1wNhyDtcdR/rnpdxJKFIuIzmcGqwqU1WVXXlpZatSRBgSQdzYQCDzbZOauUrG+BdVsKLHaTpxNUn2V8ECK7lciBmpwmO3fXxtKXuIAnirjrMpoIvmQV9RjBtXbbcrtP5ioPl9Abrp2BxD+qywiWY8qVUx8aBncmg2EBdsBevoOeIQCYjDweO6yR+tezYQh67fmxkchLOOLtFWLyYXlC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na4pEMTpAkuj2relmQY9bA== 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
|