<?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>Mon, 28 Sep 2026 23:14:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-35841 — net: tls, fix WARNIING in __sk_msg_free</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-35841</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;net: tls, fix WARNIING in __sk_msg_free&lt;/p&gt;
&lt;p&gt;A splice with MSG_SPLICE_PAGES will cause tls code to use the
tls_sw_sendmsg_splice path in the TLS sendmsg code to move the user
provided pages from the msg into the msg_pl. This will loop over the
msg until msg_pl is full, checked by sk_msg_full(msg_pl). The user
can also set the MORE flag to hint stack to delay sending until receiving
more pages and ideally a full buffer.&lt;/p&gt;
&lt;p&gt;If the user adds more pages to the msg than can fit in the msg_pl
scatterlist (MAX_MSG_FRAGS) we should ignore the MORE flag and send
the buffer anyways.&lt;/p&gt;
&lt;p&gt;What actually happens though is we abort the msg to msg_pl scatterlist
setup and then because we forget to set &amp;#39;full record&amp;#39; indicating we
can no longer consume data without a send we fallthrough to the &amp;#39;continue&amp;#39;
path which will check if msg_data_left(msg) has more bytes to send and
then attempts to fit them in the already full msg_pl. Then next
iteration of sender doing send will encounter a full msg_pl and throw
the warning in the syzbot report.&lt;/p&gt;
&lt;p&gt;To fix simply check if we have a full_record in splice code path and
if not send the msg regardless of MORE flag.&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;net: tls, fix WARNIING in __sk_msg_free&lt;/p&gt;
&lt;p&gt;A splice with MSG_SPLICE_PAGES will cause tls code to use the
tls_sw_sendmsg_splice path in the TLS sendmsg code to move the user
provided pages from the msg into the msg_pl. This will loop over the
msg until msg_pl is full, checked by sk_msg_full(msg_pl). The user
can also set the MORE flag to hint stack to delay sending until receiving
more pages and ideally a full buffer.&lt;/p&gt;
&lt;p&gt;If the user adds more pages to the msg than can fit in the msg_pl
scatterlist (MAX_MSG_FRAGS) we should ignore the MORE flag and send
the buffer anyways.&lt;/p&gt;
&lt;p&gt;What actually happens though is we abort the msg to msg_pl scatterlist
setup and then because we forget to set &amp;#39;full record&amp;#39; indicating we
can no longer consume data without a send we fallthrough to the &amp;#39;continue&amp;#39;
path which will check if msg_data_left(msg) has more bytes to send and
then attempts to fit them in the already full msg_pl. Then next
iteration of sender doing send will encounter a full msg_pl and throw
the warning in the syzbot report.&lt;/p&gt;
&lt;p&gt;To fix simply check if we have a full_record in splice code path and
if not send the msg regardless of MORE flag.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-35841</guid>
    </item>
  </channel>
</rss>
