<?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>Tue, 06 Oct 2026 10:09:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-47231 — can: mcba_usb: fix memory leak in mcba_usb</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-47231</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: mcba_usb: fix memory leak in mcba_usb&lt;/p&gt;
&lt;p&gt;Syzbot reported memory leak in SocketCAN driver for Microchip CAN BUS
Analyzer Tool. The problem was in unfreed usb_coherent.&lt;/p&gt;
&lt;p&gt;In mcba_usb_start() 20 coherent buffers are allocated and there is
nothing, that frees them:&lt;/p&gt;
&lt;p&gt;1) In callback function the urb is resubmitted and that&amp;#39;s all
2) In disconnect function urbs are simply killed, but URB_FREE_BUFFER
   is not set (see mcba_usb_start) and this flag cannot be used with
   coherent buffers.&lt;/p&gt;
&lt;p&gt;Fail log:
| [ 1354.053291][ T8413] mcba_usb 1-1:0.0 can0: device disconnected
| [ 1367.059384][ T8420] kmemleak: 20 new suspected memory leaks (see /sys/kernel/debug/kmem)&lt;/p&gt;
&lt;p&gt;So, all allocated buffers should be freed with usb_free_coherent()
explicitly&lt;/p&gt;
&lt;p&gt;NOTE:
The same pattern for allocating and freeing coherent buffers
is used in drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c&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: mcba_usb: fix memory leak in mcba_usb&lt;/p&gt;
&lt;p&gt;Syzbot reported memory leak in SocketCAN driver for Microchip CAN BUS
Analyzer Tool. The problem was in unfreed usb_coherent.&lt;/p&gt;
&lt;p&gt;In mcba_usb_start() 20 coherent buffers are allocated and there is
nothing, that frees them:&lt;/p&gt;
&lt;p&gt;1) In callback function the urb is resubmitted and that&amp;#39;s all
2) In disconnect function urbs are simply killed, but URB_FREE_BUFFER
   is not set (see mcba_usb_start) and this flag cannot be used with
   coherent buffers.&lt;/p&gt;
&lt;p&gt;Fail log:
| [ 1354.053291][ T8413] mcba_usb 1-1:0.0 can0: device disconnected
| [ 1367.059384][ T8420] kmemleak: 20 new suspected memory leaks (see /sys/kernel/debug/kmem)&lt;/p&gt;
&lt;p&gt;So, all allocated buffers should be freed with usb_free_coherent()
explicitly&lt;/p&gt;
&lt;p&gt;NOTE:
The same pattern for allocating and freeing coherent buffers
is used in drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-47231</guid>
    </item>
  </channel>
</rss>
