<?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>Thu, 01 Oct 2026 12:36:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-46771 — can: bcm: Remove proc entry when dev is unregistered.</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-46771</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;can: bcm: Remove proc entry when dev is unregistered.&lt;/p&gt;
&lt;p&gt;syzkaller reported a warning in bcm_connect() below. [0]&lt;/p&gt;
&lt;p&gt;The repro calls connect() to vxcan1, removes vxcan1, and calls
connect() with ifindex == 0.&lt;/p&gt;
&lt;p&gt;Calling connect() for a BCM socket allocates a proc entry.
Then, bcm_sk(sk)-&amp;gt;bound is set to 1 to prevent further connect().&lt;/p&gt;
&lt;p&gt;However, removing the bound device resets bcm_sk(sk)-&amp;gt;bound to 0
in bcm_notify().&lt;/p&gt;
&lt;p&gt;The 2nd connect() tries to allocate a proc entry with the same
name and sets NULL to bcm_sk(sk)-&amp;gt;bcm_proc_read, leaking the
original proc entry.&lt;/p&gt;
&lt;p&gt;Since the proc entry is available only for connect()ed sockets,
let&amp;#39;s clean up the entry when the bound netdev is unregistered.&lt;/p&gt;
&lt;p&gt;[0]:
proc_dir_entry &amp;#39;can-bcm/2456&amp;#39; already registered
WARNING: CPU: 1 PID: 394 at fs/proc/generic.c:376 proc_register+0x645/0x8f0 fs/proc/generic.c:375
Modules linked in:
CPU: 1 PID: 394 Comm: syz-executor403 Not tainted 6.10.0-rc7-g852e42cc2dd4
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
RIP: 0010:proc_register+0x645/0x8f0 fs/proc/generic.c:375
Code: 00 00 00 00 00 48 85 ed 0f 85 97 02 00 00 4d 85 f6 0f 85 9f 02 00 00 48 c7 c7 9b cb cf 87 48 89 de 4c 89 fa e8 1c 6f eb fe 90 &amp;lt;0f&amp;gt; 0b 90 90 48 c7 c7 98 37 99 89 e8 cb 7e 22 05 bb 00 00 00 10 48
RSP: 0018:ffa0000000cd7c30 EFLAGS: 00010246
RAX: 9e129be1950f0200 RBX: ff1100011b51582c RCX: ff1100011857cd80
RDX: 00000…&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;can: bcm: Remove proc entry when dev is unregistered.&lt;/p&gt;
&lt;p&gt;syzkaller reported a warning in bcm_connect() below. [0]&lt;/p&gt;
&lt;p&gt;The repro calls connect() to vxcan1, removes vxcan1, and calls
connect() with ifindex == 0.&lt;/p&gt;
&lt;p&gt;Calling connect() for a BCM socket allocates a proc entry.
Then, bcm_sk(sk)-&amp;gt;bound is set to 1 to prevent further connect().&lt;/p&gt;
&lt;p&gt;However, removing the bound device resets bcm_sk(sk)-&amp;gt;bound to 0
in bcm_notify().&lt;/p&gt;
&lt;p&gt;The 2nd connect() tries to allocate a proc entry with the same
name and sets NULL to bcm_sk(sk)-&amp;gt;bcm_proc_read, leaking the
original proc entry.&lt;/p&gt;
&lt;p&gt;Since the proc entry is available only for connect()ed sockets,
let&amp;#39;s clean up the entry when the bound netdev is unregistered.&lt;/p&gt;
&lt;p&gt;[0]:
proc_dir_entry &amp;#39;can-bcm/2456&amp;#39; already registered
WARNING: CPU: 1 PID: 394 at fs/proc/generic.c:376 proc_register+0x645/0x8f0 fs/proc/generic.c:375
Modules linked in:
CPU: 1 PID: 394 Comm: syz-executor403 Not tainted 6.10.0-rc7-g852e42cc2dd4
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
RIP: 0010:proc_register+0x645/0x8f0 fs/proc/generic.c:375
Code: 00 00 00 00 00 48 85 ed 0f 85 97 02 00 00 4d 85 f6 0f 85 9f 02 00 00 48 c7 c7 9b cb cf 87 48 89 de 4c 89 fa e8 1c 6f eb fe 90 &amp;lt;0f&amp;gt; 0b 90 90 48 c7 c7 98 37 99 89 e8 cb 7e 22 05 bb 00 00 00 10 48
RSP: 0018:ffa0000000cd7c30 EFLAGS: 00010246
RAX: 9e129be1950f0200 RBX: ff1100011b51582c RCX: ff1100011857cd80
RDX: 00000…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-46771</guid>
    </item>
  </channel>
</rss>
