Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2757021rwp; Fri, 14 Jul 2023 10:49:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFCNFi18JrRWhMg05M6R06UCUU3mDvS51LLnFFZJ4+jpwk7Qw3FvNNY53AoLH1OjneFseIe X-Received: by 2002:aa7:da8b:0:b0:51d:7e2a:8bd7 with SMTP id q11-20020aa7da8b000000b0051d7e2a8bd7mr4853006eds.38.1689356941237; Fri, 14 Jul 2023 10:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689356941; cv=none; d=google.com; s=arc-20160816; b=yqjZeHBC6IRHDS6HvdRww+/r6r5kcX4KbUPsREO9Y/DIxxYbSfz/SCsV5R8xmI3UC3 mHbXHVWKM+26CNju56r5uEgP6MYjaHKHf7yiy1jUk8/XdAyP6N01Ob7kOi80PcwmdVvq jeXbLWLpBIz8nOdwFD6dl8XPKm+fbviB/bpSb3c17mX/YCeNkDeH4TV/GvLCh9eOhBkd KJWAdObfIKbFSwjuBm0vgLfCaz0HckAEG8Gdngj5OWG99JB3R8Jn+5fLbts56GA2eQtH dWrnlAi1N6qRQ7f0X8hoXf1xhCHI+DcKXHMGgaxb/CDl9ORNepsmEApZxKzjw1Ha5Pxs 4Ftg== 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=u6Ug2JjEvafULqpnxSJIRgizCvEmKYgRSPlSpkcAlBY=; fh=CkPbiPFfnCk3naNGU/1Y6s6Ss8ZRVL4OetwrgaUqeek=; b=pW/pBBuUe73SBzg3aaB76Z6GZNPpNLN0dZlcPb7SX8tMYTGkmZBDLyyKiG0Iaxn1Dz WNq14SzSEbHCdDkg2nfCuXe3UImSW2sOSFi8CuHKZHfdAtrPnNQJ3ZLblSx97xFzv+96 ObR+qOETEaGe2eiiDap+GBj3paobDz3vlLUcKCtaB0Ydtrb6NPuX69kyRUxo/ZarF672 S7N4swE7uNUtMIYWkb6ZMPh6QVueTf2GG4Q1GKHAKU9ACxeHSwrYIqXvshzqtJ6znQf0 HYNV3PDVW9ZTaAJkmkJHJ2eH1vfXTe0Fujn7NDAE9nsT1HKKy1kRmATRjIQHqt0Kv9gA SGKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=eaqrxfZD; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m14-20020aa7c2ce000000b0051e0fc86b39si9573764edp.329.2023.07.14.10.48.36; Fri, 14 Jul 2023 10:49:01 -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=@google.com header.s=20221208 header.b=eaqrxfZD; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235964AbjGNR36 (ORCPT + 99 others); Fri, 14 Jul 2023 13:29:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbjGNR35 (ORCPT ); Fri, 14 Jul 2023 13:29:57 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87A842691 for ; Fri, 14 Jul 2023 10:29:56 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fc075d9994so6655e9.0 for ; Fri, 14 Jul 2023 10:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689355795; x=1691947795; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u6Ug2JjEvafULqpnxSJIRgizCvEmKYgRSPlSpkcAlBY=; b=eaqrxfZDQWxGoJGV8E1z6HlrIovZfrC65knnEx9LIgcqiA318jtZ84gBxdlDScWKaH 0Guw23Un5fed370sxdknBlmvr4Ul36WLu71G6dpNtFhupCIcLQuWFgi38n5xIjkUkjxj kNUDoH/O6Nz/fALpw1jdCZ7aLE/0Ugr4bjvWXMFATLc8o2lGcZuAkTQg2+L87/dXTmTH JMViCYTb5K2KXGcaIFz7sgJN+z5zaOktGhDN//tbdQSbkXLPqMzUF4+mt3w55rJeX9xK XaDusJy7NHLHFoTCMaQf33PX0yjd4/LCRoENxkMCLQnlSQ2S/PbwsC9TXw90kQSB1hRS lo6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689355795; x=1691947795; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u6Ug2JjEvafULqpnxSJIRgizCvEmKYgRSPlSpkcAlBY=; b=Mw+zbxEiCXsfYkm0UrxzDJ3fGltUDDmejEv81UlV19xPBEFTI16FzrAftqFVzni725 psr8q0dpfUFzNxmuHVVRz2Lqgd0cxv8bDmc9WmwLPNJuaxln/dArmxtwbX0A8GWpuBRV WFnZ6JexZ30XECUMJTWPPgEJVSNm9AVYLMDS4a/3SdcbTwTmDePWUbN9fjymvgpwOpz/ a35i0H1DS5RE9K2M2u1jy0xUilljO3clgI7PILDhXxhHVweqObpXb1APkkFcJ3ht1ZON xRM5Ndn2rnT9x7EgHgF2q/VFRgUZxMta8niOYfuIMFZrwDEZGWDRtyDabuP1PfiprZNT g3zQ== X-Gm-Message-State: ABy/qLbRYgQAhgRkhrHpyTefghcwsLef60n9VDX+8bRdyUFMIfBt1wSB 5u2hTfXVnRv9h4/OYjfx6Zt5m7WoZujST7OaEWpd3A== X-Received: by 2002:a7b:c446:0:b0:3fb:c838:c681 with SMTP id l6-20020a7bc446000000b003fbc838c681mr372218wmi.4.1689355794814; Fri, 14 Jul 2023 10:29:54 -0700 (PDT) MIME-Version: 1.0 References: <20230321070141.2434-1-hdanton@sina.com> <000000000000f91f1405f7640e06@google.com> In-Reply-To: <000000000000f91f1405f7640e06@google.com> From: Aleksandr Nogikh Date: Fri, 14 Jul 2023 19:29:42 +0200 Message-ID: Subject: Re: [syzbot] [fat?] possible deadlock in exc_page_fault To: syzbot Cc: hdanton@sina.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: multipart/mixed; boundary="0000000000000d4d7b060075cc28" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 --0000000000000d4d7b060075cc28 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable #syz test: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.g= it master Patch from https://lore.kernel.org/lkml/20230714084354.1959951-1-sj1557.seo= @samsung.com/T/#u is attached. On Tue, Mar 21, 2023 at 8:33=E2=80=AFAM syzbot wrote: > > Hello, > > syzbot has tested the proposed patch and the reproducer did not trigger a= ny issue: > > Reported-and-tested-by: syzbot+6d274a5dc4fa0974d4ad@syzkaller.appspotmail= .com > > Tested on: > > commit: e8d018dd Linux 6.3-rc3 > git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/= linux.git > console output: https://syzkaller.appspot.com/x/log.txt?x=3D10a0f66ec8000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Dd40f6d44826f6= cf7 > dashboard link: https://syzkaller.appspot.com/bug?extid=3D6d274a5dc4fa097= 4d4ad > compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Deb= ian) 2.35.2 > patch: https://syzkaller.appspot.com/x/patch.diff?x=3D162abfaac8= 0000 > > Note: testing is done by a robot and is best-effort only. > > -- > You received this message because you are subscribed to the Google Groups= "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/syzkaller-bugs/000000000000f91f1405f7640e06%40google.com. --0000000000000d4d7b060075cc28 Content-Type: application/octet-stream; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lk2usvm90 ZGlmZiAtLWdpdCBhL2ZzL2V4ZmF0L2Rpci5jIGIvZnMvZXhmYXQvZGlyLmMKaW5kZXggOTU3NTc0 MTgwYTVlLi40ZTM3NDMzNDFjZTcgMTAwNjQ0Ci0tLSBhL2ZzL2V4ZmF0L2Rpci5jCisrKyBiL2Zz L2V4ZmF0L2Rpci5jCkBAIC0yMTQsNyArMjE0LDEwIEBAIHN0YXRpYyB2b2lkIGV4ZmF0X2ZyZWVf bmFtZWJ1ZihzdHJ1Y3QgZXhmYXRfZGVudHJ5X25hbWVidWYgKm5iKQogCWV4ZmF0X2luaXRfbmFt ZWJ1ZihuYik7CiB9CiAKLS8qIHNraXAgaXRlcmF0aW5nI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