<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_system_bt, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/'/>
<entry>
<title>resolve merge conflicts of ec78d74706c3e81f91eee53e3d9f959f66e5d77f to pi-dev</title>
<updated>2019-07-07T12:49:22+00:00</updated>
<author>
<name>Hansong Zhang</name>
<email>hsz@google.com</email>
</author>
<published>2019-02-02T01:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=ad7555c9d783be7e360de0edf114f3da8da70b5f'/>
<id>ad7555c9d783be7e360de0edf114f3da8da70b5f</id>
<content type='text'>
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id658b3485fdc0025bc44850be9f23bb2d2146d9b
(cherry picked from commit 6c0f22f324ed0bdf9dea3e803e5ee6176d03fdb4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Id658b3485fdc0025bc44850be9f23bb2d2146d9b
(cherry picked from commit 6c0f22f324ed0bdf9dea3e803e5ee6176d03fdb4)
</pre>
</div>
</content>
</entry>
<entry>
<title>btm_proc_smp_cback: Don't access p_dev_rec if freed</title>
<updated>2019-07-07T12:40:23+00:00</updated>
<author>
<name>Hansong Zhang</name>
<email>hsz@google.com</email>
</author>
<published>2019-01-10T02:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=3d34ee18a6b5e16ddf77157103a1c3cc5a777d3b'/>
<id>3d34ee18a6b5e16ddf77157103a1c3cc5a777d3b</id>
<content type='text'>
In btm_proc_smp_cback(), return after p_dev_rec is freed in the middle
to prevent use after free

Bug: 120612744
Test: Use ASAN build; connect to a LE device and wait for timeout
Change-Id: Ic9d0eaeb62a1a1b24884146ca82f4104fabc5bac
(cherry picked from commit 953dd279502980b1d8d30656eb78c6445a6e31f7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In btm_proc_smp_cback(), return after p_dev_rec is freed in the middle
to prevent use after free

Bug: 120612744
Test: Use ASAN build; connect to a LE device and wait for timeout
Change-Id: Ic9d0eaeb62a1a1b24884146ca82f4104fabc5bac
(cherry picked from commit 953dd279502980b1d8d30656eb78c6445a6e31f7)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential usage of freed memory in btif_hl_proc_sdp_query_cfm</title>
<updated>2019-03-23T14:57:06+00:00</updated>
<author>
<name>Jakub Pawlowski</name>
<email>jpawlowski@google.com</email>
</author>
<published>2018-11-20T21:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=1ce2f0f57ce8d450ff16c177f51304b3d3736319'/>
<id>1ce2f0f57ce8d450ff16c177f51304b3d3736319</id>
<content type='text'>
Bug: 116222069
Test: compilation
Change-Id: Iebe2c500dfc2806ca321fdcd170e20c680619d4d
(cherry picked from commit 889efd5b9165ed7641fcd75eabbbef56be2ef5df)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 116222069
Test: compilation
Change-Id: Iebe2c500dfc2806ca321fdcd170e20c680619d4d
(cherry picked from commit 889efd5b9165ed7641fcd75eabbbef56be2ef5df)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix buffer overflow in btif_dm_data_copy</title>
<updated>2019-03-23T14:50:54+00:00</updated>
<author>
<name>Jakub Pawlowski</name>
<email>jpawlowski@google.com</email>
</author>
<published>2018-11-27T17:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=4363f8407fb8dfe628b4e34eda4d1ed443461b0d'/>
<id>4363f8407fb8dfe628b4e34eda4d1ed443461b0d</id>
<content type='text'>
When we use a union, we should always define variables as the union type,
not as one of the field subtypes. If the latter is cast to the union type,
buffer overflow can happen.

Bug: 110166268
Test: compilation
Change-Id: I473c03b099ad5a326e7a3739f65efd33cf4775bd
Merged-In: I473c03b099ad5a326e7a3739f65efd33cf4775bd
(cherry picked from commit ea90417d9965aec1c475418ca8f8f305af12de2d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we use a union, we should always define variables as the union type,
not as one of the field subtypes. If the latter is cast to the union type,
buffer overflow can happen.

Bug: 110166268
Test: compilation
Change-Id: I473c03b099ad5a326e7a3739f65efd33cf4775bd
Merged-In: I473c03b099ad5a326e7a3739f65efd33cf4775bd
(cherry picked from commit ea90417d9965aec1c475418ca8f8f305af12de2d)
</pre>
</div>
</content>
</entry>
<entry>
<title>HFP: Check AT command buffer boundary during parsing</title>
<updated>2019-02-10T11:18:19+00:00</updated>
<author>
<name>Chienyuan</name>
<email>chienyuanhuang@google.com</email>
</author>
<published>2018-09-18T09:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=108912d72017f3273081c1106acd539bf8be7a6c'/>
<id>108912d72017f3273081c1106acd539bf8be7a6c</id>
<content type='text'>
* add p_end parameter to tBTA_AG_AT_CMD_CBACK, bta_ag_at_hsp_cback
  and bta_ag_at_hfp_cback to indicate effective data range of p_arg
* add checks for buffer copy overflow in bta_ag_at_hsp_cback and
  bta_ag_at_hfp_cback
* add packet legnth checks with p_end in bta_ag_parse_cmer
* add packet length checks with p_end in bta_ag_parse_bac

Bug: 112860487
Test: testplans/details/218593/3975
Change-Id: I6bbbc2ba29ad025c7d3ba023d8191af6a11c4aa9
(cherry picked from commit 28ddbe904bd15c9636063f5431a9360d8e9df8b9)
CVE-2018-9583
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add p_end parameter to tBTA_AG_AT_CMD_CBACK, bta_ag_at_hsp_cback
  and bta_ag_at_hfp_cback to indicate effective data range of p_arg
* add checks for buffer copy overflow in bta_ag_at_hsp_cback and
  bta_ag_at_hfp_cback
* add packet legnth checks with p_end in bta_ag_parse_cmer
* add packet length checks with p_end in bta_ag_parse_bac

Bug: 112860487
Test: testplans/details/218593/3975
Change-Id: I6bbbc2ba29ad025c7d3ba023d8191af6a11c4aa9
(cherry picked from commit 28ddbe904bd15c9636063f5431a9360d8e9df8b9)
CVE-2018-9583
</pre>
</div>
</content>
</entry>
<entry>
<title>SDP: Check p_end in save_attr_seq and add_attr</title>
<updated>2019-02-10T11:16:59+00:00</updated>
<author>
<name>Myles Watson</name>
<email>mylesgw@google.com</email>
</author>
<published>2018-10-25T00:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=4258d0b4170bc75d0658911aa805e032b9642ef1'/>
<id>4258d0b4170bc75d0658911aa805e032b9642ef1</id>
<content type='text'>
Bug: 115900043
Test: Sanity pairing and SDP PTS
Change-Id: Ib642f79ed22b65ede5ff786cb1e163d172480f11
(cherry picked from commit b8a5081b00fc9730092d8392786f3f4e659cb602)
CVE-2018-9590
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 115900043
Test: Sanity pairing and SDP PTS
Change-Id: Ib642f79ed22b65ede5ff786cb1e163d172480f11
(cherry picked from commit b8a5081b00fc9730092d8392786f3f4e659cb602)
CVE-2018-9590
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix possible OOB when AVDT data channel recive ACL data</title>
<updated>2019-02-10T11:16:09+00:00</updated>
<author>
<name>Ugo Yu</name>
<email>ugoyu@google.com</email>
</author>
<published>2018-10-29T17:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=07e8472579a29d17b630d1c43735245934ba51dd'/>
<id>07e8472579a29d17b630d1c43735245934ba51dd</id>
<content type='text'>
Bug: 111450156

Change-Id: Id23eeedcb7bde5866cd53a2f7f1c30f27c5352f6
(cherry picked from commit b0125caafec2183d73fc899ce5a8aee43a6e54af)
(cherry picked from commit ad4098c340b52acdb0f48fd3e2612d810e71f4c4)
CVE-2018-9588
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 111450156

Change-Id: Id23eeedcb7bde5866cd53a2f7f1c30f27c5352f6
(cherry picked from commit b0125caafec2183d73fc899ce5a8aee43a6e54af)
(cherry picked from commit ad4098c340b52acdb0f48fd3e2612d810e71f4c4)
CVE-2018-9588
</pre>
</div>
</content>
</entry>
<entry>
<title>MCAP: Check response length in mca_ccb_hdl_rsp</title>
<updated>2019-02-03T11:40:00+00:00</updated>
<author>
<name>Myles Watson</name>
<email>mylesgw@google.com</email>
</author>
<published>2018-10-25T22:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=409e6b9b92ed7104ce03ffb9842f1960461db6b7'/>
<id>409e6b9b92ed7104ce03ffb9842f1960461db6b7</id>
<content type='text'>
Bug: 116319076
Test: Send a short MCAP response
Change-Id: I0452f7d2c0f4ecccc7a6501773e26b403b116179
(cherry picked from commit 0ab53ca2af26f70126d6d9d6600d090a720758fa)
CVE-2018-9592
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 116319076
Test: Send a short MCAP response
Change-Id: I0452f7d2c0f4ecccc7a6501773e26b403b116179
(cherry picked from commit 0ab53ca2af26f70126d6d9d6600d090a720758fa)
CVE-2018-9592
</pre>
</div>
</content>
</entry>
<entry>
<title>HH: Check parameter length in bta_hh_ctrl_dat_act</title>
<updated>2019-02-03T11:39:53+00:00</updated>
<author>
<name>Myles Watson</name>
<email>mylesgw@google.com</email>
</author>
<published>2018-10-25T21:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=2f5769c8a107197c3c3692a0cb8cf6b8795d0c0e'/>
<id>2f5769c8a107197c3c3692a0cb8cf6b8795d0c0e</id>
<content type='text'>
Bug: 116108738
Test: send a malformed GET_IDLE command with no parameters
Change-Id: Ic57e748a06ea6d4fc16868310d3423ee71a7ac8c
(cherry picked from commit b8fbe73f0d32686e8393bfe07a84b6f0e8829caf)
CVE-2018-9591
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 116108738
Test: send a malformed GET_IDLE command with no parameters
Change-Id: Ic57e748a06ea6d4fc16868310d3423ee71a7ac8c
(cherry picked from commit b8fbe73f0d32686e8393bfe07a84b6f0e8829caf)
CVE-2018-9591
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix possible OOB read</title>
<updated>2019-01-13T17:05:58+00:00</updated>
<author>
<name>Jakub Pawlowski</name>
<email>jpawlowski@google.com</email>
</author>
<published>2018-10-10T17:35:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_system_bt/commit/?id=ca40fc59e97f6faa6974a6a6c0d54dbf81688242'/>
<id>ca40fc59e97f6faa6974a6a6c0d54dbf81688242</id>
<content type='text'>
Bug: 74249842
Change-Id: I0dbe43f0da1f5a8f14bcb69659752de4bd70ca98
(cherry picked from commit 6e6c347e798bf8195a9a02457edf871a97b1cfad)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 74249842
Change-Id: I0dbe43f0da1f5a8f14bcb69659752de4bd70ca98
(cherry picked from commit 6e6c347e798bf8195a9a02457edf871a97b1cfad)
</pre>
</div>
</content>
</entry>
</feed>
