{
  "id": "CVE-2026-80994",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-80994",
  "published_at": "2026-09-11T19:42:50.199Z",
  "title": "net: openvswitch: fix flow mask use-after-free on flow deletion",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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's already late at that point.  The comment on that line\nacknowledges that the lock is cosmetic and doesn't 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's Zero Day Initiative as ZDI-CAN-32042.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c ea5f7b45b582665541ddfb77dce98611354af4ab",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c 18ce1a8b7499c016d4a893d9b1db80608f73745d",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c c15ef9a5bf594f93a31de2ec2ec394e2a903519a",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c 64051fe200c7c759af71634bd2123552eaabb69a",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c 0ba5cbc2f049af94ec94ff6f64958545efc5eaa2",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c ac73e3af571da06c1d1cfe3f0f00dc978b851700",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c 7f072b84afd05a77963eb1872f7174e280661dce",
          "\u003e= 56c19868e115fcf8d62d843e1b9616bb9837d0db, \u003c 4e30317ff67a2eb12b4d890d39f72fd7e7117d48"
        ],
        "fixed_in": [
          "ea5f7b45b582665541ddfb77dce98611354af4ab",
          "18ce1a8b7499c016d4a893d9b1db80608f73745d",
          "c15ef9a5bf594f93a31de2ec2ec394e2a903519a",
          "64051fe200c7c759af71634bd2123552eaabb69a",
          "0ba5cbc2f049af94ec94ff6f64958545efc5eaa2",
          "ac73e3af571da06c1d1cfe3f0f00dc978b851700",
          "7f072b84afd05a77963eb1872f7174e280661dce",
          "4e30317ff67a2eb12b4d890d39f72fd7e7117d48"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.16"
        ],
        "fixed_in": [
          "0",
          "5.10.270",
          "5.15.221",
          "6.1.188",
          "6.6.157",
          "6.12.109",
          "6.18.50",
          "7.2.4",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ea5f7b45b582665541ddfb77dce98611354af4ab or 18ce1a8b7499c016d4a893d9b1db80608f73745d or c15ef9a5bf594f93a31de2ec2ec394e2a903519a or 64051fe200c7c759af71634bd2123552eaabb69a or 0ba5cbc2f049af94ec94ff6f64958545efc5eaa2 or ac73e3af571da06c1d1cfe3f0f00dc978b851700 or 7f072b84afd05a77963eb1872f7174e280661dce or 4e30317ff67a2eb12b4d890d39f72fd7e7117d48 or later.",
      "Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
