<?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://db.gcve.eu</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, 10 Nov 2026 21:43:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98541 — fou: reject omitted FOU_ATTR_IPPROTO on FOU_ENCAP_DIRECT</title>
      <link>https://db.gcve.eu/vuln/cve-2026-98541</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;fou: reject omitted FOU_ATTR_IPPROTO on FOU_ENCAP_DIRECT&lt;/p&gt;
&lt;p&gt;Commit 7a9bc9e3f423 (&amp;#34;fou: Don&amp;#39;t allow 0 for FOU_ATTR_IPPROTO.&amp;#34;) added
NLA_POLICY_MIN(NLA_U8, 1) to fou_nl_policy[FOU_ATTR_IPPROTO], which
rejects an explicitly supplied FOU_ATTR_IPPROTO == 0 attribute with
-ERANGE.&lt;/p&gt;
&lt;p&gt;However, FOU_ATTR_IPPROTO is an optional netlink attribute. When a user
sends FOU_CMD_ADD with FOU_ATTR_TYPE set to FOU_ENCAP_DIRECT and omits
FOU_ATTR_IPPROTO entirely, nla_policy validation succeeds and
parse_nl_config() leaves cfg-&amp;gt;protocol as 0 (from memset(cfg, 0,
sizeof(*cfg))). fou_create() then creates a FOU_ENCAP_DIRECT socket with
fou-&amp;gt;protocol == 0.&lt;/p&gt;
&lt;p&gt;In fou_udp_recv(), returning -fou-&amp;gt;protocol to udp_queue_rcv_one_skb()
triggers IP protocol resubmission when fou-&amp;gt;protocol &amp;gt; 0, whereas
returning 0 tells the UDP tunnel layer that the skb was consumed without
freeing it. When fou-&amp;gt;protocol == 0, every packet received on the socket
returns 0 from fou_udp_recv() and leaks the sk_buff.&lt;/p&gt;
&lt;p&gt;Reject FOU_ENCAP_DIRECT when !cfg-&amp;gt;protocol in fou_create() so that
creating a direct encapsulation port without FOU_ATTR_IPPROTO fails with
-EINVAL while leaving FOU_CMD_DEL and FOU_CMD_GET (which share
parse_nl_config()) unaffected.&lt;/p&gt;
&lt;p&gt;Tested in QEMU against Linux 7.3.0-rc3 by sending a FOU_CMD_ADD Generic
Netlink request with FOU_ATTR_PORT = 5555 and FOU_ATTR_TYPE =
FOU_ENCAP_DIRECT while omitting FOU_ATTR_IPPROTO. On the unfixed kernel,
FOU_CMD_ADD…&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;fou: reject omitted FOU_ATTR_IPPROTO on FOU_ENCAP_DIRECT&lt;/p&gt;
&lt;p&gt;Commit 7a9bc9e3f423 (&amp;#34;fou: Don&amp;#39;t allow 0 for FOU_ATTR_IPPROTO.&amp;#34;) added
NLA_POLICY_MIN(NLA_U8, 1) to fou_nl_policy[FOU_ATTR_IPPROTO], which
rejects an explicitly supplied FOU_ATTR_IPPROTO == 0 attribute with
-ERANGE.&lt;/p&gt;
&lt;p&gt;However, FOU_ATTR_IPPROTO is an optional netlink attribute. When a user
sends FOU_CMD_ADD with FOU_ATTR_TYPE set to FOU_ENCAP_DIRECT and omits
FOU_ATTR_IPPROTO entirely, nla_policy validation succeeds and
parse_nl_config() leaves cfg-&amp;gt;protocol as 0 (from memset(cfg, 0,
sizeof(*cfg))). fou_create() then creates a FOU_ENCAP_DIRECT socket with
fou-&amp;gt;protocol == 0.&lt;/p&gt;
&lt;p&gt;In fou_udp_recv(), returning -fou-&amp;gt;protocol to udp_queue_rcv_one_skb()
triggers IP protocol resubmission when fou-&amp;gt;protocol &amp;gt; 0, whereas
returning 0 tells the UDP tunnel layer that the skb was consumed without
freeing it. When fou-&amp;gt;protocol == 0, every packet received on the socket
returns 0 from fou_udp_recv() and leaks the sk_buff.&lt;/p&gt;
&lt;p&gt;Reject FOU_ENCAP_DIRECT when !cfg-&amp;gt;protocol in fou_create() so that
creating a direct encapsulation port without FOU_ATTR_IPPROTO fails with
-EINVAL while leaving FOU_CMD_DEL and FOU_CMD_GET (which share
parse_nl_config()) unaffected.&lt;/p&gt;
&lt;p&gt;Tested in QEMU against Linux 7.3.0-rc3 by sending a FOU_CMD_ADD Generic
Netlink request with FOU_ATTR_PORT = 5555 and FOU_ATTR_TYPE =
FOU_ENCAP_DIRECT while omitting FOU_ATTR_IPPROTO. On the unfixed kernel,
FOU_CMD_ADD…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-98541</guid>
    </item>
  </channel>
</rss>
