CVE-2026-53227

net: openvswitch: fix possible kfree_skb of ERR_PTR

MEDIUM
5.5
CVSS Score
Published: June 25, 2026 at 08:39 AM UTC
Updated: October 15, 2026 at 02:20 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.16 ≤ v < 5.10.2595.11 ≤ v < 5.15.2105.16 ≤ v < 6.1.1766.13 ≤ v < 6.18.366.19 ≤ v < 7.0.136.2 ≤ v < 6.6.1436.7 ≤ v < 6.12.947.17.1 rc17.1 rc27.1 rc37.1 rc47.1 rc57.1 rc67.1 rc7893f139b9a6c00c097b9082a90f3041cfb3a0d20
Vendor states this is fixed in 0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d (fixed)
Vendor states this is fixed in 25fdf53698535fe8790237f5a8a9626791429785 (fixed)
Vendor states this is fixed in 895d1dd9057cde1687fa0f4286d47ceed0b82997 (fixed)
Vendor states this is fixed in 971b1b37774f13acc5add0a2843f8598446b8598 (fixed)
Vendor states this is fixed in e248fb2e680deb2bd37bac551b72638fe4938a76 (fixed)
Vendor states this is fixed in e3d509a1b71396e1452060dbf84a805fd1c3c549 (fixed)
Vendor states this is fixed in ecc55aad3390129a87106841f4b68bf3d70c9264 (fixed)
Vendor states this is fixed in ee30dd2909d8b98619f4341c70ec8dc8e155ab02 (fixed)
Vendor states this is fixed in 3.16 (unaffected)
Vendor states this is fixed in 5.10.259 (unaffected)
Vendor states this is fixed in 5.15.210 (unaffected)
Vendor states this is fixed in 6.1.176 (unaffected)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.36 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.13 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card