<?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>Wed, 30 Sep 2026 15:07:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39998 — scsi: target: target_core_configfs: Add length check to avoid buffer overflow</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39998</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;scsi: target: target_core_configfs: Add length check to avoid buffer overflow&lt;/p&gt;
&lt;p&gt;A buffer overflow arises from the usage of snprintf to write into the
buffer &amp;#34;buf&amp;#34; in target_lu_gp_members_show function located in
/drivers/target/target_core_configfs.c. This buffer is allocated with
size LU_GROUP_NAME_BUF (256 bytes).&lt;/p&gt;
&lt;p&gt;snprintf(...) formats multiple strings into buf with the HBA name
(hba-&amp;gt;hba_group.cg_item), a slash character, a devicename (dev-&amp;gt;
dev_group.cg_item) and a newline character, the total formatted string
length may exceed the buffer size of 256 bytes.&lt;/p&gt;
&lt;p&gt;Since snprintf() returns the total number of bytes that would have been
written (the length of %s/%sn ), this value may exceed the buffer length
(256 bytes) passed to memcpy(), this will ultimately cause function
memcpy reporting a buffer overflow error.&lt;/p&gt;
&lt;p&gt;An additional check of the return value of snprintf() can avoid this
buffer overflow.&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;scsi: target: target_core_configfs: Add length check to avoid buffer overflow&lt;/p&gt;
&lt;p&gt;A buffer overflow arises from the usage of snprintf to write into the
buffer &amp;#34;buf&amp;#34; in target_lu_gp_members_show function located in
/drivers/target/target_core_configfs.c. This buffer is allocated with
size LU_GROUP_NAME_BUF (256 bytes).&lt;/p&gt;
&lt;p&gt;snprintf(...) formats multiple strings into buf with the HBA name
(hba-&amp;gt;hba_group.cg_item), a slash character, a devicename (dev-&amp;gt;
dev_group.cg_item) and a newline character, the total formatted string
length may exceed the buffer size of 256 bytes.&lt;/p&gt;
&lt;p&gt;Since snprintf() returns the total number of bytes that would have been
written (the length of %s/%sn ), this value may exceed the buffer length
(256 bytes) passed to memcpy(), this will ultimately cause function
memcpy reporting a buffer overflow error.&lt;/p&gt;
&lt;p&gt;An additional check of the return value of snprintf() can avoid this
buffer overflow.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39998</guid>
    </item>
  </channel>
</rss>
