CVE-2026-53227

net: openvswitch: fix possible kfree_skb of ERR_PTR

State
Published
Severity
Not scored
Published
Jun 25, 2026
Updated
Oct 15, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before e248fb2e680deb2bd37bac551b72638fe4938a76Affected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before 0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8dAffected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before 971b1b37774f13acc5add0a2843f8598446b8598Affected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before 25fdf53698535fe8790237f5a8a9626791429785Affected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before e3d509a1b71396e1452060dbf84a805fd1c3c549Affected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before ecc55aad3390129a87106841f4b68bf3d70c9264Affected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before 895d1dd9057cde1687fa0f4286d47ceed0b82997Affected
  • 893f139b9a6c00c097b9082a90f3041cfb3a0d20 to before ee30dd2909d8b98619f4341c70ec8dc8e155ab02Affected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.