CVE-2025-37789
published high CVSS 3.1 · 7.8net: openvswitch: fix nested key length validation in the set() action
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxccb1352e76cff0524e7ccb2074826a092dd13016 to < 54c6957d1123a2032099b9eab51c314800f677ce · ccb1352e76cff0524e7ccb2074826a092dd13016 to < 7fcaec0b2ab8fa5fbf0b45e5512364a168f445bd · ccb1352e76cff0524e7ccb2074826a092dd13016 to < a27526e6b48eee9e2d82efff502c4f272f1a91d4 · ccb1352e76cff0524e7ccb2074826a092dd13016 to < 1489c195c8eecd262aa6712761ba5288203e28ec · ccb1352e76cff0524e7ccb2074826a092dd13016 to < 824a7c2df5127b2402b68a21a265d413e78dcad7 · ccb1352e76cff0524e7ccb2074826a092dd13016 to < be80768d4f3b6fd13f421451cc3fee8778aba8bc · ccb1352e76cff0524e7ccb2074826a092dd13016 to < 03d7262dd53e8c404da35cc81aaa887fd901f76b · ccb1352e76cff0524e7ccb2074826a092dd13016 to < 65d91192aa66f05710cfddf6a14b5a25ee554dba · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.3 (affected) · 0 to < 3.3 (unaffected · semver) · 5.4.293 through 5.4.* (unaffected · semver) · 5.10.237 through 5.10.* (unaffected · semver) · 5.15.181 through 5.15.* (unaffected · semver) · 6.1.135 through 6.1.* (unaffected · semver) · 6.6.88 through 6.6.* (unaffected · semver) · 6.12.25 through 6.12.* (unaffected · semver) · 6.14.4 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-094 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-102 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| Debian | bullseye | linux | Advisory build | 5.10.237-1 | DLA-4178-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1050 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-995 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.30.1.el9_7 | ALSA-2026:2212 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.137-1~deb11u1 | DLA-4193-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix nested key length validation in the set() action It's not safe to access nla_len(ovs_key) if the data is smaller than the netlink header. Check that the attribute is OK first.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through a crafted generic-netlink message (OVS_FLOW_CMD_NEW / OVS_PACKET_CMD_EXECUTE) sent on an AF_NETLINK socket by a local process. There is no remote or adjacent-network path into openvswitch flow-action validation. AC:L - Triggering requires only a single well-formed netlink message containing an OVS_ACTION_ATTR_SET whose inner nlattr declares nla_len of 1-3; there is no race, no timing window, and no dependence on memory layout the attacker cannot influence. The negative-length path is fully in-bounds and deterministic, and the actions are validated before the datapath lookup so not even a datapath must exist. PR:L - The OVS flow genl ops use GENL_UNS_ADMIN_PERM with .netnsok = true, so the CAP_NET_ADMIN check is scoped to the netns's owning user namespace and any unprivileged user can satisfy it with `unshare -Urn`. The openvswitch module is autoloaded from an unprivileged CTRL_CMD_GETFAMILY lookup via MODULE_ALIAS_GENL_FAMILY. UI:N - The attacker performs the entire sequence themselves via socket()/sendmsg(); no action by any other user or administrator is needed. S:U - The corruption is confined to kernel memory under the same security authority as the attacking process; no VM, IOMMU, or hypervisor boundary is crossed. C:H - The bug produces out-of-bounds reads beyond the netlink skb — the KMSAN-confirmed header read, the unbounded forward scan in validate_masked() with a negative length, and a memcpy whose source is read for up to SIZE_MAX bytes. Data copied out of bounds lands in the flow's actions buffer, which is echoed back to userspace by OVS_FLOW_CMD_GET/DUMP, giving an arbitrary kernel-memory disclosure primitive. I:H - With key_len underflowing to (size_t)-1, `memcpy(nla_data(at), nla_data(ovs_key), key_len)` and the following `memset(..., 0xff, key_len)` perform an effectively unbounded out-of-bounds write over the kernel heap using attacker-influenced data. An out-of-bounds write of this scope is a full integrity compromise. A:H - The wild memcpy/memset will fault as soon as it walks off mapped memory, and the negative-length validate_masked() loop scans up to 4G of memory; either way the result is a kernel panic, and on sanitizer builds it is an immediate KASAN/KMSAN report. The crash is reachable repeatedly by an unprivileged local user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ccb1352e76cff0524e7ccb2074826a092dd13016 to < 54c6957d1123a2032099b9eab51c314800f677ce (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < 7fcaec0b2ab8fa5fbf0b45e5512364a168f445bd (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < a27526e6b48eee9e2d82efff502c4f272f1a91d4 (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < 1489c195c8eecd262aa6712761ba5288203e28ec (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < 824a7c2df5127b2402b68a21a265d413e78dcad7 (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < be80768d4f3b6fd13f421451cc3fee8778aba8bc (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < 03d7262dd53e8c404da35cc81aaa887fd901f76b (affected · git)ccb1352e76cff0524e7ccb2074826a092dd13016 to < 65d91192aa66f05710cfddf6a14b5a25ee554dba (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.3 (affected)0 to < 3.3 (unaffected · semver)5.4.293 through 5.4.* (unaffected · semver)5.10.237 through 5.10.* (unaffected · semver)5.15.181 through 5.15.* (unaffected · semver)6.1.135 through 6.1.* (unaffected · semver)6.6.88 through 6.6.* (unaffected · semver)6.12.25 through 6.12.* (unaffected · semver)6.14.4 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/03d7262dd53e8c404da35cc81aaa887fd901f76b
- https://git.kernel.org/stable/c/1489c195c8eecd262aa6712761ba5288203e28ec
- https://git.kernel.org/stable/c/54c6957d1123a2032099b9eab51c314800f677ce
- https://git.kernel.org/stable/c/65d91192aa66f05710cfddf6a14b5a25ee554dba
- https://git.kernel.org/stable/c/7fcaec0b2ab8fa5fbf0b45e5512364a168f445bd
- https://git.kernel.org/stable/c/824a7c2df5127b2402b68a21a265d413e78dcad7
- https://git.kernel.org/stable/c/a27526e6b48eee9e2d82efff502c4f272f1a91d4
- https://git.kernel.org/stable/c/be80768d4f3b6fd13f421451cc3fee8778aba8bc
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Provider assertions
3Linux · cna
net: openvswitch: fix nested key length validation in the set() action
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b42e43667bb2ffc6a873eebd59550ea863fec42d7c8aa1b78c4d49b7381b8d2
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record