Commit 53601bf
Bluetooth: iso: Always release hdev at the end of iso_listen_bis
BugLink: https://bugs.launchpad.net/bugs/2102181
[ Upstream commit 9c76fff ]
Since hci_get_route holds the device before returning, the hdev
should be released with hci_dev_put at the end of iso_listen_bis
even if the function returns with an error.
Fixes: 02171da ("Bluetooth: ISO: Add hcon for listening bis sk")
Signed-off-by: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
CVE-2024-57879
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Signed-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>1 parent 762e226 commit 53601bf
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1158 | 1158 | | |
1159 | 1159 | | |
1160 | 1160 | | |
1161 | | - | |
1162 | | - | |
1163 | 1161 | | |
1164 | 1162 | | |
| 1163 | + | |
1165 | 1164 | | |
1166 | 1165 | | |
1167 | 1166 | | |
| |||
0 commit comments