From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E149C46467 for ; Wed, 4 Jan 2023 12:25:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233951AbjADMZQ (ORCPT ); Wed, 4 Jan 2023 07:25:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230200AbjADMZP (ORCPT ); Wed, 4 Jan 2023 07:25:15 -0500 Received: from mail.toke.dk (mail.toke.dk [45.145.95.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 229F227A; Wed, 4 Jan 2023 04:25:15 -0800 (PST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1672835113; bh=/+pRFYBFedAsDHtqPmYRk6+gARXS3x0OS30HV0pfR2o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=PO6juiQSEWQ1PvLyaLt0qEeuSEh5AXrX2wGV4plGsdqSOw3RdtozBvvggYtXUZbvW WmTVS+NiKhPUGlQEpoRy/557epfU56AU/H7QxUAisd8q0vFoIl/ssTuVIERPvmMPOJ QEju92uqpzntj2r/qKU8feDGrDdi+kkw+PLWJPR/yBCDl+PWDGUjAmNXx0EiEd+ydr 3EeRJzZeJmVtzSawzBjEtnQ78nfOmEslEUfW2AtON1Y4zZeKKLK3IgH4KAKAkfPXSM zzADMXSg7XiiROdIi9T14UfHfJl/H7Z2kx2xCtBY7gbcej5sT17mqvMkOsPIlQkJAF IMwMXnTfUnpiA== To: Fedor Pchelkin , Kalle Valo Cc: Fedor Pchelkin , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sujith , "John W. Linville" , Vasanthakumar Thiagarajan , Senthil Balasubramanian , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Khoroshilov , lvc-project@linuxtesting.org, syzbot+e008dccab31bd3647609@syzkaller.appspotmail.com, syzbot+6692c72009680f7c4eb2@syzkaller.appspotmail.com Subject: Re: [PATCH v3] wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function In-Reply-To: <20230104121558.38969-1-pchelkin@ispras.ru> References: <20230104121558.38969-1-pchelkin@ispras.ru> Date: Wed, 04 Jan 2023 13:25:13 +0100 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87edsa32s6.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fedor Pchelkin writes: > It is stated that ath9k_htc_rx_msg() either frees the provided skb or > passes its management to another callback function. However, the skb is > not freed in case there is no another callback function, and Syzkaller was > able to cause a memory leak. Also minor comment fix. The comment fix seems to be missing from this version? So either it should be reinstated, or the commit message updated to not mention it... -Toke