Repository navigation
Commit cc49ab2
Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
[ Upstream commit de895b4 ]
The use of l2cap_chan_del is not safe under a loop using
list_for_each_entry.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 79a3130 commit cc49ab2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6055 | 6055 | | |
6056 | 6056 | | |
6057 | 6057 | | |
6058 | | - | |
| 6058 | + | |
6059 | 6059 | | |
6060 | 6060 | | |
6061 | 6061 | | |
| |||
6074 | 6074 | | |
6075 | 6075 | | |
6076 | 6076 | | |
6077 | | - | |
| 6077 | + | |
6078 | 6078 | | |
6079 | 6079 | | |
6080 | 6080 | | |
| |||
0 commit comments