<?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>Thu, 01 Oct 2026 20:00:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-52906 — net/sched: act_mpls: Fix warning during failed attribute validation</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-52906</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/sched: act_mpls: Fix warning during failed attribute validation&lt;/p&gt;
&lt;p&gt;The &amp;#39;TCA_MPLS_LABEL&amp;#39; attribute is of &amp;#39;NLA_U32&amp;#39; type, but has a
validation type of &amp;#39;NLA_VALIDATE_FUNCTION&amp;#39;. This is an invalid
combination according to the comment above &amp;#39;struct nla_policy&amp;#39;:&lt;/p&gt;
&lt;p&gt;&amp;#34;
Meaning of `validate&amp;#39; field, use via NLA_POLICY_VALIDATE_FN:
   NLA_BINARY           Validation function called for the attribute.
   All other            Unused - but note that it&amp;#39;s a union
&amp;#34;&lt;/p&gt;
&lt;p&gt;This can trigger the warning [1] in nla_get_range_unsigned() when
validation of the attribute fails. Despite being of &amp;#39;NLA_U32&amp;#39; type, the
associated &amp;#39;min&amp;#39;/&amp;#39;max&amp;#39; fields in the policy are negative as they are
aliased by the &amp;#39;validate&amp;#39; field.&lt;/p&gt;
&lt;p&gt;Fix by changing the attribute type to &amp;#39;NLA_BINARY&amp;#39; which is consistent
with the above comment and all other users of NLA_POLICY_VALIDATE_FN().
As a result, move the length validation to the validation function.&lt;/p&gt;
&lt;p&gt;No regressions in MPLS tests:&lt;/p&gt;
&lt;p&gt;# ./tdc.py -f tc-tests/actions/mpls.json
 [...]
 # echo $?
 0&lt;/p&gt;
&lt;p&gt;[1]
WARNING: CPU: 0 PID: 17743 at lib/nlattr.c:118
nla_get_range_unsigned+0x1d8/0x1e0 lib/nlattr.c:117
Modules linked in:
CPU: 0 PID: 17743 Comm: syz-executor.0 Not tainted 6.1.0-rc8 #3
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014
RIP: 0010:nla_get_range_unsigned+0x1d8/0x1e0 lib/nlattr.c:117
[...]
Call Trace:
 &amp;lt;TASK&amp;gt;
 __netlink_policy_dump_write_attr+0…&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/sched: act_mpls: Fix warning during failed attribute validation&lt;/p&gt;
&lt;p&gt;The &amp;#39;TCA_MPLS_LABEL&amp;#39; attribute is of &amp;#39;NLA_U32&amp;#39; type, but has a
validation type of &amp;#39;NLA_VALIDATE_FUNCTION&amp;#39;. This is an invalid
combination according to the comment above &amp;#39;struct nla_policy&amp;#39;:&lt;/p&gt;
&lt;p&gt;&amp;#34;
Meaning of `validate&amp;#39; field, use via NLA_POLICY_VALIDATE_FN:
   NLA_BINARY           Validation function called for the attribute.
   All other            Unused - but note that it&amp;#39;s a union
&amp;#34;&lt;/p&gt;
&lt;p&gt;This can trigger the warning [1] in nla_get_range_unsigned() when
validation of the attribute fails. Despite being of &amp;#39;NLA_U32&amp;#39; type, the
associated &amp;#39;min&amp;#39;/&amp;#39;max&amp;#39; fields in the policy are negative as they are
aliased by the &amp;#39;validate&amp;#39; field.&lt;/p&gt;
&lt;p&gt;Fix by changing the attribute type to &amp;#39;NLA_BINARY&amp;#39; which is consistent
with the above comment and all other users of NLA_POLICY_VALIDATE_FN().
As a result, move the length validation to the validation function.&lt;/p&gt;
&lt;p&gt;No regressions in MPLS tests:&lt;/p&gt;
&lt;p&gt;# ./tdc.py -f tc-tests/actions/mpls.json
 [...]
 # echo $?
 0&lt;/p&gt;
&lt;p&gt;[1]
WARNING: CPU: 0 PID: 17743 at lib/nlattr.c:118
nla_get_range_unsigned+0x1d8/0x1e0 lib/nlattr.c:117
Modules linked in:
CPU: 0 PID: 17743 Comm: syz-executor.0 Not tainted 6.1.0-rc8 #3
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.13.0-48-gd9c812dda519-prebuilt.qemu.org 04/01/2014
RIP: 0010:nla_get_range_unsigned+0x1d8/0x1e0 lib/nlattr.c:117
[...]
Call Trace:
 &amp;lt;TASK&amp;gt;
 __netlink_policy_dump_write_attr+0…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-52906</guid>
    </item>
  </channel>
</rss>
