diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2024-04-02 14:32:05 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-04-10 15:03:44 -0400 |
commit | 45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810 (patch) | |
tree | 05f83c933c97c31e653e915c881686003215b771 /net/unix/af_unix.c | |
parent | 53cb4197e63ab2363aa28c3029061e4d516e7626 (diff) | |
download | linux-45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810.tar.gz linux-45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810.tar.bz2 linux-45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810.zip |
Bluetooth: Fix memory leak in hci_req_sync_complete()
In 'hci_req_sync_complete()', always free the previous sync
request state before assigning reference to a new one.
Reported-by: syzbot+39ec16ff6cc18b1d066d@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=39ec16ff6cc18b1d066d
Cc: stable@vger.kernel.org
Fixes: f60cb30579d3 ("Bluetooth: Convert hci_req_sync family of function to new request API")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions