Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1459357pxb; Mon, 11 Oct 2021 06:31:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjGVhEpxvM1oGuhROJ79wWleHB9CL069IcnKwWHAsv4JgUWWpOpBCrDCweNcMTy/cE8he2 X-Received: by 2002:a05:6402:354a:: with SMTP id f10mr38167871edd.365.1633959112461; Mon, 11 Oct 2021 06:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633959112; cv=none; d=google.com; s=arc-20160816; b=O/UUITMvp2ssqCjU/F9LrN0iI0eHYkKpd+SykcI01J79vfRZqSacit3rZg3xhPf8xs Q6GI2YILKirnRg6oF7G6ffGiYjKsrfekT5631NeDdzMy1EhnpKMA6jGkbV54URrDsEKU E/QaVRw+1u2tXO5XzK4NzMmFpjkWDqAfR1IlnKZOP9AK4rozP2nlLYkwYp379KgMJhn+ L7nsAlXhshUaEWIa1gHJd59RPAvjZ2giwXovB+T8FXX3g17S4fb5B0jVKRRV/Jh18vO6 o+SyUpeOXDXQ0LTY7y1Itj39RrpqpXH67SWH4qBplur4EfSgxeO0E5djV1hMU1T4daAA uDNw== 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=BTfrofmPQUPweaAMFrrpDCsxkes27wM1OdN6B7aOuF4=; b=Kq+nY6rPvH2yGikN3X+V28qSZ7z2ZC3519ef38MMWk18YV6zBT+f3Iunxub7DTPugl V0QuNgsLbsybrpaS9LvMrUBELUdOVGWYjwaRUazpiwX1eVgEpGQZ6lCzLbM8RytSjKOB Ej2YETzdSZ9U19VEG8gFLMAApD9QZBZVj4vZ74FcouSp+oP4rolE/M/l66jmdrylUeS1 ze56lkiq/63qfwWZJam2Msq9grvoz7L/fETP4Vhs6qENWiDjPLsHQHPaDLtiFKc+iAeN 5bWDvx2YQqc2k/J/etWK4McLe9QbDEic42ARWPChGnNC8607+wMXdPUNVA7TqackLL6I vZ+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=gNogjTGQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si11101196ejo.762.2021.10.11.06.31.28; Mon, 11 Oct 2021 06:31:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=gNogjTGQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235686AbhJKKGP (ORCPT + 99 others); Mon, 11 Oct 2021 06:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235719AbhJKKGE (ORCPT ); Mon, 11 Oct 2021 06:06:04 -0400 Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1C4CC061745 for ; Mon, 11 Oct 2021 03:04:04 -0700 (PDT) Received: by mail-ot1-x32c.google.com with SMTP id v2-20020a05683018c200b0054e3acddd91so16507868ote.8 for ; Mon, 11 Oct 2021 03:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BTfrofmPQUPweaAMFrrpDCsxkes27wM1OdN6B7aOuF4=; b=gNogjTGQmS3kUoqTukTRrppUYNKgp7EnaKzm2pyIOK6rwS18CxqfhXq49S8yxdu6Z9 PwP+UXFvcIPwxiCfGUgXqGYDMfQz5Bffn/jpxVg1zKDJXeIG6LKmch6235qPHv6Tz82M Idz81cY1JescUsKyXgGuvSeEBDZKfd1QI2gYwCTEviWZNFsMTRbJggihDcRSorMd9HA/ e3FsQDtV9bIHGk5rG0Bzv6xXkNa0xSFl/g1dw/MxbqRkqrPyjcnssg2NtHcVOA0nUUSm ew7gKQ2R+htDc9Zm5poNxBV9pigZFxTW5yvF0tulCYduHglka31trewxx5WwMIxFJKGb qhPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BTfrofmPQUPweaAMFrrpDCsxkes27wM1OdN6B7aOuF4=; b=cWkjNpIlOEJWRtiHYbjMyIWN+OSO10TjF7THkDr504KVIYiLueL0/44ECQx2HKYAjy r2AkrNxNk+xo0X5rn4OeN51rrfMNbsokfgplrbbVWClnZnxk1kKnTj01ncNGilaveCYN 6ALe8d8FMOY6BzRmcmprOF43jM/ws15pdZMYDIX+YYsMZlCTIaxa2mN+KYwdGD21O2i+ Zu+9DRtlFgr707SrY1IkMZBKsCRgkaoSLuOmFOmZ0416tKGDgcWRl9bYKcYzS5UAoSfi eP3YB3j4CoJllxXnnu695GHk4gQ8V74q8nBdHTENwSe9IJsJ2ACLRT39lNwwgYxBAx/z ebkg== X-Gm-Message-State: AOAM5305dun8GLoMrmC0KwU3JZrwDolqEpKkuiogTdDthSTSsEgUrPmt 7mNCBF18DbdBna7EQzjcMbae3nc/794zLdixEAvFDg== X-Received: by 2002:a9d:6f04:: with SMTP id n4mr20153119otq.157.1633946643977; Mon, 11 Oct 2021 03:04:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Marco Elver Date: Mon, 11 Oct 2021 12:03:52 +0200 Message-ID: Subject: Re: BUG: soft lockup in __kmalloc_node() with KFENCE enabled To: Andrea Righi Cc: Dmitry Vyukov , Alexander Potapenko , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Oct 2021 at 11:53, Andrea Righi wrote: > On Mon, Oct 11, 2021 at 11:23:32AM +0200, Andrea Righi wrote: > ... > > > You seem to use the default 20s stall timeout. FWIW syzbot uses 160 > > > secs timeout for TCG emulation to avoid false positive warnings: > > > https://github.com/google/syzkaller/blob/838e7e2cd9228583ca33c49a39aea4d863d3e36d/dashboard/config/linux/upstream-arm64-kasan.config#L509 > > > There are a number of other timeouts raised as well, some as high as > > > 420 seconds. > > > > I see, I'll try with these settings and see if I can still hit the soft > > lockup messages. > > Still getting soft lockup messages even with the new timeout settings: > > [ 462.663766] watchdog: BUG: soft lockup - CPU#2 stuck for 430s! [systemd-udevd:168] > [ 462.755758] watchdog: BUG: soft lockup - CPU#3 stuck for 430s! [systemd-udevd:171] > [ 924.663765] watchdog: BUG: soft lockup - CPU#2 stuck for 861s! [systemd-udevd:168] > [ 924.755767] watchdog: BUG: soft lockup - CPU#3 stuck for 861s! [systemd-udevd:171] The lockups are expected if you're hitting the TCG bug I linked. Try to pass '-enable-kvm' to the inner qemu instance (my bad if you already have), assuming that's somehow easy to do. Thanks, -- Marco