diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2022-08-17 13:14:36 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-26 01:26:17 +0200 |
commit | 3cfbc6ac22d62d0a06be9ce2996ba9fed75436cd (patch) | |
tree | 97aa82b2dcc978a1149408d16cc5ef95c9077429 /net/bluetooth/iso.c | |
parent | Bluetooth: MGMT: Fix Get Device Flags (diff) | |
download | linux-3cfbc6ac22d62d0a06be9ce2996ba9fed75436cd.tar.xz linux-3cfbc6ac22d62d0a06be9ce2996ba9fed75436cd.zip |
Bluetooth: hci_sync: fix double mgmt_pending_free() in remove_adv_monitor()
syzbot is reporting double kfree() at remove_adv_monitor() [1], for
commit 7cf5c2978f23fdbb ("Bluetooth: hci_sync: Refactor remove Adv
Monitor") forgot to remove duplicated mgmt_pending_remove() when
merging "if (err) {" path and "if (!pending) {" path.
Link: https://syzkaller.appspot.com/bug?extid=915a8416bf15895b8e07 [1]
Reported-by: syzbot <syzbot+915a8416bf15895b8e07@syzkaller.appspotmail.com>
Fixes: 7cf5c2978f23fdbb ("Bluetooth: hci_sync: Refactor remove Adv Monitor")
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/iso.c')
0 files changed, 0 insertions, 0 deletions