Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4339998rwb; Tue, 20 Sep 2022 12:20:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7DjQO8Cw0FD1uGymuWZkZVYffX1/jrPsg/oCQPvzXu4udci7SRv4fdH9biz4kA9hi+OFQh X-Received: by 2002:a17:90a:8992:b0:202:f6b1:ef25 with SMTP id v18-20020a17090a899200b00202f6b1ef25mr5426468pjn.239.1663701655190; Tue, 20 Sep 2022 12:20:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663701655; cv=none; d=google.com; s=arc-20160816; b=FK81v6xYZoluTtfAP8mC3H0052NaBINdkZgKL/n8x5kZ0a5QDfAGG69PyI1J8hb4uT GQYRJKTJ6lFZYr2j7Bc9WLIoHtzPFiiVFKJ1KPbuXI1pAsI39ZEOTztxqjjhS4Zpfmhn +jsWgCeBr6U9GI3OYYuUat/yaaaZDVFqCX3uyuuoBDCtCGNqru/RL/QCFFI8bU+hixoL b/XYPMq/5hLQG44hYE/vj62HMSza1go9jGGdP/sujbRzRucOc0NqHTgcnLaaE50oaOhT bBPYQysJ9TCOXxIgeNAGEJ9d1QFqAT99A8/XzyQR+gdVl/+IZjrH3G9cXt4HpmJGuAQI b6Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=D8dJcpZD+yJJTRrjXKaOEFQ0b3WoLQpt8eE6p+5Y5WA=; b=MuWL7U+dFw2lDVJqwpyW1i4zrEPWKhLscn+a9tj2pD5kbPG24NpoktJGF4kBvt5OLP z44SDnNA8UerbbNvgoTxBbL1E2G1SicmPFWQOo9XJPt5o4RR/Qcj5PuPV9OdHvI/CZAr SWNRIvSjYRnkaLfk+R+CpmFaDt7wwK/uHUrtE+WjLqXYntUoYy5X1SBjP+pa8frn9Ycc w0f5frz9TbmIBveLwFxRTa/xO2thxzMgitgxEmvNJIx2QfWRVJ4nemcJYa06cQvRmwg7 s2zUo8Q7VkhIIC3ffzOEItRdEMl4Q2WeqGlbbJuLDVNPK2jqXk8Z69Xhs2v6dtatADhY 2fPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NHt3gNnP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c128-20020a633586000000b0041b86985526si491683pga.189.2022.09.20.12.20.44; Tue, 20 Sep 2022 12:20:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NHt3gNnP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbiITS7P (ORCPT + 99 others); Tue, 20 Sep 2022 14:59:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiITS7N (ORCPT ); Tue, 20 Sep 2022 14:59:13 -0400 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1AC874CEE for ; Tue, 20 Sep 2022 11:59:12 -0700 (PDT) Received: by mail-qt1-x833.google.com with SMTP id c11so2429325qtw.8 for ; Tue, 20 Sep 2022 11:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=D8dJcpZD+yJJTRrjXKaOEFQ0b3WoLQpt8eE6p+5Y5WA=; b=NHt3gNnPRY070yyfzEtaxGPj3/Et1cnZr1JjOxd8wokmObZodFHvg07H8hBbx2spRg jJ8Nm9eyK14LafX//5FlM1iOhnV8/rdZTEUzmy+hE7/UHFUYf1Ll/WWmO7GYi6IlDN39 2+UibzRQLTcmdZctFTj/LJUBcwfp/lIuCfFtzySsfFDAhMhb7Y7oTD9ukApmYU1Ayoi5 fgiKZmmuN3Iur4kCMD3LfborPWmiWo5rsbb9gfQmJ8kSTm/axPf0RMpdNrjF/ynnPK/S umhqACAcN3oI8M6kKQs7nHeJ0C9nWaPRc/E7T0U1nAxNSJh7rYj5gvfE4PiLrb+dG/iR Idyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=D8dJcpZD+yJJTRrjXKaOEFQ0b3WoLQpt8eE6p+5Y5WA=; b=CLfyogNg5tR53SbHF7ZdEe2wHAISEXmLIflGSAmwNeEBJC3J4bK1yv69obQmEIe09p zSCF2koGyEtP8K65rNaJ/9ppcpLEEMgI9gVnedNsJa5WhxlY1LskKgOy27LZB/BDBFgk DzdxFJqiCGtuIx07x0eU4V6b5eyaGYZ1xs+RHzbuvuLMCx6QtYmkiV72Ro8xfzE8AaQP m7kmzRbgZiGb/eXyXkUGDAO03N39ANET1wod4cbojzLGHgecJ3ZEMZwFep5Gv1WGNzYj HSbd+0kgR0dAh0EJv54wB1XzBjyoU6NkATdv4MapyRY3tTBmWMaHV272wKlhB8UZkzDM ktMQ== X-Gm-Message-State: ACrzQf1QZqeFRYSppNJDlBX5IPNi87WUADZei960bLl6xpOa5mdOmGSA nCpblsbq9qp6Ud2af4udHSI+3nfXQswjf4Y/aDA= X-Received: by 2002:a05:622a:14d1:b0:344:b14a:b22a with SMTP id u17-20020a05622a14d100b00344b14ab22amr20408437qtx.203.1663700352038; Tue, 20 Sep 2022 11:59:12 -0700 (PDT) MIME-Version: 1.0 References: <20220912130643.b7ababbaa341bf07a0a43089@linux-foundation.org> In-Reply-To: From: Andrey Konovalov Date: Tue, 20 Sep 2022 20:59:01 +0200 Message-ID: Subject: Re: [PATCH mm v3 00/34] kasan: switch tag-based modes to stack ring from per-object metadata To: Yu Zhao Cc: Marco Elver , Andrew Morton , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , kasan-dev , Peter Collingbourne , Evgenii Stepanov , Florian Mayer , Linux Memory Management List , LKML , Andrey Konovalov , andrey.konovalov@linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 19, 2022 at 10:08 AM Yu Zhao wrote: > > Hit the following with the latest mm-unstable. Please take a look. Thanks. > > BUG: rwlock bad magic on CPU#0, swapper/0, ffffffdc589d8218 > CPU: 0 PID: 0 Comm: swapper Not tainted 6.0.0-rc3-lockdep+ #36 > Call trace: > dump_backtrace+0xfc/0x14c > show_stack+0x24/0x58 > dump_stack_lvl+0x7c/0xa0 > dump_stack+0x18/0x44 > rwlock_bug+0x88/0x8c > do_raw_read_unlock+0x7c/0x90 > _raw_read_unlock_irqrestore+0x54/0xa0 > save_stack_info+0x100/0x118 > kasan_save_alloc_info+0x20/0x2c > __kasan_slab_alloc+0x90/0x94 > early_kmem_cache_node_alloc+0x8c/0x1a8 > __kmem_cache_create+0x1ac/0x338 > create_boot_cache+0xac/0xec > kmem_cache_init+0x8c/0x174 > mm_init+0x3c/0x78 > start_kernel+0x188/0x49c Hi Yu, Just mailed a fix. Thank you for the report!