# CVE-2025-38146: net: openvswitch: Fix the dead loop of MPLS parse

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.4
- **CVSS:** 9.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2025-07-03T08:35:52.230Z
- **Modified:** 2026-10-15T22:18:28.953Z

## Who should check

- Anyone running Linux \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 4b9a086eedc1fddae632310386098c12155e3d0a; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< ad17eb86d042d72a59fd184ad1adf34f5eb36843; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< f26fe7c3002516dd3c288f1012786df31f4d89e0; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 8ebcd311b4866ab911d1445ead08690e67f0c488; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 69541e58323ec3e3904e1fa87a6213961b1f52f4; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99
- Anyone running Linux 5.5

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: openvswitch: Fix the dead loop of MPLS parse

The unexpected MPLS packet may not end with the bottom label stack.
When there are many stacks, The label count value has wrapped around.
A dead loop occurs, soft lockup/CPU stuck finally.

stack backtrace:
UBSAN: array-index-out-of-bounds in /build/linux-0Pa0xK/linux-5.15.0/net/openvswitch/flow.c:662:26
index -1 is out of range for type '\_\_be32 \[3\]'
CPU: 34 PID: 0 Comm: swapper/34 Kdump: loaded Tainted: G           OE   5.15.0-121-generic \#131-Ubuntu
Hardware name: Dell Inc. PowerEdge C6420/0JP9TF, BIOS 2.12.2 07/14/2021
Call Trace:
 \<IRQ\>
 show\_stack+0x52/0x5c
 dump\_stack\_lvl+0x4a/0x63
 dump\_stack+0x10/0x16
 ubsan\_epilogue+0x9/0x36
 \_\_ubsan\_handle\_out\_of\_bounds.cold+0x44/0x49
 key\_extract\_l3l4+0x82a/0x840 \[openvswitch\]
 ? kfree\_skbmem+0x52/0xa0
 key\_extract+0x9c/0x2b0 \[openvswitch\]
 ovs\_flow\_key\_extract+0x124/0x350 \[openvswitch\]
 ovs\_vport\_receive+0x61/0xd0 \[openvswitch\]
 ? kernel\_init\_free\_pages.part.0+0x4a/0x70
 ? get\_page\_from\_freelist+0x353/0x540
 netdev\_port\_receive+0xc4/0x180 \[openvswitch\]
 ? netdev\_port\_receive+0x180/0x180 \[openvswitch\]
 netdev\_frame\_hook+0x1f/0x40 \[openvswitch\]
 \_\_netif\_receive\_skb\_core.constprop.0+0x23a/0xf00
 \_\_netif\_receive\_skb\_list\_core+0xfa/0x240
 netif\_receive\_skb\_list\_internal+0x18e/0x2a0
 napi\_complete\_done+0x7a/0x1c0
 bnxt\_poll+0x155/0x1c0 \[bnxt\_en\]
 \_\_napi\_poll+0x30/0x180
 net\_rx\_action+0x126/0x280
 ? bnxt\_msix+0x67/0x80 \[bnxt\_en\]
 handle\_softirqs+0xda/0x2d0
 irq\_exit\_rcu+0x96/0xc0
 common\_interrupt+0x8e/0xa0
 \</IRQ\>

## Affected and fixed versions

- Linux: \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 4b9a086eedc1fddae632310386098c12155e3d0a; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< ad17eb86d042d72a59fd184ad1adf34f5eb36843; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< f26fe7c3002516dd3c288f1012786df31f4d89e0; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 8ebcd311b4866ab911d1445ead08690e67f0c488; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 69541e58323ec3e3904e1fa87a6213961b1f52f4; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38146. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38146.md
Affected: Linux >= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, < 4b9a086eedc1fddae632310386098c12155e3d0a; >= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, < ad17eb86d042d72a59fd184ad1adf34f5eb36843; >= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, < f26fe7c3002516dd3c288f1012786df31f4d89e0; >= fbdcdd78da7c95f1b970d37…
Fixed in: Linux 4b9a086eedc1fddae632310386098c12155e3d0a, Linux 8ebcd311b4866ab911d1445ead08690e67f0c488, Linux 69541e58323ec3e3904e1fa87a6213961b1f52f4, Linux 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7, Linux 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38146 being exploited?

There is no confirmed exploitation: CVE-2025-38146 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38146?

Critical: CVSS 9.4 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-38146?

Linux \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 4b9a086eedc1fddae632310386098c12155e3d0a; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< ad17eb86d042d72a59fd184ad1adf34f5eb36843; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< f26fe7c3002516dd3c288f1012786df31f4d89e0; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 8ebcd311b4866ab911d1445ead08690e67f0c488; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 69541e58323ec3e3904e1fa87a6213961b1f52f4; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7; \>= fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3, \< 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99; Linux 5.5.

### Is there a fix for CVE-2025-38146?

Yes. Fixed in Linux 4b9a086eedc1fddae632310386098c12155e3d0a, Linux 8ebcd311b4866ab911d1445ead08690e67f0c488, Linux 69541e58323ec3e3904e1fa87a6213961b1f52f4, Linux 3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7, Linux 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99. Upgrade Linux to 0bdc924bfb319fb10d1113cbf091fc26fb7b1f99 or later.

### How do I check if I'm affected by CVE-2025-38146?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4b9a086eedc1fddae632310386098c12155e3d0a>
- patch: <https://git.kernel.org/stable/c/ad17eb86d042d72a59fd184ad1adf34f5eb36843>
- patch: <https://git.kernel.org/stable/c/f26fe7c3002516dd3c288f1012786df31f4d89e0>
- patch: <https://git.kernel.org/stable/c/8ebcd311b4866ab911d1445ead08690e67f0c488>
- patch: <https://git.kernel.org/stable/c/69541e58323ec3e3904e1fa87a6213961b1f52f4>
- patch: <https://git.kernel.org/stable/c/3c1906a3d50cb94fd0a10e97a1c0a40c0f033cb7>
- patch: <https://git.kernel.org/stable/c/0bdc924bfb319fb10d1113cbf091fc26fb7b1f99>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38146>

HTML: <https://flawdb.com/CVE-2025-38146> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38146>
