CVE-2026-45840

MEDIUMNVD 5.55.5
EchelonGraph scoreMEDIUM confidence

Score 5.5 from GitHub Security Advisory published 2026-05-27. NVD baseline CVSS 5.5; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
5.5
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 5.5Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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

openvswitch: cap upcall PID array size and pre-size vport replies

The vport netlink reply helpers allocate a fixed-size skb with nlmsg_new(NLMSG_DEFAULT_SIZE, ...) but serialize the full upcall PID array via ovs_vport_get_upcall_portids(). Since ovs_vport_set_upcall_portids() accepts any non-zero multiple of sizeof(u32) with no upper bound, a CAP_NET_ADMIN user can install a PID array large enough to overflow the reply buffer, causing nla_put() to fail with -EMSGSIZE and hitting BUG_ON(err < 0). On systems with unprivileged user namespaces enabled (e.g., Ubuntu default), this is reachable via unshare -Urn since OVS vport mutation operations use GENL_UNS_ADMIN_PERM.

kernel BUG at net/openvswitch/datapath.c:2414! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 65 Comm: poc Not tainted 7.0.0-rc7-00195-geb216e422044 #1 RIP: 0010:ovs_vport_cmd_set+0x34c/0x400 Call Trace: genl_family_rcv_msg_doit (net/netlink/genetlink.c:1116) genl_rcv_msg (net/netlink/genetlink.c:1194) netlink_rcv_skb (net/netlink/af_netlink.c:2550) genl_rcv (net/netlink/genetlink.c:1219) netlink_unicast (net/netlink/af_netlink.c:1344) netlink_sendmsg (net/netlink/af_netlink.c:1894) __sys_sendto (net/socket.c:2206) __x64_sys_sendto (net/socket.c:2209) do_syscall_64 (arch/x86/entry/syscall_64.c:63) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Kernel panic - not syncing: Fatal exception

Reject attempts to set more PIDs than nr_cpu_ids in ovs_vport_set_upcall_portids(), and pre-compute the worst-case reply size in ovs_vport_cmd_msg_size() based on that bound, similar to the existing ovs_dp_cmd_msg_size(). nr_cpu_ids matches the cap already used by the per-CPU dispatch configuration on the datapath side (ovs_dp_cmd_fill_info() serialises at most nr_cpu_ids PIDs), so the two sides stay consistent.

CVSS v3
5.5
EG Score
5.5(medium)
EPSS
1.9%
KEV
Not listed

Published

May 27, 2026

Last Modified

June 26, 2026

Advisory Details (8)

Auto-updated Jun 26, 2026
No patch confirmed yet.
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/fa6e90bc443bed8dc0d55bc5ea5b27ffdfe37704
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f9ef3db77a383d66847fd082c2b437d8ae4d9c63
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/f99ac36b5d7c719d08a69fcdecce40f78a874e15
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/d9e47e29aacb9f8a9d59feb6ab5b128a9bbb40b0
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/b39f763d720d623218bc1d95ace6855d7b474e81
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/8d59b80e69dddb665eb2de36e62859ab2073470e
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/2091c6aa0df6aba47deb5c8ab232b1cb60af3519
generic

openvswitch: cap upcall PID array size and pre-size vport replies - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/1d6c02b86329883aa467a3a61f8d34369db73a2f

