Skip to main content

Linux Kernel CVE-2025-68785

HIGH
Out-of-bounds Read (CWE-125)
2026-01-13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
High
Disputed · 7.1 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local CAP_NET_ADMIN access
  2. Delivery
    Craft PUSH_NSH action with malformed middle NSH attribute
  3. Exploit
    Send via OVS Generic Netlink command
  4. Execution
    Datapath executes push_nsh over exact-sized buffer
  5. Persist
    Out-of-bounds slab read in nsh_hdr_from_nlattr
  6. Impact
    Kernel memory disclosure or host crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to the host and the CAP_NET_ADMIN capability (in the relevant user/network namespace) in order to submit Open vSwitch datapath actions over Generic Netlink - consistent with AV:L/PR:L. The attacker must be able to reach the openvswitch module, so the datapath must be loaded/in use (default on hosts running Open vSwitch, common in cloud, SDN, and container-networking deployments). The specific trigger is a PUSH_NSH action (OVS_ACTION_ATTR_PUSH_NSH) whose intermediate OVS_KEY_ATTR_NSH attribute has an incorrect/undersized length. Limiting factors: it is not remotely exploitable, requires a privileged capability rather than an unprivileged user, and requires that Open vSwitch be deployed; there is no user-interaction requirement.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (7.1 High) is internally consistent with the description: exploitation is local (AV:L) and requires privileges (PR:L) because sending OVS datapath netlink commands needs CAP_NET_ADMIN, while impact is confidentiality (kernel memory disclosure via the OOB read) and availability (KASAN-detected memory corruption crashing the host); integrity is untouched (I:N). All exploitation signals point to low real-world urgency: EPSS is 0.07% (20th percentile), there is no CISA KEV listing, and no public POC beyond the reproducer implied by the KASAN trace. There is no CWE assigned in the input (CWE: N/A), but the KASAN 'slab-out-of-bounds Read' behavior maps clearly to CWE-125. This is a defense-in-depth local kernel hardening fix rather than a remotely exploitable, mass-exploitation priority: the privilege requirement (CAP_NET_ADMIN) sharply limits the attacker population, so it primarily matters for multi-tenant, container-host, or namespace-delegated environments where CAP_NET_ADMIN may be exposed.

Exploit ScenarioDerived

A low-privileged tenant with CAP_NET_ADMIN inside a delegated network namespace (for example, a container granted network administration) crafts an OVS packet-execute or flow-install netlink message containing a PUSH_NSH action whose middle OVS_KEY_ATTR_NSH attribute is deliberately undersized. When the datapath executes the action, nsh_hdr_from_nlattr() reads past the exactly-sized action buffer, disclosing adjacent kernel slab memory or triggering memory corruption that panics the host. No public exploit is identified at time of analysis, though the KASAN backtrace implies a working reproducer exists privately.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 30, 2026

Out-of-bounds memory access in the Linux kernel's Open vSwitch (openvswitch) module allows a local user holding CAP_NET_ADMIN to leak kernel memory or crash the host by submitting a malformed OVS_ACTION_ATTR_PUSH_NSH netlink action with an incorrectly sized middle attribute. The push_nsh() action path validates the outer and inner NSH attributes but never checks the intermediate OVS_KEY_ATTR_NSH wrapper, so nsh_hdr_from_nlattr() performs a 184-byte read past a slab allocation (KASAN slab-out-of-bounds). A patch is available from the kernel stable tree and via Ubuntu USN-8096-1; there is no public exploit identified at time of analysis, and EPSS is very low (0.07%).

Earlier versions of this analysis (2)
v2 Jul 30, 2026 - 07:25 cvss changed CVSS 7.1

Out-of-bounds kernel memory access in the Linux kernel's in-tree Open vSwitch (openvswitch) datapath module lets a local user with network-configuration privileges leak kernel memory or crash the host by submitting a malformed push_nsh flow action. The push_nsh() code path validates only the outer OVS_ACTION_ATTR_PUSH_NSH and the inner OVS_NSH_KEY_ATTR_BASE/MD1/MD2 attributes, but never checks the middle OVS_KEY_ATTR_NSH wrapper's type or size, so a wrongly sized attribute passes validation and later triggers a slab-out-of-bounds read (confirmed via KASAN) in nsh_hdr_from_nlattr() during action execution. No public exploit identified at time of analysis and EPSS is low (0.07%), but a vendor/upstream patch is available across multiple stable branches.

