[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 2 Mar 2021 13:43:17 +0100
From: Stefan Schmidt <stefan@...enfreihafen.org>
To: Alexander Aring <alex.aring@...il.com>,
Alexander Aring <aahringo@...hat.com>
Cc: linux-wpan - ML <linux-wpan@...r.kernel.org>,
"open list:NETWORKING [GENERAL]" <netdev@...r.kernel.org>
Subject: Re: [PATCH wpan 02/17] net: ieee802154: fix memory leak when deliver
monitor skbs
Hello Alex.
On 01.03.21 04:16, Alexander Aring wrote:
> Hi Stefan,
>
> On Sun, 28 Feb 2021 at 10:21, Alexander Aring <aahringo@...hat.com> wrote:
>>
>> This patch adds a missing consume_skb() when deliver a skb to upper
>> monitor interfaces of a wpan phy.
>>
>> Reported-by: syzbot+44b651863a17760a893b@...kaller.appspotmail.com
>> Signed-off-by: Alexander Aring <aahringo@...hat.com>
>> ---
>> net/mac802154/rx.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
>> index b8ce84618a55..18abc1f49323 100644
>> --- a/net/mac802154/rx.c
>> +++ b/net/mac802154/rx.c
>> @@ -244,6 +244,8 @@ ieee802154_monitors_rx(struct ieee802154_local *local, struct sk_buff *skb)
>> sdata->dev->stats.rx_bytes += skb->len;
>> }
>> }
>> +
>> + consume_skb(skb);
>
> Please drop this patch. It's not correct. I will look next weekend at
> this one again.
> The other patches should be fine, I hope.
Thanks for the heads up. I dropped this patch and will take a look at
the rest of the series today or tomorrow.
regards
Stefan Schmidt
Powered by blists - more mailing lists