CVE-2026-53227 (GCVE-0-2026-53227)

Vulnerability from cvelistv5 – Published: 2026-06-25 08:39 – Updated: 2026-06-25 08:39
VLAI
Title
net: openvswitch: fix possible kfree_skb of ERR_PTR
Summary
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.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < e248fb2e680deb2bd37bac551b72638fe4938a76 (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < 0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < 971b1b37774f13acc5add0a2843f8598446b8598 (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < 25fdf53698535fe8790237f5a8a9626791429785 (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < e3d509a1b71396e1452060dbf84a805fd1c3c549 (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < ecc55aad3390129a87106841f4b68bf3d70c9264 (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < 895d1dd9057cde1687fa0f4286d47ceed0b82997 (git)
Affected: 893f139b9a6c00c097b9082a90f3041cfb3a0d20 , < ee30dd2909d8b98619f4341c70ec8dc8e155ab02 (git)
Create a notification for this product.
Linux Linux Affected: 3.16
Unaffected: 0 , < 3.16 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.94 , ≤ 6.12.* (semver)
Unaffected: 6.18.36 , ≤ 6.18.* (semver)
Unaffected: 7.0.13 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/openvswitch/datapath.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e248fb2e680deb2bd37bac551b72638fe4938a76",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "971b1b37774f13acc5add0a2843f8598446b8598",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "25fdf53698535fe8790237f5a8a9626791429785",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "e3d509a1b71396e1452060dbf84a805fd1c3c549",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "ecc55aad3390129a87106841f4b68bf3d70c9264",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "895d1dd9057cde1687fa0f4286d47ceed0b82997",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            },
            {
              "lessThan": "ee30dd2909d8b98619f4341c70ec8dc8e155ab02",
              "status": "affected",
              "version": "893f139b9a6c00c097b9082a90f3041cfb3a0d20",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/openvswitch/datapath.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.94",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.36",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.13",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: openvswitch: fix possible kfree_skb of ERR_PTR\n\nAfter the patch in the \"Fixes\" tag, the allocation of the \"reply\" skb\ncan happen either before or after locking the ovs_mutex.\n\nHowever, error cleanups still follow the classical reversed order,\nassuming \"reply\" is allocated before locking: it is freed after unlocking.\n\nIf \"reply\" allocation happens after locking the mutex and it fails,\n\"reply\" is left with an ERR_PTR, and execution jumps to the correspondent\ncleanup stage which will try to free an invalid pointer.\n\nFix this by setting the pointer to NULL after having saved its error\nvalue."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-25T08:39:27.229Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e248fb2e680deb2bd37bac551b72638fe4938a76"
        },
        {
          "url": "https://git.kernel.org/stable/c/0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d"
        },
        {
          "url": "https://git.kernel.org/stable/c/971b1b37774f13acc5add0a2843f8598446b8598"
        },
        {
          "url": "https://git.kernel.org/stable/c/25fdf53698535fe8790237f5a8a9626791429785"
        },
        {
          "url": "https://git.kernel.org/stable/c/e3d509a1b71396e1452060dbf84a805fd1c3c549"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecc55aad3390129a87106841f4b68bf3d70c9264"
        },
        {
          "url": "https://git.kernel.org/stable/c/895d1dd9057cde1687fa0f4286d47ceed0b82997"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee30dd2909d8b98619f4341c70ec8dc8e155ab02"
        }
      ],
      "title": "net: openvswitch: fix possible kfree_skb of ERR_PTR",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53227",
    "datePublished": "2026-06-25T08:39:27.229Z",
    "dateReserved": "2026-06-09T07:44:35.392Z",
    "dateUpdated": "2026-06-25T08:39:27.229Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53227",
      "date": "2026-07-01",
      "epss": "0.00198",
      "percentile": "0.09834"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-53227\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-25T09:16:40.520\",\"lastModified\":\"2026-06-30T14:44:27.313\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: openvswitch: fix possible kfree_skb of ERR_PTR\\n\\nAfter the patch in the \\\"Fixes\\\" tag, the allocation of the \\\"reply\\\" skb\\ncan happen either before or after locking the ovs_mutex.\\n\\nHowever, error cleanups still follow the classical reversed order,\\nassuming \\\"reply\\\" is allocated before locking: it is freed after unlocking.\\n\\nIf \\\"reply\\\" allocation happens after locking the mutex and it fails,\\n\\\"reply\\\" is left with an ERR_PTR, and execution jumps to the correspondent\\ncleanup stage which will try to free an invalid pointer.\\n\\nFix this by setting the pointer to NULL after having saved its error\\nvalue.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/openvswitch/datapath.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"e248fb2e680deb2bd37bac551b72638fe4938a76\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"971b1b37774f13acc5add0a2843f8598446b8598\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"25fdf53698535fe8790237f5a8a9626791429785\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"e3d509a1b71396e1452060dbf84a805fd1c3c549\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"ecc55aad3390129a87106841f4b68bf3d70c9264\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"895d1dd9057cde1687fa0f4286d47ceed0b82997\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"893f139b9a6c00c097b9082a90f3041cfb3a0d20\",\"lessThan\":\"ee30dd2909d8b98619f4341c70ec8dc8e155ab02\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/openvswitch/datapath.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.16\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.16\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.94\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.36\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.13\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0bb5b2dc1b90aa7dd1473fc8c4d813a29255ff8d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/25fdf53698535fe8790237f5a8a9626791429785\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/895d1dd9057cde1687fa0f4286d47ceed0b82997\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/971b1b37774f13acc5add0a2843f8598446b8598\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e248fb2e680deb2bd37bac551b72638fe4938a76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e3d509a1b71396e1452060dbf84a805fd1c3c549\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ecc55aad3390129a87106841f4b68bf3d70c9264\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ee30dd2909d8b98619f4341c70ec8dc8e155ab02\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…