Mathias Krause
9ad2de43f1
Bluetooth: RFCOMM - Fix info leak in getsockopt(BT_SECURITY)
...
The RFCOMM code fails to initialize the key_size member of struct
bt_security before copying it to userland -- that for leaking one
byte kernel stack. Initialize key_size with 0 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
..
2012-07-10 23:13:45 -07:00
2012-05-15 20:23:16 -04:00
2012-08-14 14:33:32 -07:00
2012-07-10 23:13:45 -07:00
2012-08-15 21:36:30 -07:00
2012-07-19 11:17:30 -07:00
2012-08-08 16:04:04 -07:00
2012-08-15 21:36:30 -07:00
2012-08-15 15:09:41 -07:00
2012-07-31 18:42:47 -07:00
2012-07-10 22:36:17 +02:00
2012-08-02 09:19:20 -07:00
2012-08-14 14:33:33 -07:00
2012-07-10 23:13:45 -07:00
2012-07-23 16:36:26 -07:00
2012-07-31 14:41:38 -07:00
2012-05-21 20:27:36 -07:00
2012-05-09 20:49:19 -04:00
2012-07-19 10:48:00 -07:00
2012-07-16 22:52:02 -07:00
2012-08-14 14:45:07 -07:00
2012-08-14 17:02:12 -07:00
2012-07-19 10:48:00 -07:00
2012-07-16 23:23:52 -07:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-06-29 00:52:32 -07:00
2012-05-17 18:45:20 -04:00
2012-08-14 16:52:02 -07:00
2012-08-02 13:49:38 -04:00
2012-07-12 07:54:45 -07:00
2012-07-19 11:17:30 -07:00
2012-03-22 19:29:57 -04:00
2012-07-24 00:01:30 -07:00
2012-04-20 21:22:30 -04:00
2012-07-20 12:30:48 -04:00
2012-07-27 13:45:51 -07:00
2012-08-12 13:42:17 -07:00
2012-06-17 16:29:38 -07:00
2012-07-23 01:01:44 -07:00
2012-06-06 15:18:17 -04:00
2012-04-20 21:22:30 -04:00
2012-07-10 23:56:33 -07:00
2012-08-08 16:02:05 -07:00
2012-07-31 18:42:47 -07:00
2012-07-31 19:25:39 -07:00
2012-07-13 19:34:43 -04:00
2012-08-01 10:26:23 -07:00
2012-07-24 13:55:21 -07:00
2012-04-15 12:44:40 -04:00
2012-08-06 14:29:58 -04:00
2012-07-10 23:13:45 -07:00
2012-08-02 00:19:17 -07:00
2012-07-22 17:50:49 -07:00
2012-05-21 12:50:12 -07:00
2012-05-18 01:35:08 -04:00
2010-10-15 15:53:27 +02:00
2012-07-22 12:44:01 -07:00
2012-05-15 20:14:35 -04:00