Message ID | 20240808-kasan-tsbrcu-v7-0-0d0590c54ae6@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 24474C52D71 for <linux-mm@archiver.kernel.org>; Thu, 8 Aug 2024 18:31:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BDBB06B0082; Thu, 8 Aug 2024 14:31:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8AB06B0085; Thu, 8 Aug 2024 14:31:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7BD7C6B0083; Thu, 8 Aug 2024 14:31:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 554BB6B0082 for <linux-mm@kvack.org>; Thu, 8 Aug 2024 14:31:12 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id E8C3DC15FF for <linux-mm@kvack.org>; Thu, 8 Aug 2024 18:31:11 +0000 (UTC) X-FDA: 82429920342.03.EA1701E Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by imf01.hostedemail.com (Postfix) with ESMTP id CF82440023 for <linux-mm@kvack.org>; Thu, 8 Aug 2024 18:31:08 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=WlQ2dCnZ; spf=pass (imf01.hostedemail.com: domain of jannh@google.com designates 209.85.128.52 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=1723141782; 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=DLW6erLEdD1RJkfioQR08NW01BP8YceiCQUjS50VurI=; b=Ugp3LNB8RvTpgZ+hiZKPYx+vFgt3w1pl77oAbCZsPLDRUZw2cvDbH+bpRsLlIhrvB6CGYX kv3Gzin+/g48tpMZp+EIfclKbpFcp72yYcb9QNsLIAtFD8l2U6o0uGBuUeOSy8bwkCxMo8 z1vTv5PQxfHTB9oYhiyoomQKpHvxKgg= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=WlQ2dCnZ; spf=pass (imf01.hostedemail.com: domain of jannh@google.com designates 209.85.128.52 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=1723141782; a=rsa-sha256; cv=none; b=KC2aF7fSPQWrRJWCmp+n1cxWlBMlDw37r3Byara0XIDZikLJbahcjGcA7cHzKkBEedSkn/ DCuZU0gphgEaFZek5o1d+MytD7tPGPpi6vqx1EIXri2zUil0TfDm8wdvcSXp+cZVqOMK9h Pp764+P5dg5TVcayPrWDzk7w07YQkRo= Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42807cb6afdso1775e9.1 for <linux-mm@kvack.org>; Thu, 08 Aug 2024 11:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1723141867; x=1723746667; 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=DLW6erLEdD1RJkfioQR08NW01BP8YceiCQUjS50VurI=; b=WlQ2dCnZ+Yi3zH48a9sq0rXyum7vMwdGRz0Xt9+EronW0/3g9a7Fppp7Y97pKGHjVJ SvLo4rgR5ljOO7kIwA0/+bc2qKz2sRLRzFjqhY3aM5I4ri0hUzPcz8arLdboyy+Z4+cE Gk/1b5N2Aq8ZXaGj/S3IhOf2EhA3ocT4S5LZ74evClrmMi2+UH4tVb+8dYAFIPhEAEfL JhyqP9WLq+bPToY6H2K7RsIf77QOcfaqOoidcnOFzcQADmdDZqPcAu3/rSIioyavccUN nOfqT5Qzc0qEfVLeQIXgfO10h1vP/6XIvrAaVk/fCE+48/+mBuSuQCidGjuUHpPaHdWu fpGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723141867; x=1723746667; 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=DLW6erLEdD1RJkfioQR08NW01BP8YceiCQUjS50VurI=; b=BHHlzsDWLV3hYncTTLLQ9p3phph1rUa6VX2ZmLJ+W4yVZbK7gf82xLDCOocN9XoS7Y hQK23vd0nAyY09YXEOb5bYE8GRLbGhPHITw6ULQLslNcpQsId/CpSu4pAjFqVLU+qUNn UfXOP1esY3PoETeW3GFFgegzvLHhdcqCmcHNThjLupLFf742J9I/IMvCLT5VSnn3W2uD X0moqFbgPQMiNico7dBVWebnMkstVhOSh0OQFBq2WtXTsdF4W1RxKowzcdC7saPrZfnl fNlRXNHYh9Z0efbiRvSuZfbCi3g1MeJ5GIgrl1uQaoW9KkC/7j5pjDi04MLBJLU14mjU G4zQ== X-Forwarded-Encrypted: i=1; AJvYcCVpNRMK14PK83RtCKB6pBRhl3Ezrc0VZK3+9l7Til5rRGGMGPJPqIHw9Hd+mxHitPxP+dqt0i4HeMvHDmyzn7KKoUY= X-Gm-Message-State: AOJu0Ywp2gJP1ZiSTmDzvj9mQfHSabClI/WkuTddUlg/O/q19587kd64 WzCZDz/SPzIVKiGmL3c88ZeELJUtH1JdLLBg4kZVBQ9+0fKA3JkEtDMNQrdsDQ== X-Google-Smtp-Source: AGHT+IEes4I4p3Fnb4Injx44lWLQVTr1WKKg+sngYdrFL/lTimO2lDONHMBTA/ilsUgj8WAiaMWvLg== X-Received: by 2002:a05:600c:1e16:b0:428:31c:5a42 with SMTP id 5b1f17b1804b1-429c17bb78fmr111085e9.3.1723141866523; Thu, 08 Aug 2024 11:31:06 -0700 (PDT) Received: from localhost ([2a00:79e0:9d:4:fc0e:258b:99ae:88ba]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4290c79f345sm34845495e9.39.2024.08.08.11.31.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 11:31:05 -0700 (PDT) From: Jann Horn <jannh@google.com> Subject: [PATCH v7 0/2] allow KASAN to detect UAF in SLAB_TYPESAFE_BY_RCU slabs Date: Thu, 08 Aug 2024 20:30:44 +0200 Message-Id: <20240808-kasan-tsbrcu-v7-0-0d0590c54ae6@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIANQOtWYC/2XOTU7DMBCG4atUXmM0/p+w4h6IhTOxUwuIkV0iU JW741RCpMnys/S84yuroaRQ2dPpykqYU015asM9nBid/TQGnoa2mQSpwUnF33z1E7/UvtAX750 wvgMRnbOskc8SYvq+5V5e2z6nesnl51af5fr6F9L3oVly4NpE7BCs1hafx5zH9/BI+YOtpVltt dlp1bQR1MmIUQgQB623uttpvWoXCE2ICGQP2my0gp02689xUNQPkYjMQdt/jSB32jZtYUAbvEM t7m8vy/ILNCRnOKEBAAA= 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, David Sterba <dsterba@suse.cz>, 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=1723141862; l=7163; i=jannh@google.com; s=20240730; h=from:subject:message-id; bh=ifhhMKUq3wZYmlKPhfOQuDlC/AkSNxHfHxamMzAf6II=; b=2aRS0R6BoACVWuuRvijlpPNLmH0ucoBGDBTgCdvc6f0r9/4Ft9gdMXDBQEo9ihbyrZK2ppxJK OguwRRT1ftBCFRFsZPbdjylmtvCUY6szc+i4JLXWejdDPMROUVi361k X-Developer-Key: i=jannh@google.com; a=ed25519; pk=AljNtGOzXeF6khBXDJVVvwSEkVDGnnZZYqfWhP1V+C8= X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: CF82440023 X-Stat-Signature: me6rjfyo5kqt7a96349xzemuwba5575m X-Rspam-User: X-HE-Tag: 1723141868-453376 X-HE-Meta: U2FsdGVkX18cnv/xRJQCMmF4WTCsxr/PuoET5FDPMKjWBXwr28qF2QOd6YKaW43vrPuwIBFDtSFfy6JFvdTC7VQZHhoMYRGJLU1sALb5Uoq6k6iBzOFPUEFtVgK44RL7hpnFLpUgzFjon73IH8xx6TXOEgg9rLaK+dJpxM+w41GWWsfQyFZo4yFZqKOKcDfg43J1Af3YR0TceFXf78Jn1O17EvR/c0s3rxmPg+XvQmKZWozFAC0r7m5fgZj9ey2zui16EpYJ7O+u9U89/v5CvOSQuZuLHOzFEK5DgGdFvP7JdiPva7Pxq50zbMXiSESA6TO15cLb3F5zWbnY29UliR1UNYcBy9k8UratU6CJ8pl4kPlN9QtGP4TKjy4m5/VVNDOZgK7VKOZFzem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ity: 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
|