Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp138184imn; Tue, 2 Aug 2022 21:13:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR4lRWGF92BnT+/A2w64Kp1BrEQdmtGgqiELOJcSph+3cs0QNZQOOe+grmnYESTAAxM8CSlJ X-Received: by 2002:a05:6402:f17:b0:43e:4700:f63e with SMTP id i23-20020a0564020f1700b0043e4700f63emr651289eda.190.1659500011221; Tue, 02 Aug 2022 21:13:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659500011; cv=pass; d=google.com; s=arc-20160816; b=fWiflHiwp84LP3vLofgPgkit2nfHGNBizlL9bcKd7A4whKkxaPa9NxorV5t3LpXtEj YztuRkvtSCZqgNYNvg0NpXF2+mnAZ9Ox6YCGcvgOuWiXkKWJtEQ904nIDSUOXuf0mKrL ifggXRVuC/LVeAeQ8bF9tKOx/mOX8uCUY2FmiR/OqcFnOEFqWkQPCTntpghB48Ny9YxR 99Yfyr7W9N1PHtKov9o+CDqmmbZukkEpggsxsuRy2vI03YGsTFhndzQNrIq6Zmq80OvZ Pm6UihJd7rPwM+QSYDYkL4Rt0a7/RatE5Ro/TAGi6HJHoqe4HOBxzWoXcZIDOBQGtnTH cfrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=T9lJ7JKs3VnUQqeKqNXZ8T3X73Himj0XV/S1wfqdT/c=; b=U5chOv+mHLYpZ9pZmtW0SrZT6r3v9oIShBLBZBEyBQofryz/7yqLODSI8mqyd4Hytx SgUs4lJQ2zvAeDEalDSunFJsQoBetBgXR7x4l7j1KLW2CJAb85y9PPnKF3IsSnS7sbTf mEqRbNtsVNt0ELvyLv8T744ZQ002zA0MSBjJwTqGXOcYHM6R7TBWpJq4Z1+gtrqQ4w+h AFwRMivH7BpSwWukjzUEInLNz6RDjNNJonCaPBURjLHEg7fH7S0UtYED6cikle3/nBjl rgsp2NVKMcsSOHj0G+iF1UD6D+4oNDLM2njsCo8e4BfyBzanMuY/ISb9cfx6HuRYYPuP PYKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=td+f+UDv; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); 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=siddh.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a17090695cb00b0072397249ecbsi4230624ejy.928.2022.08.02.21.12.45; Tue, 02 Aug 2022 21:13:31 -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=@siddh.me header.s=zmail header.b=td+f+UDv; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); 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=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbiHCEEw (ORCPT + 99 others); Wed, 3 Aug 2022 00:04:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiHCEEu (ORCPT ); Wed, 3 Aug 2022 00:04:50 -0400 Received: from sender-of-o51.zoho.in (sender-of-o51.zoho.in [103.117.158.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C101A51A1A for ; Tue, 2 Aug 2022 21:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659499461; cv=none; d=zohomail.in; s=zohoarc; b=ZQ8uHKFD78VJDGV93MK75H2bg8okI5afJMf3xZ2btBiHc4tv4FDZSXB3PAmRQPVL4DHU6yp7bXBcoVW5wTYmKeK6KRIGP6vAV8fjqub2gwcBJzkftxvoR8DMJN8RvmfE8dobihsLHMusR64FPfYwpAUmIYdaMtB8RsiHrCWWZaQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1659499461; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=T9lJ7JKs3VnUQqeKqNXZ8T3X73Himj0XV/S1wfqdT/c=; b=EPNVCmS+18GA5FYwQAsSAbPulrZqlv9pYoW+fy13tezSV2oNDfwbKK3jLzFXGGvE+V9oqPv4EPh/sLXCDVVZjW5AhHFCshPek7RDP2QMdRQYjE6xAPuSRp5Qoc8bkn35Gfeq9kNiWsOBrqHh7OjfYkskzIWgDUDvSFO2s3rU2vE= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=siddh.me; spf=pass smtp.mailfrom=code@siddh.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659499461; s=zmail; d=siddh.me; i=code@siddh.me; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=T9lJ7JKs3VnUQqeKqNXZ8T3X73Himj0XV/S1wfqdT/c=; b=td+f+UDvf+629k7FEeQtTKw7ge8hWldLu7MiwX2IUI2cZcfIXVkfkPUex4wHYI81 sQougPO6A/5Scfls49SfN7uOz+1yE6P5aAiZ5S4H6Z2nK9CYK9WWs2X1PyvXMv4JvLn o1cclfKwvL4vC5QGtTf0lJVryZLuNlswe7FZ1nB0= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1659499450495407.43897795096336; Wed, 3 Aug 2022 09:34:10 +0530 (IST) Date: Wed, 03 Aug 2022 09:34:10 +0530 From: Siddh Raman Pant To: "Eric Biggers" Cc: "syzbot" , "hdanton" , "linux-kernel" , "syzkaller-bugs" Message-ID: <18261e01068.4a2910f2403165.1226720997594524412@siddh.me> In-Reply-To: References: <20220801103533.972-1-hdanton@sina.com> <000000000000c7a83905e52bd127@google.com> Subject: Re: [syzbot] KASAN: use-after-free Read in post_one_notification MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_RED 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 Wed, 03 Aug 2022 03:57:19 +0530 Eric Biggers wrote: > It appears this was already fixed, so no need for any more activity on this bug: > > #syz fix: watchqueue: make sure to serialize 'wqueue->defunct' properly > > - Eric It doesn't address the dangling pointer remaining in the watch_queue, which was the root cause of this crash. The use-after-free happened because the pipe was freed but a dangling pointer of it remained in a watch_queue, and an attempt to dereference it was there. Thanks, Siddh