<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 08:08:07 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-58238 — Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-58238</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test&lt;/p&gt;
&lt;p&gt;This fixes the tx timeout issue seen while running a stress test on
btnxpuart for couple of hours, such that the interval between two HCI
commands coincide with the power save timeout value of 2 seconds.&lt;/p&gt;
&lt;p&gt;Test procedure using bash script:
&amp;lt;load btnxpuart.ko&amp;gt;
hciconfig hci0 up
//Enable Power Save feature
hcitool -i hci0 cmd 3f 23 02 00 00
while (true)
do
    hciconfig hci0 leadv
    sleep 2
    hciconfig hci0 noleadv
    sleep 2
done&lt;/p&gt;
&lt;p&gt;Error log, after adding few more debug prints:
Bluetooth: btnxpuart_queue_skb(): 01 0A 20 01 00
Bluetooth: hci0: Set UART break: on, status=0
Bluetooth: hci0: btnxpuart_tx_wakeup() tx_work scheduled
Bluetooth: hci0: btnxpuart_tx_work() dequeue: 01 0A 20 01 00
Can&amp;#39;t set advertise mode on hci0: Connection timed out (110)
Bluetooth: hci0: command 0x200a tx timeout&lt;/p&gt;
&lt;p&gt;When the power save mechanism turns on UART break, and btnxpuart_tx_work()
is scheduled simultaneously, psdata-&amp;gt;ps_state is read as PS_STATE_AWAKE,
which prevents the psdata-&amp;gt;work from being scheduled, which is responsible
to turn OFF UART break.&lt;/p&gt;
&lt;p&gt;This issue is fixed by adding a ps_lock mutex around UART break on/off as
well as around ps_state read/write.
btnxpuart_tx_wakeup() will now read updated ps_state value. If ps_state is
PS_STATE_SLEEP, it will first schedule psdata-&amp;gt;work, and then it will
reschedule itself once UART break has been turned…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test&lt;/p&gt;
&lt;p&gt;This fixes the tx timeout issue seen while running a stress test on
btnxpuart for couple of hours, such that the interval between two HCI
commands coincide with the power save timeout value of 2 seconds.&lt;/p&gt;
&lt;p&gt;Test procedure using bash script:
&amp;lt;load btnxpuart.ko&amp;gt;
hciconfig hci0 up
//Enable Power Save feature
hcitool -i hci0 cmd 3f 23 02 00 00
while (true)
do
    hciconfig hci0 leadv
    sleep 2
    hciconfig hci0 noleadv
    sleep 2
done&lt;/p&gt;
&lt;p&gt;Error log, after adding few more debug prints:
Bluetooth: btnxpuart_queue_skb(): 01 0A 20 01 00
Bluetooth: hci0: Set UART break: on, status=0
Bluetooth: hci0: btnxpuart_tx_wakeup() tx_work scheduled
Bluetooth: hci0: btnxpuart_tx_work() dequeue: 01 0A 20 01 00
Can&amp;#39;t set advertise mode on hci0: Connection timed out (110)
Bluetooth: hci0: command 0x200a tx timeout&lt;/p&gt;
&lt;p&gt;When the power save mechanism turns on UART break, and btnxpuart_tx_work()
is scheduled simultaneously, psdata-&amp;gt;ps_state is read as PS_STATE_AWAKE,
which prevents the psdata-&amp;gt;work from being scheduled, which is responsible
to turn OFF UART break.&lt;/p&gt;
&lt;p&gt;This issue is fixed by adding a ps_lock mutex around UART break on/off as
well as around ps_state read/write.
btnxpuart_tx_wakeup() will now read updated ps_state value. If ps_state is
PS_STATE_SLEEP, it will first schedule psdata-&amp;gt;work, and then it will
reschedule itself once UART break has been turned…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-58238</guid>
    </item>
  </channel>
</rss>
