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

net: openvswitch: fix possible kfree_skb of ERR_PTR

After the patch in the "Fixes" tag, the allocation of the "reply" skb
can happen either before or after locking the ovs_mutex.

However, error cleanups still follow the classical reversed order,
assuming "reply" is allocated before locking: it is freed after unlocking.

If "reply" allocation happens after locking the mutex and it fails,
"reply" is left with an ERR_PTR, and execution jumps to the correspondent
cleanup stage which will try to free an invalid pointer.

Fix this by setting the pointer to NULL after having saved its error
value.
Published: 2026-06-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in the Linux kernel’s Open vSwitch module can cause a kernel memory corruption when a reply socket buffer is incorrectly freed after a failed allocation. The issue arises because the cleanup code assumes the buffer was allocated and thus attempts to free a pointer that may actually be an error code. This invalid free can lead to a kernel crash or denial of service if executed.

Affected Systems

The vulnerability applies to the Open vSwitch component of the Linux kernel. All kernel releases that contain the unpatched Open vSwitch code are potentially affected; specific version ranges are not listed in the advisory and therefore all affected kernels should be considered vulnerable until the patch is applied.

Risk and Exploitability

The CVSS base score of 5.5 indicates a moderate severity, but the EPSS score of less than 1% suggests a low likelihood of exploitation in the general population. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is unclear whether privileged access or a specific attack vector is required; the flaw involves a kernel memory corruption that could be triggered by a failure during packet handling in Open vSwitch.

Generated by OpenCVE AI on August 13, 2026 at 13:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commit 0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d or later, which sets the pointer to NULL before freeing the reply buffer.
  • Perform a reboot to load the patched kernel and, if necessary, reload the Open vSwitch module thereafter.
  • If an immediate kernel upgrade is not possible, disable or uninstall the Open vSwitch kernel module until the patch can be applied.

Generated by OpenCVE AI on August 13, 2026 at 13:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4664-1 linux security update
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
History

Fri, 26 Jun 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 26 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-763
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 25 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix possible kfree_skb of ERR_PTR After the patch in the "Fixes" tag, the allocation of the "reply" skb can happen either before or after locking the ovs_mutex. However, error cleanups still follow the classical reversed order, assuming "reply" is allocated before locking: it is freed after unlocking. If "reply" allocation happens after locking the mutex and it fails, "reply" is left with an ERR_PTR, and execution jumps to the correspondent cleanup stage which will try to free an invalid pointer. Fix this by setting the pointer to NULL after having saved its error value.
Title net: openvswitch: fix possible kfree_skb of ERR_PTR
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-25T08:39:27.229Z

Reserved: 2026-06-09T07:44:35.392Z

Link: CVE-2026-53227

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-25T09:16:40.520

Modified: 2026-07-02T20:37:46.793

Link: CVE-2026-53227

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-25T00:00:00Z

Links: CVE-2026-53227 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T13:30:17Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-763

    Release of Invalid Pointer or Reference