Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5491381ybh; Wed, 7 Aug 2019 06:54:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0JFjBwBReOGbHLwAGbzHYrPrSVvOuH/8bAUor1EAt9GNNiXsHWw6gcnw5PtEk43jepS4T X-Received: by 2002:a17:90a:7148:: with SMTP id g8mr75007pjs.51.1565186093054; Wed, 07 Aug 2019 06:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565186093; cv=none; d=google.com; s=arc-20160816; b=x4p5PxFmm8N8olsdFuCCWxcFTtM4QevDX1t2fDuVLOavrHzi4Y/k3AddX/vsPMmfmX rlbHbUb2EwgBMXI6UEJk/D9NMoI0BaHoeyTnoN0aRhx9dd3otQ8rX5d/SvSXVRrru+23 m785lmXbWj+6az/8AWVRxC8vOkKyp0E8y+Vr9yupDCkt9CNhgUYax8yO9EOX030jma/W vakvE8adXoaO30jYCfEpsKiV9Uh81dRjWyr6A3FoD2PC1eYlRKDCdNC9nRaOTJitnZ6Q xLcovdDQVHbdcrY1bcHdQj9gRsxNxQtQ8hl57rOva10jfFghHXZnPUn7W2D2vzFd0tA0 2P1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=BgLZOlC7FggMDYromVHOVuPqpIFlNO6ufptPevrnpsQ=; b=KNE77+4QWdA35UwpSZDoNI9SneJ8fQJHnIuKGCpzQO9AAG3l1fYi2PyomiZM2dJVEi 46/bPtBn0ips2s6F7TgSJbROMD3Qp4433I//CXkDNaxrsFoFHLoMWRTtrRo4J040iB5r GwFsrvoOlFePrS7GDdBfkmSFprYCrV0esbu2IDvjQ78uJZ7kyWtxW6XmRvBL4hnmMHsO PDUzAx1a8JYfvbbmVq98IuWPKHxgMOTQbomepiQuP5l+DkwKWNRFxWneoATiJ6vBrPvI Y1zf+MTTDrasP1jm06rJsIjuZOorVwjh6+83HGbEzQkhA+cFnZKBeO7Sud2lZNTtkBrN j3iQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f26si52110200pga.117.2019.08.07.06.54.37; Wed, 07 Aug 2019 06:54:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387888AbfHGM4N (ORCPT + 99 others); Wed, 7 Aug 2019 08:56:13 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:49619 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727213AbfHGM4N (ORCPT ); Wed, 7 Aug 2019 08:56:13 -0400 Received: from p200300ddd742df588d2c07822b9f4274.dip0.t-ipconnect.de ([2003:dd:d742:df58:8d2c:782:2b9f:4274]) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hvLU7-0000Iq-HK; Wed, 07 Aug 2019 14:56:07 +0200 Date: Wed, 7 Aug 2019 14:56:01 +0200 (CEST) From: Thomas Gleixner To: Austin Kim cc: Sebastian Andrzej Siewior , Sasha Levin , peterz@infradead.org, mingo@kernel.org, tj@kernel.org, jiangshanlai@gmail.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: NULL ptr deref in wq_worker_sleeping on 4.19 In-Reply-To: Message-ID: References: <20190719135352.GF4240@sasha-vm> <20190807114649.fjfaj4oytcxaua7o@linutronix.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Aug 2019, Austin Kim wrote: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top > I wonder what kinds of workqueue is used in case of this panic. > > If system workqueue(system_wq) is used for this case, it would be a > help to replace it with high priority workqueue(system_highpri_wq). If > panic disappers with high priority workqueue(system_highpri_wq), we > would think about another scenario. How would that help? As Sebastian explained, something overwrote memory or it is a Use After Free. How would a high priority workqueue 'fix' that? You need to find the root cause, which is either memory corruption or a use after free. Thanks, tglx