<?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>Tue, 29 Sep 2026 16:44:02 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53843 — net: openvswitch: reject negative ifindex</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53843</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: openvswitch: reject negative ifindex&lt;/p&gt;
&lt;p&gt;Recent changes in net-next (commit 759ab1edb56c (&amp;#34;net: store netdevs
in an xarray&amp;#34;)) refactored the handling of pre-assigned ifindexes
and let syzbot surface a latent problem in ovs. ovs does not validate
ifindex, making it possible to create netdev ports with negative
ifindex values. It&amp;#39;s easy to repro with YNL:&lt;/p&gt;
&lt;p&gt;$ ./cli.py --spec netlink/specs/ovs_datapath.yaml \
         --do new \
	 --json &amp;#39;{&amp;#34;upcall-pid&amp;#34;: 1, &amp;#34;name&amp;#34;:&amp;#34;my-dp&amp;#34;}&amp;#39;
$ ./cli.py --spec netlink/specs/ovs_vport.yaml \
	 --do new \
	 --json &amp;#39;{&amp;#34;upcall-pid&amp;#34;: &amp;#34;00000001&amp;#34;, &amp;#34;name&amp;#34;: &amp;#34;some-port0&amp;#34;, &amp;#34;dp-ifindex&amp;#34;:3,&amp;#34;ifindex&amp;#34;:4294901760,&amp;#34;type&amp;#34;:2}&amp;#39;&lt;/p&gt;
&lt;p&gt;$ ip link show
-65536: some-port0: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 7a:48:21:ad:0b:fb brd ff:ff:ff:ff:ff:ff
...&lt;/p&gt;
&lt;p&gt;Validate the inputs. Now the second command correctly returns:&lt;/p&gt;
&lt;p&gt;$ ./cli.py --spec netlink/specs/ovs_vport.yaml \
	 --do new \
	 --json &amp;#39;{&amp;#34;upcall-pid&amp;#34;: &amp;#34;00000001&amp;#34;, &amp;#34;name&amp;#34;: &amp;#34;some-port0&amp;#34;, &amp;#34;dp-ifindex&amp;#34;:3,&amp;#34;ifindex&amp;#34;:4294901760,&amp;#34;type&amp;#34;:2}&amp;#39;&lt;/p&gt;
&lt;p&gt;lib.ynl.NlError: Netlink error: Numerical result out of range
nl_len = 108 (92) nl_flags = 0x300 nl_type = 2
	error: -34	extack: {&amp;#39;msg&amp;#39;: &amp;#39;integer out of range&amp;#39;, &amp;#39;unknown&amp;#39;: [[type:4 len:36] b&amp;#39;\x0c\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x03\x00\xff\xff\xff\x7f\x00\x00\x00\x00\x08\x00\x01\x00\x08\x00\x00\x00&amp;#39;], &amp;#39;bad-attr&amp;#39;: &amp;#39;.ifindex&amp;#39;}&lt;/p&gt;
&lt;p&gt;Accept 0 since it u…&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: openvswitch: reject negative ifindex&lt;/p&gt;
&lt;p&gt;Recent changes in net-next (commit 759ab1edb56c (&amp;#34;net: store netdevs
in an xarray&amp;#34;)) refactored the handling of pre-assigned ifindexes
and let syzbot surface a latent problem in ovs. ovs does not validate
ifindex, making it possible to create netdev ports with negative
ifindex values. It&amp;#39;s easy to repro with YNL:&lt;/p&gt;
&lt;p&gt;$ ./cli.py --spec netlink/specs/ovs_datapath.yaml \
         --do new \
	 --json &amp;#39;{&amp;#34;upcall-pid&amp;#34;: 1, &amp;#34;name&amp;#34;:&amp;#34;my-dp&amp;#34;}&amp;#39;
$ ./cli.py --spec netlink/specs/ovs_vport.yaml \
	 --do new \
	 --json &amp;#39;{&amp;#34;upcall-pid&amp;#34;: &amp;#34;00000001&amp;#34;, &amp;#34;name&amp;#34;: &amp;#34;some-port0&amp;#34;, &amp;#34;dp-ifindex&amp;#34;:3,&amp;#34;ifindex&amp;#34;:4294901760,&amp;#34;type&amp;#34;:2}&amp;#39;&lt;/p&gt;
&lt;p&gt;$ ip link show
-65536: some-port0: &amp;lt;BROADCAST,MULTICAST&amp;gt; mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 7a:48:21:ad:0b:fb brd ff:ff:ff:ff:ff:ff
...&lt;/p&gt;
&lt;p&gt;Validate the inputs. Now the second command correctly returns:&lt;/p&gt;
&lt;p&gt;$ ./cli.py --spec netlink/specs/ovs_vport.yaml \
	 --do new \
	 --json &amp;#39;{&amp;#34;upcall-pid&amp;#34;: &amp;#34;00000001&amp;#34;, &amp;#34;name&amp;#34;: &amp;#34;some-port0&amp;#34;, &amp;#34;dp-ifindex&amp;#34;:3,&amp;#34;ifindex&amp;#34;:4294901760,&amp;#34;type&amp;#34;:2}&amp;#39;&lt;/p&gt;
&lt;p&gt;lib.ynl.NlError: Netlink error: Numerical result out of range
nl_len = 108 (92) nl_flags = 0x300 nl_type = 2
	error: -34	extack: {&amp;#39;msg&amp;#39;: &amp;#39;integer out of range&amp;#39;, &amp;#39;unknown&amp;#39;: [[type:4 len:36] b&amp;#39;\x0c\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x03\x00\xff\xff\xff\x7f\x00\x00\x00\x00\x08\x00\x01\x00\x08\x00\x00\x00&amp;#39;], &amp;#39;bad-attr&amp;#39;: &amp;#39;.ifindex&amp;#39;}&lt;/p&gt;
&lt;p&gt;Accept 0 since it u…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53843</guid>
    </item>
  </channel>
</rss>
