Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2770699pxb; Mon, 1 Nov 2021 01:13:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwO+iH22nLEKDs9pIHVc5HBqlqOVAcS4qSCMuuykAPRVFw/2t0eyoCrIpN9isDY/7srEnP4 X-Received: by 2002:a92:c051:: with SMTP id o17mr18982785ilf.276.1635754391459; Mon, 01 Nov 2021 01:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635754391; cv=none; d=google.com; s=arc-20160816; b=Zb+elglerCtpT84vEVQVMLVg0hW4PYWKRcNHTTUJfdd8+jx19xklnoSzwrPamusRuy SvX34AZ/3K3uZWjtrYOYn/CUvRO9oBWRzueUSL+3INxtQsOAzDcRQ1Z1iwx03I0zvnMY +jQhak/Mv0BIW+UR5Tj7rrZxxB1XksgJpegqsjr8DMITIVOk3WUJIeyXmNT+ST7Z9fLX wq0vPZdUQa8Nz18m3xvvB7wSkXxfKISf6MIzjel4N1MVPQsHCsY5eOvHzNcBRIsy3DQO QM0Ryoky4a30Fx4lYQgPN4D8AQzFngIWmqT1u+k3leZKzxTMsGzHE5zSmXEmDB/PYpdb +Xvw== 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=Yb6wWrUbG7viwzKLb+1mNEqFRnMxKsiQ/RoGbQMQPPI=; b=k3wRFWJZ7+sfcRrg/NGCOrJa4QZeJTKyu9nsKmJpAXTfjJVI4pMzdzFQce+JsFFRWP 9vOWPpfnAuSB/tohGQGjaIKhK2kqzTLKSdRUF3T54Ch9Hm0/e8C/1RM68bM5tjbhJJqr eoiMEp3m6q1rwxfUlFB0/ffExsBgqjUEYJkg/v8FGgNaLsJ8GvLo0NhqX3VAgwzaI+PM 1Um1IuZFzJqzaOGjj+qwjtHocqgWyN9Lih5rqzGTTU8+o6ZuucW0gt3GyF2ZJRNf0c0G eWTMH9OY8R499yywOfTt0G2Lak+lQ7Uq+D0t2gZZW2936kA5clGsq0Ckfp23BjAliZL1 hcQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Hq1x1YFp; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si24498747ilv.71.2021.11.01.01.12.59; Mon, 01 Nov 2021 01:13:11 -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=@gmail.com header.s=20210112 header.b=Hq1x1YFp; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231817AbhKAIO0 (ORCPT + 99 others); Mon, 1 Nov 2021 04:14:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231841AbhKAIOT (ORCPT ); Mon, 1 Nov 2021 04:14:19 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C5DEC061203; Mon, 1 Nov 2021 01:11:46 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id g10so61396807edj.1; Mon, 01 Nov 2021 01:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Yb6wWrUbG7viwzKLb+1mNEqFRnMxKsiQ/RoGbQMQPPI=; b=Hq1x1YFpGyGQ2qsQwEZSRbX0ksnJwrTlqtAZcHnn1WlTd32QEqTUbbVAHLPPyY7Fhp /9QJDDovb7J5tyqpJC8iWD155fi7hThKAVDza+/Ky7TR3g/RlygG2toNMowubwmbW6TX kRuxF750VZsT2y3PbEJlkmGtbWMY5JOowZaXIb9MKjpN0D9PPDCgwcLiE1ev7zUiKMuS azkpLpbrvZe8mk+eBMD0d+HGCesTTqJVcn7xlld83YcFK+nT2O1yXDHScY0rbF4GiKgm TpriSTwLu69Pa5dT074fOkYgiE2aGtGYqs8TEsO9lvktAH1tePN0uh0JrS4uO4HW0rtz NFqw== 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=Yb6wWrUbG7viwzKLb+1mNEqFRnMxKsiQ/RoGbQMQPPI=; b=lOAQCvL+7sqJc90QwDhcEKLlvNP/fv1ge8FCN7C5j8/P08WShdVqzPhUbEmOL9NYyc 3dhtV6BC8dvdfVwB8pOSSZFRn7Sd3rGJ/YH3RPFhw7cJ/Xf1hmHD6PCKfnuwQNdJ3vew jj6nIGe2VpMJtcN2H4iJTXItaEfcpF9HZIYEAxPeC2qhVT7yCH35U2onL2Hov1raBpCD ZhPB4mqzxrDfMEK5YR+It5EYpr+dNDv63QDmC8p2e4lG/fk6D7OieIGQJ8aBscvYU3Xq FN1CnXLJGA+MuALONayTu7tKzoYsd3v1SjqM5FpQV5Ij+rDX94KanyNxfWkaoOMu0uTg QVlQ== X-Gm-Message-State: AOAM533nSUYLksVlsXA4DG1zgiNry2STEO+DaBkUMyVP+UuiuYz4JsZ9 rAH49a1KLVEmCSCSjaZKHKnDu/shlNK/m91Nt10= X-Received: by 2002:a17:906:6dd2:: with SMTP id j18mr34607249ejt.468.1635754304577; Mon, 01 Nov 2021 01:11:44 -0700 (PDT) MIME-Version: 1.0 References: <20211101040103.388646-1-mudongliangabcd@gmail.com> <3170956.dbteMgFBTL@ripper> In-Reply-To: <3170956.dbteMgFBTL@ripper> From: Dongliang Mu Date: Mon, 1 Nov 2021 16:11:18 +0800 Message-ID: Subject: Re: [PATCH] net: batman-adv: fix warning in batadv_v_ogm_free To: Sven Eckelmann Cc: Marek Lindner , Simon Wunderlich , Antonio Quartulli , "David S. Miller" , Jakub Kicinski , Antonio Quartulli , b.a.t.m.a.n@lists.open-mesh.org, "open list:NETWORKING [GENERAL]" , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 1, 2021 at 3:46 PM Sven Eckelmann wrote: > > On Monday, 1 November 2021 05:01:02 CET Dongliang Mu wrote: > > Call Trace: > > __cancel_work_timer+0x1c9/0x280 kernel/workqueue.c:3170 > > batadv_v_ogm_free+0x1d/0x50 net/batman-adv/bat_v_ogm.c:1076 > > batadv_mesh_free+0x35/0xa0 net/batman-adv/main.c:244 > > batadv_mesh_init+0x22a/0x240 net/batman-adv/main.c:226 > > batadv_softif_init_late+0x1ad/0x240 net/batman-adv/soft-interface.c:804 > > register_netdevice+0x15d/0x810 net/core/dev.c:10229 > > This is definitely not a backtrace of the current code and its error handling. > Please check the current code [1] and explain the situation against this > version. Yes, you're right. The error handling code in the upstream is not prone to this bug. My local syzkaller instance is fuzzing on 5.14-rc5 > > Kind regards, > Sven > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/net/batman-adv/main.c?id=ae0393500e3b0139210749d52d22b29002c20e16#n237