CVE-2026-53014 (GCVE-0-2026-53014)

Vulnerability from cvelistv5 – Published: 2026-06-24 16:29 – Updated: 2026-06-24 16:29
VLAI
Title
net/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir
Summary
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir In tcf_blockcast_redir(), when iterating block ports to redirect packets to multiple devices, the mac_header_xmit flag is queried from the wrong device. The loop sends to dev_prev but queries dev_is_mac_header_xmit(dev) — which is the NEXT device in the iteration, not the one being sent to. This causes tcf_mirred_to_dev() to make incorrect decisions about whether to push or pull the MAC header. When the block contains mixed device types (e.g., an ethernet veth and a tunnel device), intermediate devices get the wrong mac_header_xmit flag, leading to skb header corruption. In the worst case, skb_push_rcsum with an incorrect mac_len can exhaust headroom and panic. The last device in the loop is handled correctly (line 365-366 uses dev_is_mac_header_xmit(dev_prev)), confirming this is a copy-paste oversight for the intermediate devices. Fix by using dev_prev instead of dev for the mac_header_xmit query, consistent with the device actually being sent to.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 42f39036cda808d3de243192a2cf5125f12f3047 , < 8fda5174286119addd28473fb2ec5bdf521c05a8 (git)
Affected: 42f39036cda808d3de243192a2cf5125f12f3047 , < 7db3e4e03032261b1b519341123fc30d995478ca (git)
Affected: 42f39036cda808d3de243192a2cf5125f12f3047 , < 4764953c4b47585eb72797b216b63a831dc0c7e6 (git)
Affected: 42f39036cda808d3de243192a2cf5125f12f3047 , < 4510d140524ca7d6e772db962e013f26f09a63b1 (git)
Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.91 , ≤ 6.12.* (semver)
Unaffected: 6.18.33 , ≤ 6.18.* (semver)
Unaffected: 7.0.10 , ≤ 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/sched/act_mirred.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8fda5174286119addd28473fb2ec5bdf521c05a8",
              "status": "affected",
              "version": "42f39036cda808d3de243192a2cf5125f12f3047",
              "versionType": "git"
            },
            {
              "lessThan": "7db3e4e03032261b1b519341123fc30d995478ca",
              "status": "affected",
              "version": "42f39036cda808d3de243192a2cf5125f12f3047",
              "versionType": "git"
            },
            {
              "lessThan": "4764953c4b47585eb72797b216b63a831dc0c7e6",
              "status": "affected",
              "version": "42f39036cda808d3de243192a2cf5125f12f3047",
              "versionType": "git"
            },
            {
              "lessThan": "4510d140524ca7d6e772db962e013f26f09a63b1",
              "status": "affected",
              "version": "42f39036cda808d3de243192a2cf5125f12f3047",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/act_mirred.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "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": "6.12.91",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir\n\nIn tcf_blockcast_redir(), when iterating block ports to redirect\npackets to multiple devices, the mac_header_xmit flag is queried\nfrom the wrong device. The loop sends to dev_prev but queries\ndev_is_mac_header_xmit(dev) \u2014 which is the NEXT device in the\niteration, not the one being sent to.\n\nThis causes tcf_mirred_to_dev() to make incorrect decisions about\nwhether to push or pull the MAC header. When the block contains\nmixed device types (e.g., an ethernet veth and a tunnel device),\nintermediate devices get the wrong mac_header_xmit flag, leading to\nskb header corruption. In the worst case, skb_push_rcsum with an\nincorrect mac_len can exhaust headroom and panic.\n\nThe last device in the loop is handled correctly (line 365-366 uses\ndev_is_mac_header_xmit(dev_prev)), confirming this is a copy-paste\noversight for the intermediate devices.\n\nFix by using dev_prev instead of dev for the mac_header_xmit query,\nconsistent with the device actually being sent to."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-24T16:29:24.605Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8fda5174286119addd28473fb2ec5bdf521c05a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/7db3e4e03032261b1b519341123fc30d995478ca"
        },
        {
          "url": "https://git.kernel.org/stable/c/4764953c4b47585eb72797b216b63a831dc0c7e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/4510d140524ca7d6e772db962e013f26f09a63b1"
        }
      ],
      "title": "net/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53014",
    "datePublished": "2026-06-24T16:29:24.605Z",
    "dateReserved": "2026-06-09T07:44:35.378Z",
    "dateUpdated": "2026-06-24T16:29:24.605Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-53014",
      "date": "2026-07-02",
      "epss": "0.00168",
      "percentile": "0.06376"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-53014\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-06-24T17:17:12.683\",\"lastModified\":\"2026-06-24T17:17:12.683\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet/sched: act_mirred: fix wrong device for mac_header_xmit check in tcf_blockcast_redir\\n\\nIn tcf_blockcast_redir(), when iterating block ports to redirect\\npackets to multiple devices, the mac_header_xmit flag is queried\\nfrom the wrong device. The loop sends to dev_prev but queries\\ndev_is_mac_header_xmit(dev) \u2014 which is the NEXT device in the\\niteration, not the one being sent to.\\n\\nThis causes tcf_mirred_to_dev() to make incorrect decisions about\\nwhether to push or pull the MAC header. When the block contains\\nmixed device types (e.g., an ethernet veth and a tunnel device),\\nintermediate devices get the wrong mac_header_xmit flag, leading to\\nskb header corruption. In the worst case, skb_push_rcsum with an\\nincorrect mac_len can exhaust headroom and panic.\\n\\nThe last device in the loop is handled correctly (line 365-366 uses\\ndev_is_mac_header_xmit(dev_prev)), confirming this is a copy-paste\\noversight for the intermediate devices.\\n\\nFix by using dev_prev instead of dev for the mac_header_xmit query,\\nconsistent with the device actually being sent to.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/sched/act_mirred.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"42f39036cda808d3de243192a2cf5125f12f3047\",\"lessThan\":\"8fda5174286119addd28473fb2ec5bdf521c05a8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"42f39036cda808d3de243192a2cf5125f12f3047\",\"lessThan\":\"7db3e4e03032261b1b519341123fc30d995478ca\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"42f39036cda808d3de243192a2cf5125f12f3047\",\"lessThan\":\"4764953c4b47585eb72797b216b63a831dc0c7e6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"42f39036cda808d3de243192a2cf5125f12f3047\",\"lessThan\":\"4510d140524ca7d6e772db962e013f26f09a63b1\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/sched/act_mirred.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.8\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.8\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.91\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.33\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.10\",\"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/4510d140524ca7d6e772db962e013f26f09a63b1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4764953c4b47585eb72797b216b63a831dc0c7e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7db3e4e03032261b1b519341123fc30d995478ca\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8fda5174286119addd28473fb2ec5bdf521c05a8\",\"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…