<?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 03:39:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-38616 — wifi: carl9170: re-fix fortified-memset warning</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-38616</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;wifi: carl9170: re-fix fortified-memset warning&lt;/p&gt;
&lt;p&gt;The carl9170_tx_release() function sometimes triggers a fortified-memset
warning in my randconfig builds:&lt;/p&gt;
&lt;p&gt;In file included from include/linux/string.h:254,
                 from drivers/net/wireless/ath/carl9170/tx.c:40:
In function &amp;#39;fortify_memset_chk&amp;#39;,
    inlined from &amp;#39;carl9170_tx_release&amp;#39; at drivers/net/wireless/ath/carl9170/tx.c:283:2,
    inlined from &amp;#39;kref_put&amp;#39; at include/linux/kref.h:65:3,
    inlined from &amp;#39;carl9170_tx_put_skb&amp;#39; at drivers/net/wireless/ath/carl9170/tx.c:342:9:
include/linux/fortify-string.h:493:25: error: call to &amp;#39;__write_overflow_field&amp;#39; declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
  493 |                         __write_overflow_field(p_size_field, size);&lt;/p&gt;
&lt;p&gt;Kees previously tried to avoid this by using memset_after(), but it seems
this does not fully address the problem. I noticed that the memset_after()
here is done on a different part of the union (status) than the original
cast was from (rate_driver_data), which may confuse the compiler.&lt;/p&gt;
&lt;p&gt;Unfortunately, the memset_after() trick does not work on driver_rates[]
because that is part of an anonymous struct, and I could not get
struct_group() to do this either. Using two separate memset() calls
on the two members does address the warning though.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, linux_kernel&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;wifi: carl9170: re-fix fortified-memset warning&lt;/p&gt;
&lt;p&gt;The carl9170_tx_release() function sometimes triggers a fortified-memset
warning in my randconfig builds:&lt;/p&gt;
&lt;p&gt;In file included from include/linux/string.h:254,
                 from drivers/net/wireless/ath/carl9170/tx.c:40:
In function &amp;#39;fortify_memset_chk&amp;#39;,
    inlined from &amp;#39;carl9170_tx_release&amp;#39; at drivers/net/wireless/ath/carl9170/tx.c:283:2,
    inlined from &amp;#39;kref_put&amp;#39; at include/linux/kref.h:65:3,
    inlined from &amp;#39;carl9170_tx_put_skb&amp;#39; at drivers/net/wireless/ath/carl9170/tx.c:342:9:
include/linux/fortify-string.h:493:25: error: call to &amp;#39;__write_overflow_field&amp;#39; declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
  493 |                         __write_overflow_field(p_size_field, size);&lt;/p&gt;
&lt;p&gt;Kees previously tried to avoid this by using memset_after(), but it seems
this does not fully address the problem. I noticed that the memset_after()
here is done on a different part of the union (status) than the original
cast was from (rate_driver_data), which may confuse the compiler.&lt;/p&gt;
&lt;p&gt;Unfortunately, the memset_after() trick does not work on driver_rates[]
because that is part of an anonymous struct, and I could not get
struct_group() to do this either. Using two separate memset() calls
on the two members does address the warning though.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-38616</guid>
    </item>
  </channel>
</rss>
