CVE-2026-80994 (GCVE-0-2026-80994)
Vulnerability from cvelistv5
Published
2026-09-11 19:42
Modified
2026-10-19 08:46
Summary
In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix flow mask use-after-free on flow deletion The commit in the Fixes tag below made so flow->mask free is scheduled via RCU right after it is removed from the flow table. The pointer stays in the flow structure and it can be accessible while in the same RCU critical section. This is done to avoid requiring ovs_mutex for the ovs_flow_free(). However, while removing the flow during processing of CMD_DEL, we do not take RCU read lock before the removal, and ovs_flow_cmd_fill_info() uses the flow->mask pointer afterwards. The RCU read lock is taken, but it's already late at that point. The comment on that line acknowledges that the lock is cosmetic and doesn't serve a real purpose. This leads to use-after-free if the RCU grace period passes between removal and the filling. It is a short race window, but it is there and can lead to a real crash in case memory allocation for the info takes a bit longer: BUG: KASAN: slab-use-after-free in __ovs_nla_put_key net/openvswitch/flow_netlink.c:1996 BUG: KASAN: slab-use-after-free in ovs_nla_put_key+0x2463/0x2e30 net/openvswitch/flow_netlink.c:2250 Read of size 4 at addr ffff88801ee89970 by task ovs_flow_del_ec/9487 Call Trace: <TASK> __ovs_nla_put_key net/openvswitch/flow_netlink.c:1996 ovs_nla_put_key+0x2463/0x2e30 net/openvswitch/flow_netlink.c:2250 ovs_flow_cmd_fill_info+0x420/0x9c0 net/openvswitch/datapath.c:930 ovs_flow_cmd_del+0x53a/0x970 net/openvswitch/datapath.c:1467 ... netlink_rcv_skb+0x156/0x420 net/netlink/af_netlink.c:2556 </TASK> Allocated by task 9487: mask_alloc net/openvswitch/flow_table.c:967 flow_mask_insert net/openvswitch/flow_table.c:1012 ovs_flow_tbl_insert+0xea2/0x1a90 net/openvswitch/flow_table.c:1084 ovs_flow_cmd_new+0x7e3/0xd90 net/openvswitch/datapath.c:1086 ... netlink_rcv_skb+0x156/0x420 net/netlink/af_netlink.c:2556 Freed by task 9485: rcu_free_sheaf+0x1e/0x100 mm/slub.c:5978 rcu_do_batch kernel/rcu/tree.c:2645 rcu_core+0x59c/0x10c0 kernel/rcu/tree.c:2897 handle_softirqs+0x1e4/0x9a0 kernel/softirq.c:622 ... instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 ovs_flow_tbl_remove() must be called after the ovs_flow_cmd_fill_info() to avoid this race. This also helps with cleaning up the forced cast and the cosmetic RCU read lock. Before the commit in the Fixes tag the order did not matter as long as the flow object itself was not freed. A wider RCU critical section could be another option, but we have a GFP_KERNEL allocation in the way. Reported by Trend Micro's Zero Day Initiative as ZDI-CAN-32042.
Impacted products
Vendor Product Version
Linux Linux Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Version: 56c19868e115fcf8d62d843e1b9616bb9837d0db
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-80994",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T19:22:00.365827Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-16T19:26:38.002Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/openvswitch/datapath.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ea5f7b45b582665541ddfb77dce98611354af4ab",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "18ce1a8b7499c016d4a893d9b1db80608f73745d",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "c15ef9a5bf594f93a31de2ec2ec394e2a903519a",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "64051fe200c7c759af71634bd2123552eaabb69a",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "0ba5cbc2f049af94ec94ff6f64958545efc5eaa2",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "ac73e3af571da06c1d1cfe3f0f00dc978b851700",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "7f072b84afd05a77963eb1872f7174e280661dce",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            },
            {
              "lessThan": "4e30317ff67a2eb12b4d890d39f72fd7e7117d48",
              "status": "affected",
              "version": "56c19868e115fcf8d62d843e1b9616bb9837d0db",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/openvswitch/datapath.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: openvswitch: fix flow mask use-after-free on flow deletion\n\nThe commit in the Fixes tag below made so flow-\u003emask free is scheduled\nvia RCU right after it is removed from the flow table.  The pointer\nstays in the flow structure and it can be accessible while in the same\nRCU critical section.  This is done to avoid requiring ovs_mutex for\nthe ovs_flow_free().\n\nHowever, while removing the flow during processing of CMD_DEL, we do\nnot take RCU read lock before the removal, and ovs_flow_cmd_fill_info()\nuses the flow-\u003emask pointer afterwards.  The RCU read lock is taken,\nbut it\u0027s already late at that point.  The comment on that line\nacknowledges that the lock is cosmetic and doesn\u0027t serve a real purpose.\n\nThis leads to use-after-free if the RCU grace period passes between\nremoval and the filling.  It is a short race window, but it is there\nand can lead to a real crash in case memory allocation for the info\ntakes a bit longer:\n\n BUG: KASAN: slab-use-after-free in __ovs_nla_put_key\n             net/openvswitch/flow_netlink.c:1996\n BUG: KASAN: slab-use-after-free in ovs_nla_put_key+0x2463/0x2e30\n             net/openvswitch/flow_netlink.c:2250\n Read of size 4 at addr ffff88801ee89970 by task ovs_flow_del_ec/9487\n\n Call Trace:\n  \u003cTASK\u003e\n  __ovs_nla_put_key net/openvswitch/flow_netlink.c:1996\n  ovs_nla_put_key+0x2463/0x2e30 net/openvswitch/flow_netlink.c:2250\n  ovs_flow_cmd_fill_info+0x420/0x9c0 net/openvswitch/datapath.c:930\n  ovs_flow_cmd_del+0x53a/0x970 net/openvswitch/datapath.c:1467\n  ...\n  netlink_rcv_skb+0x156/0x420 net/netlink/af_netlink.c:2556\n  \u003c/TASK\u003e\n\n Allocated by task 9487:\n  mask_alloc net/openvswitch/flow_table.c:967\n  flow_mask_insert net/openvswitch/flow_table.c:1012\n  ovs_flow_tbl_insert+0xea2/0x1a90 net/openvswitch/flow_table.c:1084\n  ovs_flow_cmd_new+0x7e3/0xd90 net/openvswitch/datapath.c:1086\n  ...\n  netlink_rcv_skb+0x156/0x420 net/netlink/af_netlink.c:2556\n\n Freed by task 9485:\n  rcu_free_sheaf+0x1e/0x100 mm/slub.c:5978\n  rcu_do_batch kernel/rcu/tree.c:2645\n  rcu_core+0x59c/0x10c0 kernel/rcu/tree.c:2897\n  handle_softirqs+0x1e4/0x9a0 kernel/softirq.c:622\n  ...\n  instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062\n\novs_flow_tbl_remove() must be called after the ovs_flow_cmd_fill_info()\nto avoid this race.  This also helps with cleaning up the forced cast\nand the cosmetic RCU read lock.  Before the commit in the Fixes tag the\norder did not matter as long as the flow object itself was not freed.\n\nA wider RCU critical section could be another option, but we have a\nGFP_KERNEL allocation in the way.\n\nReported by Trend Micro\u0027s Zero Day Initiative as ZDI-CAN-32042."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The UAF is reached only through OVS_FLOW_CMD_DEL on the ovs_flow Generic Netlink family via a local sendmsg() on an AF_NETLINK socket; packet receive and remote protocols cannot delete flows or call ovs_flow_cmd_del().\nAC:L - The attacker owns unique-mask flow insert and CMD_DEL with NLM_F_ECHO; after ovs_unlock(), GFP_KERNEL genlmsg_new() can sleep under attacker-induced memory pressure until kfree_rcu() of sw_flow_mask completes, so the race is attacker-controlled and repeatable.\nPR:L - OVS_FLOW_CMD_DEL/NEW and OVS_DP_CMD_NEW use GENL_UNS_ADMIN_PERM with netnsok, so only CAP_NET_ADMIN in the socket user namespace is required; an unprivileged user obtains that via unshare -Urn, and MODULE_ALIAS_GENL_FAMILY autoloads openvswitch.ko.\nUI:N - The attacker creates the datapath, installs a unique-mask flow, and deletes it with NLM_F_ECHO from their own process; no victim action is required.\nS:U - The slab use-after-free of sw_flow_mask stays in kernel heap on the same host and does not cross a VM, IOMMU, or hypervisor boundary.\nC:H - ovs_nla_put_mask() reads the freed flow-\u003emask-\u003ekey and copies it into the CMD_DEL netlink reply delivered to the attacker, so a reused or heap-sprayed slab object becomes an arbitrary kernel-memory disclosure primitive.\nI:H - This is a slab use-after-free of sw_flow_mask; after kfree_rcu() the attacker can reclaim the object so fill-info interprets attacker-controlled bytes as a flow mask, enabling heap spraying and write/control-flow primitives.\nA:H - KASAN reports a slab-use-after-free in __ovs_nla_put_key during ovs_flow_cmd_del, and dereference of the freed mask can oops or panic the kernel; the attacker can repeat CMD_DEL to deny availability."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:46:18.623Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ea5f7b45b582665541ddfb77dce98611354af4ab"
        },
        {
          "url": "https://git.kernel.org/stable/c/18ce1a8b7499c016d4a893d9b1db80608f73745d"
        },
        {
          "url": "https://git.kernel.org/stable/c/c15ef9a5bf594f93a31de2ec2ec394e2a903519a"
        },
        {
          "url": "https://git.kernel.org/stable/c/64051fe200c7c759af71634bd2123552eaabb69a"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ba5cbc2f049af94ec94ff6f64958545efc5eaa2"
        },
        {
          "url": "https://git.kernel.org/stable/c/ac73e3af571da06c1d1cfe3f0f00dc978b851700"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f072b84afd05a77963eb1872f7174e280661dce"
        },
        {
          "url": "https://git.kernel.org/stable/c/4e30317ff67a2eb12b4d890d39f72fd7e7117d48"
        }
      ],
      "title": "net: openvswitch: fix flow mask use-after-free on flow deletion",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80994",
    "datePublished": "2026-09-11T19:42:50.199Z",
    "dateReserved": "2026-08-26T14:34:25.812Z",
    "dateUpdated": "2026-10-19T08:46:18.623Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-80994\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T19:22:00.365827Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T19:22:01.347Z\"}}], \"cna\": {\"title\": \"net: openvswitch: fix flow mask use-after-free on flow deletion\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The UAF is reached only through OVS_FLOW_CMD_DEL on the ovs_flow Generic Netlink family via a local sendmsg() on an AF_NETLINK socket; packet receive and remote protocols cannot delete flows or call ovs_flow_cmd_del().\\nAC:L - The attacker owns unique-mask flow insert and CMD_DEL with NLM_F_ECHO; after ovs_unlock(), GFP_KERNEL genlmsg_new() can sleep under attacker-induced memory pressure until kfree_rcu() of sw_flow_mask completes, so the race is attacker-controlled and repeatable.\\nPR:L - OVS_FLOW_CMD_DEL/NEW and OVS_DP_CMD_NEW use GENL_UNS_ADMIN_PERM with netnsok, so only CAP_NET_ADMIN in the socket user namespace is required; an unprivileged user obtains that via unshare -Urn, and MODULE_ALIAS_GENL_FAMILY autoloads openvswitch.ko.\\nUI:N - The attacker creates the datapath, installs a unique-mask flow, and deletes it with NLM_F_ECHO from their own process; no victim action is required.\\nS:U - The slab use-after-free of sw_flow_mask stays in kernel heap on the same host and does not cross a VM, IOMMU, or hypervisor boundary.\\nC:H - ovs_nla_put_mask() reads the freed flow-\u003emask-\u003ekey and copies it into the CMD_DEL netlink reply delivered to the attacker, so a reused or heap-sprayed slab object becomes an arbitrary kernel-memory disclosure primitive.\\nI:H - This is a slab use-after-free of sw_flow_mask; after kfree_rcu() the attacker can reclaim the object so fill-info interprets attacker-controlled bytes as a flow mask, enabling heap spraying and write/control-flow primitives.\\nA:H - KASAN reports a slab-use-after-free in __ovs_nla_put_key during ovs_flow_cmd_del, and dereference of the freed mask can oops or panic the kernel; the attacker can repeat CMD_DEL to deny availability.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"ea5f7b45b582665541ddfb77dce98611354af4ab\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"18ce1a8b7499c016d4a893d9b1db80608f73745d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"c15ef9a5bf594f93a31de2ec2ec394e2a903519a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"64051fe200c7c759af71634bd2123552eaabb69a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"0ba5cbc2f049af94ec94ff6f64958545efc5eaa2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"ac73e3af571da06c1d1cfe3f0f00dc978b851700\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"7f072b84afd05a77963eb1872f7174e280661dce\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56c19868e115fcf8d62d843e1b9616bb9837d0db\", \"lessThan\": \"4e30317ff67a2eb12b4d890d39f72fd7e7117d48\", \"versionType\": \"git\"}], \"programFiles\": [\"net/openvswitch/datapath.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.270\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.221\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.188\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.157\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.109\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18.50\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"7.2.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"7.2.*\"}, {\"status\": \"unaffected\", \"version\": \"7.3\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/openvswitch/datapath.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/ea5f7b45b582665541ddfb77dce98611354af4ab\"}, {\"url\": \"https://git.kernel.org/stable/c/18ce1a8b7499c016d4a893d9b1db80608f73745d\"}, {\"url\": \"https://git.kernel.org/stable/c/c15ef9a5bf594f93a31de2ec2ec394e2a903519a\"}, {\"url\": \"https://git.kernel.org/stable/c/64051fe200c7c759af71634bd2123552eaabb69a\"}, {\"url\": \"https://git.kernel.org/stable/c/0ba5cbc2f049af94ec94ff6f64958545efc5eaa2\"}, {\"url\": \"https://git.kernel.org/stable/c/ac73e3af571da06c1d1cfe3f0f00dc978b851700\"}, {\"url\": \"https://git.kernel.org/stable/c/7f072b84afd05a77963eb1872f7174e280661dce\"}, {\"url\": \"https://git.kernel.org/stable/c/4e30317ff67a2eb12b4d890d39f72fd7e7117d48\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: openvswitch: fix flow mask use-after-free on flow deletion\\n\\nThe commit in the Fixes tag below made so flow-\u003emask free is scheduled\\nvia RCU right after it is removed from the flow table.  The pointer\\nstays in the flow structure and it can be accessible while in the same\\nRCU critical section.  This is done to avoid requiring ovs_mutex for\\nthe ovs_flow_free().\\n\\nHowever, while removing the flow during processing of CMD_DEL, we do\\nnot take RCU read lock before the removal, and ovs_flow_cmd_fill_info()\\nuses the flow-\u003emask pointer afterwards.  The RCU read lock is taken,\\nbut it\u0027s already late at that point.  The comment on that line\\nacknowledges that the lock is cosmetic and doesn\u0027t serve a real purpose.\\n\\nThis leads to use-after-free if the RCU grace period passes between\\nremoval and the filling.  It is a short race window, but it is there\\nand can lead to a real crash in case memory allocation for the info\\ntakes a bit longer:\\n\\n BUG: KASAN: slab-use-after-free in __ovs_nla_put_key\\n             net/openvswitch/flow_netlink.c:1996\\n BUG: KASAN: slab-use-after-free in ovs_nla_put_key+0x2463/0x2e30\\n             net/openvswitch/flow_netlink.c:2250\\n Read of size 4 at addr ffff88801ee89970 by task ovs_flow_del_ec/9487\\n\\n Call Trace:\\n  \u003cTASK\u003e\\n  __ovs_nla_put_key net/openvswitch/flow_netlink.c:1996\\n  ovs_nla_put_key+0x2463/0x2e30 net/openvswitch/flow_netlink.c:2250\\n  ovs_flow_cmd_fill_info+0x420/0x9c0 net/openvswitch/datapath.c:930\\n  ovs_flow_cmd_del+0x53a/0x970 net/openvswitch/datapath.c:1467\\n  ...\\n  netlink_rcv_skb+0x156/0x420 net/netlink/af_netlink.c:2556\\n  \u003c/TASK\u003e\\n\\n Allocated by task 9487:\\n  mask_alloc net/openvswitch/flow_table.c:967\\n  flow_mask_insert net/openvswitch/flow_table.c:1012\\n  ovs_flow_tbl_insert+0xea2/0x1a90 net/openvswitch/flow_table.c:1084\\n  ovs_flow_cmd_new+0x7e3/0xd90 net/openvswitch/datapath.c:1086\\n  ...\\n  netlink_rcv_skb+0x156/0x420 net/netlink/af_netlink.c:2556\\n\\n Freed by task 9485:\\n  rcu_free_sheaf+0x1e/0x100 mm/slub.c:5978\\n  rcu_do_batch kernel/rcu/tree.c:2645\\n  rcu_core+0x59c/0x10c0 kernel/rcu/tree.c:2897\\n  handle_softirqs+0x1e4/0x9a0 kernel/softirq.c:622\\n  ...\\n  instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062\\n\\novs_flow_tbl_remove() must be called after the ovs_flow_cmd_fill_info()\\nto avoid this race.  This also helps with cleaning up the forced cast\\nand the cosmetic RCU read lock.  Before the commit in the Fixes tag the\\norder did not matter as long as the flow object itself was not freed.\\n\\nA wider RCU critical section could be another option, but we have a\\nGFP_KERNEL allocation in the way.\\n\\nReported by Trend Micro\u0027s Zero Day Initiative as ZDI-CAN-32042.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.270\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.221\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.188\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.157\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.109\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.50\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.2.4\", \"versionStartIncluding\": \"3.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.3\", \"versionStartIncluding\": \"3.16\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-10-19T08:46:18.623Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-80994\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T08:46:18.623Z\", \"dateReserved\": \"2026-08-26T14:34:25.812Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-09-11T19:42:50.199Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…