linux_dsm_epyc7002/net/bluetooth
Mathias Krause e15ca9a0ef Bluetooth: HCI - Fix info leak in getsockopt(HCI_FILTER)
The HCI code fails to initialize the two padding bytes of struct
hci_ufilter before copying it to userland -- that for leaking two
bytes kernel stack. Add an explicit memset(0) before filling the
structure to avoid the info leak.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-15 21:36:30 -07:00
..
bnep
cmtp
hidp
rfcomm
a2mp.c Bluetooth: debug: Print amp_mgr refcnt 2012-07-11 10:09:37 -03:00
af_bluetooth.c
hci_conn.c
hci_core.c
hci_event.c Bluetooth: Set name_state to unknown when entry name is empty 2012-08-06 15:19:36 -03:00
hci_sock.c Bluetooth: HCI - Fix info leak in getsockopt(HCI_FILTER) 2012-08-15 21:36:30 -07:00
hci_sysfs.c
Kconfig
l2cap_core.c Bluetooth: Fix legacy pairing with some devices 2012-08-06 15:19:36 -03:00
l2cap_sock.c Bluetooth: Fix socket not getting freed if l2cap channel create fails 2012-08-06 15:19:37 -03:00
lib.c
Makefile
mgmt.c Bluetooth: Change page scan interval in fast connectable mode 2012-07-16 10:50:11 -03:00
sco.c Bluetooth: Fix possible deadlock in SCO code 2012-08-06 15:19:36 -03:00
smp.c Bluetooth: smp: Fix possible NULL dereference 2012-08-06 15:19:37 -03:00