v1 Mar 12, 2026 - 21:54

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

net: openvswitch: fix middle attribute validation in push_nsh() action

The push_nsh() action structure looks like this:

OVS_ACTION_ATTR_PUSH_NSH(OVS_KEY_ATTR_NSH(OVS_NSH_KEY_ATTR_BASE,...))

The outermost OVS_ACTION_ATTR_PUSH_NSH attribute is OK'ed by the nla_for_each_nested() inside __ovs_nla_copy_actions().

RemediationAI

Patch available per vendor advisory: apply the stable-kernel fix that adds length and single-attribute validation to the OVS_KEY_ATTR_NSH middle attribute in push_nsh(); the fix is carried in the kernel stable commits listed at git.kernel.org (e.g. https://git.kernel.org/stable/c/10ffc558246f2c75619aedda0921906095e46702). Distribution users should upgrade to the fixed kernel package per their vendor advisory - Ubuntu users via USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1) followed by a reboot. Where immediate patching is not possible, the practical compensating control is to remove the attack surface by restricting CAP_NET_ADMIN: do not grant CAP_NET_ADMIN to untrusted users, containers, or network namespaces, and if the openvswitch datapath is not in use, blacklist/unload the openvswitch kernel module (trade-off: this breaks any OVS-based networking, so it is only viable on hosts that do not rely on Open vSwitch). These controls reduce exposure but do not fix the underlying OOB read, so patching remains the correct long-term action.

Affected ProductsAI

The vulnerability affects the Open vSwitch (openvswitch) module in the mainline Linux kernel; the reproducer was observed on 6.18.0-rc7+. Fixes were backported across multiple stable branches, as evidenced by seven separate git.kernel.org stable commits (e.g. 10ffc558246f2c75619aedda0921906095e46702 and d0c135b8bbbcf92836068fd395bebeb7ae6c7bef). Distribution-packaged kernels are affected: Ubuntu published advisory USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1), and VulDB tracks it as entry 340673 (https://vuldb.com/?id.340673). No CPE strings were provided in the input, so exact affected version ranges should be confirmed against each distribution's advisory rather than treated as authoritatively enumerated here.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the kernel's Open vSwitch datapath, which programs flow actions from userspace via a Generic Netlink interface using nested netlink attributes. A PUSH_NSH action is encoded as OVS_ACTION_ATTR_PUSH_NSH → OVS_KEY_ATTR_NSH → OVS_NSH_KEY_ATTR_BASE/MD1/MD2. During validation (__ovs_nla_copy_actions → validate_push_nsh → nsh_key_put_from_nlattr) the outermost attribute is iterated safely and the innermost NSH key attributes are iterated safely, but the middle OVS_KEY_ATTR_NSH wrapper is unwrapped twice with raw nla_data() calls without any type or length check. This is a classic CWE-125 (Out-of-Bounds Read) / improper input validation root cause: the code trusts an attacker-supplied nested attribute's implied size. Validation may pass because the netlink receive buffer is oversized, but at action execution time the action buffer is allocated to the exact size, so nsh_hdr_from_nlattr() reads beyond it. The affected component is the in-tree openvswitch kernel module, not the userspace ovs-vswitchd daemon.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 7.1 HIGH

Local netlink access needing CAP_NET_ADMIN gives AV:L/PR:L; the OOB read leaks kernel memory (C:H) and corrupts memory to crash the host (A:H) with no integrity impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.7 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:H
Red Hat 5.5 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 07:25 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 07:25 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.1 (HIGH)
Patch released
Mar 16, 2026 - 15:00 nvd
Patch available
CVE Published
Jan 13, 2026 - 16:15 nvd
N/A

DescriptionCVE.org

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

net: openvswitch: fix middle attribute validation in push_nsh() action

The push_nsh() action structure looks like this:

OVS_ACTION_ATTR_PUSH_NSH(OVS_KEY_ATTR_NSH(OVS_NSH_KEY_ATTR_BASE,...))

The outermost OVS_ACTION_ATTR_PUSH_NSH attribute is OK'ed by the nla_for_each_nested() inside __ovs_nla_copy_actions(). The innermost OVS_NSH_KEY_ATTR_BASE/MD1/MD2 are OK'ed by the nla_for_each_nested() inside nsh_key_put_from_nlattr(). But nothing checks if the attribute in the middle is OK. We don't even check that this attribute is the OVS_KEY_ATTR_NSH. We just do a double unwrap with a pair of nla_data() calls - first time directly while calling validate_push_nsh() and the second time as part of the nla_for_each_nested() macro, which isn't safe, potentially causing invalid memory access if the size of this attribute is incorrect. The failure may not be noticed during validation due to larger netlink buffer, but cause trouble later during action execution where the buffer is allocated exactly to the size:

BUG: KASAN: slab-out-of-bounds in nsh_hdr_from_nlattr+0x1dd/0x6a0 [openvswitch] Read of size 184 at addr ffff88816459a634 by task a.out/22624

CPU: 8 UID: 0 PID: 22624 6.18.0-rc7+ #115 PREEMPT(voluntary) Call Trace: <TASK> dump_stack_lvl+0x51/0x70 print_address_description.constprop.0+0x2c/0x390 kasan_report+0xdd/0x110 kasan_check_range+0x35/0x1b0 __asan_memcpy+0x20/0x60 nsh_hdr_from_nlattr+0x1dd/0x6a0 [openvswitch] push_nsh+0x82/0x120 [openvswitch] do_execute_actions+0x1405/0x2840 [openvswitch] ovs_execute_actions+0xd5/0x3b0 [openvswitch] ovs_packet_cmd_execute+0x949/0xdb0 [openvswitch] genl_family_rcv_msg_doit+0x1d6/0x2b0 genl_family_rcv_msg+0x336/0x580 genl_rcv_msg+0x9f/0x130 netlink_rcv_skb+0x11f/0x370 genl_rcv+0x24/0x40 netlink_unicast+0x73e/0xaa0 netlink_sendmsg+0x744/0xbf0 __sys_sendto+0x3d6/0x450 do_syscall_64+0x79/0x2c0 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK>

Let's add some checks that the attribute is properly sized and it's the only one attribute inside the action. Technically, there is no real reason for OVS_KEY_ATTR_NSH to be there, as we know that we're pushing an NSH header already, it just creates extra nesting, but that's how uAPI works today. So, keeping as it is.

Executive ViewAI

Why It Matters

A memory disclosure vulnerability in the Linux kernel's Open vSwitch module (CVE-2025-68785, CVSS 7.1) allows local users with administrative network capabilities to leak kernel memory or crash the host. No public exploit identified at time of analysis, but the availability impact and memory disclosure risk warrant immediate patching to protect network virtualization infrastructure from compromised service accounts.

Business Impact: High
Compensating Controls

Apply vendor patch via Linux kernel stable tree or Ubuntu USN-8096-1.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Ubiquitous
Linux kernel; openvswitch module ships in nearly all mainstream distributions
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/base-os-container:2.1.3-7.105 Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE Affected
Container suse/sl-micro/6.0/kvm-os-container:2.1.3-6.124 Affected
Container suse/sl-micro/6.0/rt-os-container:2.1.3-7.146 Affected
Container suse/sl-micro/6.1/baremetal-os-container:latest Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.90 Affected

References

Advisories & patches
ADVISORY https://ubuntu.com/security/notices/USN-8096-1 ADVISORY https://vuldb.com/?id.340673 ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:0962/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:1081/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20667/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20711/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20713/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20720/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20772/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20794/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20819/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20838/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20845/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20873/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20876/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:20931/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2026:21284/ REF https://git.kernel.org/stable/c/10ffc558246f2c75619aedda0921906095e46702 REF https://git.kernel.org/stable/c/1b569db9c2f28b599e40050524aae5f7332bc294 REF https://git.kernel.org/stable/c/2ecfc4433acdb149eafd7fb22d7fd4adf90b25e9 REF https://git.kernel.org/stable/c/3bc2efff20a38b2c7ca18317649715df0dd62ced REF https://git.kernel.org/stable/c/5ace7ef87f059d68b5f50837ef3e8a1a4870c36e REF https://git.kernel.org/stable/c/c999153bfb2d1d9b295b7010d920f2a7c6d7595f REF https://git.kernel.org/stable/c/d0c135b8bbbcf92836068fd395bebeb7ae6c7bef

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy