<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/net/bluetooth, branch v5.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-01-26T08:34:17Z</updated>
<entry>
<title>Bluetooth: Fix race condition in hci_release_sock()</title>
<updated>2020-01-26T08:34:17Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2020-01-15T17:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=11eb85ec42dc8c7a7ec519b90ccf2eeae9409de8'/>
<id>urn:sha1:11eb85ec42dc8c7a7ec519b90ccf2eeae9409de8</id>
<content type='text'>
Syzbot managed to trigger a use after free "KASAN: use-after-free Write
in hci_sock_bind".  I have reviewed the code manually and one possibly
cause I have found is that we are not holding lock_sock(sk) when we do
the hci_dev_put(hdev) in hci_sock_release().  My theory is that the bind
and the release are racing against each other which results in this use
after free.

Reported-by: syzbot+eba992608adf3d796bcc@syzkaller.appspotmail.com
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Move {min,max}_key_size debugfs into hci_debugfs_create_le</title>
<updated>2020-01-25T14:33:52Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2020-01-25T08:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=18f81241b74fb49d576c83fbbab9a0b6e3bb20d4'/>
<id>urn:sha1:18f81241b74fb49d576c83fbbab9a0b6e3bb20d4</id>
<content type='text'>
The debugfs entries for {min,max}_key_size are created during SMP
registration and thus it might lead to multiple attempts to create the
same entries. Avoid this by moving them to the LE controller init
section.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Add missing checks for HCI_ISODATA_PKT packet type</title>
<updated>2020-01-25T14:33:46Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2020-01-25T08:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc974003615afa044fa62c7520ae690091fa684a'/>
<id>urn:sha1:cc974003615afa044fa62c7520ae690091fa684a</id>
<content type='text'>
The checks for HCI_ISODATA_PKT packet type are required in a few
additional locations to allow sending/receiving of this new packet type.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: fix appearance typo in mgmt.c</title>
<updated>2020-01-22T20:23:16Z</updated>
<author>
<name>Alain Michaud</name>
<email>alainm@chromium.org</email>
</author>
<published>2020-01-22T19:47:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6613babaf662cfbd283fcd0abdd758e338dd181d'/>
<id>urn:sha1:6613babaf662cfbd283fcd0abdd758e338dd181d</id>
<content type='text'>
This change addresses a typo in the set_appearance handler.

Signed-off-by: Alain Michaud &lt;alainm@chromium.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: adding missing const decoration to mgmt_status_table</title>
<updated>2020-01-22T16:37:25Z</updated>
<author>
<name>Alain Michaud</name>
<email>alainm@chromium.org</email>
</author>
<published>2020-01-22T16:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bdf2aca703e83eeecac2b492494687d5009a694e'/>
<id>urn:sha1:bdf2aca703e83eeecac2b492494687d5009a694e</id>
<content type='text'>
This change simply adds a missing const decoration to the
mtmt_status_table definition.

Signed-off-by: Alain Michaud &lt;alainm@chromium.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Increment management interface revision</title>
<updated>2020-01-16T07:40:47Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2020-01-15T20:35:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=117717e57440d2b5e07da40c621aa4f0ba423b80'/>
<id>urn:sha1:117717e57440d2b5e07da40c621aa4f0ba423b80</id>
<content type='text'>
Increment the mgmt revision due to the recently added commands.

Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Signed-off-by: Johan Hedberg &lt;johan.hedberg@intel.com&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Make use of __check_timeout on hci_sched_le</title>
<updated>2020-01-15T21:28:51Z</updated>
<author>
<name>Luiz Augusto von Dentz</name>
<email>luiz.von.dentz@intel.com</email>
</author>
<published>2020-01-15T21:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1b1d29e5149990e44634b2e681de71effd463591'/>
<id>urn:sha1:1b1d29e5149990e44634b2e681de71effd463591</id>
<content type='text'>
This reuse __check_timeout on hci_sched_le following the same logic
used hci_sched_acl.

Signed-off-by: Luiz Augusto von Dentz &lt;luiz.von.dentz@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: monitor: Add support for ISO packets</title>
<updated>2020-01-15T21:28:51Z</updated>
<author>
<name>Luiz Augusto von Dentz</name>
<email>luiz.von.dentz@intel.com</email>
</author>
<published>2020-01-15T21:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9a619db7c137b7c2dec0414d8deb8ec762ae8f9'/>
<id>urn:sha1:f9a619db7c137b7c2dec0414d8deb8ec762ae8f9</id>
<content type='text'>
This enables passing ISO packets to the monitor socket.

Signed-off-by: Luiz Augusto von Dentz &lt;luiz.von.dentz@intel.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: Implementation of MGMT_OP_SET_BLOCKED_KEYS.</title>
<updated>2020-01-15T21:28:41Z</updated>
<author>
<name>Alain Michaud</name>
<email>alainm@chromium.org</email>
</author>
<published>2020-01-07T00:43:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=600a87490ff9823d065fc15e86c709e707033ecc'/>
<id>urn:sha1:600a87490ff9823d065fc15e86c709e707033ecc</id>
<content type='text'>
MGMT command is added to receive the list of blocked keys from
user-space.

The list is used to:
1) Block keys from being distributed by the device during
   the ke distribution phase of SMP.
2) Filter out any keys that were previously saved so
   they are no longer used.

Signed-off-by: Alain Michaud &lt;alainm@chromium.org&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
<entry>
<title>Bluetooth: remove redundant assignment to variable icid</title>
<updated>2020-01-08T20:44:22Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2020-01-07T18:00:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=788d10c02f7ed1c971445da5e2addfc70f620311'/>
<id>urn:sha1:788d10c02f7ed1c971445da5e2addfc70f620311</id>
<content type='text'>
Variable icid is being rc is assigned with a value that is never
read. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Reviewed-by: Simon Horman &lt;simon.horman@netronome.com&gt;
Signed-off-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
</content>
</entry>
</feed>
