bluetooth: fix NULL-pointer dereferences
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bluetooth: hci_ldisc: fix NULL-pointer dereference on tty_closedrivers/ | +1 | 12 replies | |
| 2/2 | bluetooth: hci_core: fix NULL-pointer dereference at unregisterinclude/ net/ | +8 | 6 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | David Herrmann |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] bluetooth: fix NULL-pointer dereferences
Hi,
These patches fixes two races in hci_ldisc and hci_core which can lead to NULL-pointer dereferences.
The first one is 100% reproducible on 3.2 as well as 3.3-rc6 and needs to be backported to all stable kernels as the offending code has been around for quite some time.
The second one is 100% reproducible on 3.3-rc6 but I haven't seen it on 3.2 or earlier, but as far as I can see it could be possibly to trigger it at least on 3.0 and later.
Thanks,
Johan
Johan Hovold (2):
bluetooth: hci_ldisc: fix NULL-pointer dereference on tty_close
bluetooth: hci_core: fix NULL-pointer dereference at unregister
drivers/bluetooth/hci_ldisc.c | 2 +- include/net/bluetooth/hci.h | 1 + net/bluetooth/hci_core.c | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.8.4