{
  "id": "CVE-2025-38146",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38146",
  "published_at": "2025-07-03T08:35:52.23Z",
  "title": "net: openvswitch: Fix the dead loop of MPLS parse",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/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 the dead loop of MPLS parse\n\nThe unexpected MPLS packet may not end with the bottom label stack.\nWhen there are many stacks, The label count value has wrapped around.\nA dead loop occurs, soft lockup/CPU stuck finally.\n\nstack backtrace:\nUBSAN: array-index-out-of-bounds in /build/linux-0Pa0xK/linux-5.15.0/net/openvswitch/flow.c:662:26\nindex -1 is out of range for type '__be32 [3]'\nCPU: 34 PID: 0 Comm: swapper/34 Kdump: loaded Tainted: G           OE   5.15.0-121-generic #131-Ubuntu\nHardware name: Dell Inc. PowerEdge C6420/0JP9TF, BIOS 2.12.2 07/14/2021\nCall Trace:\n \u003cIRQ\u003e\n show_stack+0x52/0x5c\n dump_stack_lvl+0x4a/0x63\n dump_stack+0x10/0x16\n ubsan_epilogue+0x9/0x36\n __ubsan_handle_out_of_bounds.cold+0x44/0x49\n key_extract_l3l4+0x82a/0x840 [openvswitch]\n ? kfree_skbmem+0x52/0xa0\n key_extract+0x9c/0x2b0 [openvswitch]\n ovs_flow_key_extract+0x124/0x350 [openvswitch]\n ovs_vport_receive+0x61/0xd0 [openvswitch]\n ? kernel_init_free_pages.part.0+0x4a/0x70\n ? get_page_from_freelist+0x353/0x540\n netdev_port_receive+0xc4/0x180 [openvswitch]\n ? netdev_port_receive+0x180/0x180 [openvswitch]\n netdev_frame_hook+0x1f/0x40 [openvswitch]\n __netif_receive_skb_core.constprop.0+0x23a/0xf00\n __netif_receive_skb_list_core+0xfa/0x240\n netif_receive_skb_list_internal+0x18e/0x2a0\n napi_complete_done+0x7a/0x1c0\n bnxt_poll+0x155/0x1c0 [bnxt_en]\n __napi_poll+0x30/0x180\n net_rx_action+0x126/0x280\n ? bnxt_msix+0x67/0x80 [bnxt_en]\n handle_softirqs+0xda/0x2d0\n irq_exit_rcu+0x96/0xc0\n common_interrupt+0x8e/0xa0\n \u003c/IRQ\u003e",
  "cwe": "CWE-129",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.4,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c 4b9a086eedc1fddae632310386098c12155e3d0a",
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c ad17eb86d042d72a59fd184ad1adf34f5eb36843",
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c f26fe7c3002516dd3c288f1012786df31f4d89e0",
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c 8ebcd311b4866ab911d1445ead08690e67f0c488",
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c 69541e58323ec3e3904e1fa87a6213961b1f52f4",
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7",
          "\u003e= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \u003c 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99"
        ],
        "fixed_in": [
          "4b9a086eedc1fddae632310386098c12155e3d0a",
          "ad17eb86d042d72a59fd184ad1adf34f5eb36843",
          "f26fe7c3002516dd3c288f1012786df31f4d89e0",
          "8ebcd311b4866ab911d1445ead08690e67f0c488",
          "69541e58323ec3e3904e1fa87a6213961b1f52f4",
          "3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7",
          "0bdc924bfb319fb10d1113cbf091fc26fb7b1f99"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.5"
        ],
        "fixed_in": [
          "0",
          "5.10.239",
          "5.15.186",
          "6.1.142",
          "6.6.94",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4b9a086eedc1fddae632310386098c12155e3d0a or ad17eb86d042d72a59fd184ad1adf34f5eb36843 or f26fe7c3002516dd3c288f1012786df31f4d89e0 or 8ebcd311b4866ab911d1445ead08690e67f0c488 or 69541e58323ec3e3904e1fa87a6213961b1f52f4 or 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7 or 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99 or later.",
      "Upgrade Linux to 0 or 5.10.239 or 5.15.186 or 6.1.142 or 6.6.94 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
