<?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://cve.radiocsirt.org</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>Wed, 07 Oct 2026 09:46:09 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26903 — Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-26903</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security&lt;/p&gt;
&lt;p&gt;During our fuzz testing of the connection and disconnection process at the
RFCOMM layer, we discovered this bug. By comparing the packets from a
normal connection and disconnection process with the testcase that
triggered a KASAN report. We analyzed the cause of this bug as follows:&lt;/p&gt;
&lt;p&gt;1. In the packets captured during a normal connection, the host sends a
`Read Encryption Key Size` type of `HCI_CMD` packet
(Command Opcode: 0x1408) to the controller to inquire the length of
encryption key.After receiving this packet, the controller immediately
replies with a Command Completepacket (Event Code: 0x0e) to return the
Encryption Key Size.&lt;/p&gt;
&lt;p&gt;2. In our fuzz test case, the timing of the controller&amp;#39;s response to this
packet was delayed to an unexpected point: after the RFCOMM and L2CAP
layers had disconnected but before the HCI layer had disconnected.&lt;/p&gt;
&lt;p&gt;3. After receiving the Encryption Key Size Response at the time described
in point 2, the host still called the rfcomm_check_security function.
However, by this time `struct l2cap_conn *conn = l2cap_pi(sk)-&amp;gt;chan-&amp;gt;conn;`
had already been released, and when the function executed
`return hci_conn_security(conn-&amp;gt;hcon, d-&amp;gt;sec_level, auth_type, d-&amp;gt;out);`,
specifically when accessing `conn-&amp;gt;hcon`, a null-ptr-deref error occurred.&lt;/p&gt;
&lt;p&gt;To fix this bug, check if `sk-&amp;gt;sk_state` is BT_CLOSED before calling
rfcomm_recv_fram…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security&lt;/p&gt;
&lt;p&gt;During our fuzz testing of the connection and disconnection process at the
RFCOMM layer, we discovered this bug. By comparing the packets from a
normal connection and disconnection process with the testcase that
triggered a KASAN report. We analyzed the cause of this bug as follows:&lt;/p&gt;
&lt;p&gt;1. In the packets captured during a normal connection, the host sends a
`Read Encryption Key Size` type of `HCI_CMD` packet
(Command Opcode: 0x1408) to the controller to inquire the length of
encryption key.After receiving this packet, the controller immediately
replies with a Command Completepacket (Event Code: 0x0e) to return the
Encryption Key Size.&lt;/p&gt;
&lt;p&gt;2. In our fuzz test case, the timing of the controller&amp;#39;s response to this
packet was delayed to an unexpected point: after the RFCOMM and L2CAP
layers had disconnected but before the HCI layer had disconnected.&lt;/p&gt;
&lt;p&gt;3. After receiving the Encryption Key Size Response at the time described
in point 2, the host still called the rfcomm_check_security function.
However, by this time `struct l2cap_conn *conn = l2cap_pi(sk)-&amp;gt;chan-&amp;gt;conn;`
had already been released, and when the function executed
`return hci_conn_security(conn-&amp;gt;hcon, d-&amp;gt;sec_level, auth_type, d-&amp;gt;out);`,
specifically when accessing `conn-&amp;gt;hcon`, a null-ptr-deref error occurred.&lt;/p&gt;
&lt;p&gt;To fix this bug, check if `sk-&amp;gt;sk_state` is BT_CLOSED before calling
rfcomm_recv_fram…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-26903</guid>
    </item>
  </channel>
</rss>