Vendor Advisories for CVE-2026-45840(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 6× in last 7d / 49× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-15 16:57 UTCEPSS rescore
  2. 2026-07-13 22:30 UTCEPSS rescore
  3. 2026-07-13 06:13 UTCEPSS rescore
  4. 2026-07-12 05:46 UTCEPSS rescore
  5. 2026-07-11 08:27 UTCEPSS rescore
  6. 2026-07-09 19:10 UTCEPSS rescore
  7. 2026-07-08 15:16 UTCEPSS rescore
  8. 2026-07-07 13:46 UTCEPSS rescore
  9. 2026-07-06 02:23 UTCEPSS rescore
  10. 2026-07-05 02:30 UTCEPSS rescore
  11. 2026-07-04 06:31 UTCEPSS rescore
  12. 2026-07-01 11:41 UTCEG score recompute
  13. 2026-07-01 11:41 UTCVendor advisory
  14. 2026-07-01 11:41 UTCGHSA enrichment
  15. 2026-06-30 23:22 UTCEPSS rescore
  16. 2026-06-30 06:00 UTCEG score recompute
  17. 2026-06-30 06:00 UTCVendor advisory
  18. 2026-06-30 06:00 UTCGHSA enrichment
  19. 2026-06-29 14:06 UTCEPSS rescore
  20. 2026-06-29 14:06 UTCEPSS rescore
  21. 2026-06-29 00:28 UTCEG score recompute
  22. 2026-06-29 00:28 UTCVendor advisory
  23. 2026-06-29 00:28 UTCGHSA enrichment
  24. 2026-06-28 14:07 UTCEPSS rescore
  25. 2026-06-28 04:56 UTCEPSS rescore
Show 67 more
  1. 2026-06-28 04:56 UTCEPSS rescore
  2. 2026-06-27 23:35 UTCEG score recompute 5.50
  3. 2026-06-27 23:35 UTCVendor advisory
  4. 2026-06-27 23:35 UTCGHSA enrichment
  5. 2026-06-27 03:08 UTCEPSS rescore
  6. 2026-06-26 19:41 UTCNVD updateCVSS v3 → 5.5 · severity → MEDIUM
  7. 2026-06-25 13:49 UTCEPSS rescore
  8. 2026-06-25 02:16 UTCVendor advisory
  9. 2026-06-25 02:16 UTCGHSA enrichment
  10. 2026-06-24 14:05 UTCEPSS rescore
  11. 2026-06-23 21:33 UTCEPSS rescore
  12. 2026-06-23 21:33 UTCEPSS rescore
  13. 2026-06-22 14:25 UTCEPSS rescore
  14. 2026-06-22 14:25 UTCEPSS rescore
  15. 2026-06-21 14:56 UTCEPSS rescore
  16. 2026-06-21 14:56 UTCEPSS rescore
  17. 2026-06-21 01:59 UTCEPSS rescore
  18. 2026-06-21 01:59 UTCEPSS rescore
  19. 2026-06-19 19:26 UTCEPSS rescore
  20. 2026-06-19 19:26 UTCEPSS rescore
  21. 2026-06-18 17:52 UTCEPSS rescore
  22. 2026-06-18 17:52 UTCEPSS rescore
  23. 2026-06-17 17:53 UTCEPSS rescore
  24. 2026-06-16 17:52 UTCEPSS rescore
  25. 2026-06-15 17:49 UTCEPSS rescore
  26. 2026-06-15 13:36 UTCVendor advisory
  27. 2026-06-15 13:36 UTCGHSA enrichment
  28. 2026-06-14 23:28 UTCMITRE cvelistV5
  29. 2026-06-13 23:00 UTCEPSS rescore
  30. 2026-06-12 23:12 UTCEPSS rescore
  31. 2026-06-12 23:12 UTCEPSS rescore
  32. 2026-06-12 15:03 UTCVendor advisory
  33. 2026-06-12 15:03 UTCGHSA enrichment
  34. 2026-06-11 14:00 UTCEPSS rescore
  35. 2026-06-10 22:18 UTCEPSS rescore
  36. 2026-06-10 13:22 UTCEPSS rescore
  37. 2026-06-10 13:22 UTCEPSS rescore
  38. 2026-06-09 17:44 UTCGHSA enrichment
  39. 2026-06-08 14:17 UTCEPSS rescore
  40. 2026-06-08 14:17 UTCEPSS rescore
  41. 2026-06-07 15:25 UTCEPSS rescore
  42. 2026-06-07 15:25 UTCEPSS rescore
  43. 2026-06-06 20:25 UTCGHSA enrichment
  44. 2026-06-06 13:47 UTCEPSS rescore
  45. 2026-06-06 13:47 UTCEPSS rescore
  46. 2026-06-05 22:47 UTCEPSS rescore
  47. 2026-06-05 06:10 UTCEPSS rescore
  48. 2026-06-05 06:10 UTCEPSS rescore
  49. 2026-06-04 13:12 UTCEPSS rescore
  50. 2026-06-04 13:12 UTCEPSS rescore
  51. 2026-06-03 23:06 UTCGHSA enrichment
  52. 2026-06-02 20:13 UTCEPSS rescore
  53. 2026-06-01 13:52 UTCEPSS rescore
  54. 2026-06-01 13:52 UTCEPSS rescore
  55. 2026-06-01 01:47 UTCEG score recompute
  56. 2026-06-01 01:47 UTCGHSA enrichment
  57. 2026-05-31 22:30 UTCEPSS rescore
  58. 2026-05-31 22:30 UTCEPSS rescore
  59. 2026-05-31 00:16 UTCEPSS rescore
  60. 2026-05-31 00:16 UTCEPSS rescore
  61. 2026-05-29 13:44 UTCEPSS rescore
  62. 2026-05-29 13:44 UTCEPSS rescore
  63. 2026-05-28 13:44 UTCEPSS rescore
  64. 2026-05-28 13:44 UTCEPSS rescore
  65. 2026-05-27 13:40 UTCEPSS rescore
  66. 2026-05-27 13:40 UTCEPSS rescore
  67. 2026-05-27 10:31 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-45840?
CVE-2026-45840 is a medium vulnerability published on May 27, 2026. In the Linux kernel, the following vulnerability has been resolved: openvswitch: cap upcall PID array size and pre-size vport replies The vport netlink reply helpers allocate a fixed-size skb with nlmsgnew(NLMSGDEFAULT_SIZE, ...) but serialize the full upcall PID array via…
When was CVE-2026-45840 disclosed?
CVE-2026-45840 was first published in the National Vulnerability Database on May 27, 2026, with the most recent update on June 26, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-45840 actively exploited?
CVE-2026-45840 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1.9% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-45840?
CVE-2026-45840 has a CVSS v3 base score of 5.5 (NVD).
How do I remediate CVE-2026-45840?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-45840, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-45840

Explore →

Is Your Infrastructure Affected by CVE-2026-45840?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.