[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <15999FE1-5227-4D55-8E3C-39142725FDA5@holtmann.org>
Date: Fri, 11 Sep 2020 09:01:59 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Peilin Ye <yepeilin.cs@...il.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
Miao-chen Chou <mcchou@...omium.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-bluetooth <linux-bluetooth@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
linux-kernel-mentees@...ts.linuxfoundation.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [Linux-kernel-mentees] [PATCH v2] Bluetooth: Fix memory leak in
read_adv_mon_features()
Hi Peilin,
> read_adv_mon_features() is leaking memory. Free `rp` before returning.
>
> Fixes: e5e1e7fd470c ("Bluetooth: Add handler of MGMT_OP_READ_ADV_MONITOR_FEATURES")
> Reported-and-tested-by: syzbot+f7f6e564f4202d8601c6@...kaller.appspotmail.com
> Link: https://syzkaller.appspot.com/bug?extid=f7f6e564f4202d8601c6
> Signed-off-by: Peilin Ye <yepeilin.cs@...il.com>
> ---
> I forgot the "Link:" tag yesterday. Sorry about that.
>
> Change in v2:
> - add a proper "Link:" tag.
>
> net/bluetooth/mgmt.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists