CVE-2026-53227

Source
https://cve.org/CVERecord?id=CVE-2026-53227
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53227.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53227
Downstream
Related
Published
2026-06-25T08:39:27.229Z
Modified
2026-07-08T08:13:46.634159133Z
Summary
net: openvswitch: fix possible kfree_skb of ERR_PTR
Details

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

net: openvswitch: fix possible kfreeskb of ERRPTR

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53227.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
893f139b9a6c00c097b9082a90f3041cfb3a0d20
Fixed
e248fb2e680deb2bd37bac551b72638fe4938a76
Fixed
0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d
Fixed
971b1b37774f13acc5add0a2843f8598446b8598
Fixed
25fdf53698535fe8790237f5a8a9626791429785
Fixed
e3d509a1b71396e1452060dbf84a805fd1c3c549
Fixed
ecc55aad3390129a87106841f4b68bf3d70c9264
Fixed
895d1dd9057cde1687fa0f4286d47ceed0b82997
Fixed
ee30dd2909d8b98619f4341c70ec8dc8e155ab02

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53227.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.16.0
Fixed
5.10.259
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.176
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53227.json"