CVE-2026-98911 (GCVE-0-2026-98911)
Vulnerability from cvelistv5
Published
2026-10-23 11:54
Modified
2026-10-26 06:56
Summary
In the Linux kernel, the following vulnerability has been resolved: dpaa2-switch: fix the error path in dpaa2_switch_rx() In case of an error in dpaa2_switch_rx(), the dpaa2_switch_free_fd() function is called in order to free the FD. This is incorrect since the dpaa2_switch_free_fd() is intended to be used on Tx frame descriptors, meaning that it expects in the software annotation area of the FD data to find a valid skb pointer on which to call dev_kfree_skb(). Fix this by extracting the dma_unmap_page() from dpaa2_switch_build_linear_skb() directly into the dpaa2_switch_rx() function. This allows us to directly use free_pages() in case of an error before an SKB was created and kfree_skb() afterwards.
Impacted products
Vendor Product Version
Linux Linux Version: 613c0a5810b79610db8535c3816b0c149675f8ee
Version: 613c0a5810b79610db8535c3816b0c149675f8ee
Version: 613c0a5810b79610db8535c3816b0c149675f8ee
Version: 613c0a5810b79610db8535c3816b0c149675f8ee
Version: 613c0a5810b79610db8535c3816b0c149675f8ee
Version: 613c0a5810b79610db8535c3816b0c149675f8ee
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "791068c962469af0090e1a1ee63657fb9eef40db",
              "status": "affected",
              "version": "613c0a5810b79610db8535c3816b0c149675f8ee",
              "versionType": "git"
            },
            {
              "lessThan": "ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8",
              "status": "affected",
              "version": "613c0a5810b79610db8535c3816b0c149675f8ee",
              "versionType": "git"
            },
            {
              "lessThan": "259ad6093204b999d41e7e6d0ad90ef9a71a44ab",
              "status": "affected",
              "version": "613c0a5810b79610db8535c3816b0c149675f8ee",
              "versionType": "git"
            },
            {
              "lessThan": "f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1",
              "status": "affected",
              "version": "613c0a5810b79610db8535c3816b0c149675f8ee",
              "versionType": "git"
            },
            {
              "lessThan": "fa232b4496cb59503ae5108c756cbe10e59b0bc3",
              "status": "affected",
              "version": "613c0a5810b79610db8535c3816b0c149675f8ee",
              "versionType": "git"
            },
            {
              "lessThan": "74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d",
              "status": "affected",
              "version": "613c0a5810b79610db8535c3816b0c149675f8ee",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: fix the error path in dpaa2_switch_rx()\n\nIn case of an error in dpaa2_switch_rx(), the dpaa2_switch_free_fd()\nfunction is called in order to free the FD. This is incorrect since the\ndpaa2_switch_free_fd() is intended to be used on Tx frame descriptors,\nmeaning that it expects in the software annotation area of the FD data\nto find a valid skb pointer on which to call dev_kfree_skb().\n\nFix this by extracting the dma_unmap_page() from\ndpaa2_switch_build_linear_skb() directly into the dpaa2_switch_rx()\nfunction. This allows us to directly use free_pages() in case of an\nerror before an SKB was created and kfree_skb() afterwards."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - An adjacent Ethernet peer can send an oversized or malformed frame to the trapped STP address 01:80:c2:00:00:00; dpaa2_switch_port_trap_mac_addr() redirects it through dpaa2_switch_poll() and dpaa2_switch_store_consume() to dpaa2_switch_rx().\nAC:H - The peer controls frame contents and length but not the resulting FD format directly; the bad cleanup requires a non-single FD under the target\u0027s frame-length and page-pool configuration, a surviving runt, allocation failure, or invalid hardware FLC metadata.\nPR:N - The default STP ACL trap accepts link-layer frames without authentication, and the DPIO callback and NAPI receive path perform no credential or capability check before calling dpaa2_switch_rx().\nUI:N - Once the switch port and control interface are operating, receipt of the peer\u0027s trapped frame schedules NAPI and invokes dpaa2_switch_rx() automatically, without any victim action.\nS:U - dpaa2_switch_rx() and the erroneous dpaa2_switch_free_fd() cleanup both execute within the host kernel and do not cross a VM, IOMMU, or other security-authority boundary.\nC:H - dpaa2_switch_free_fd() interprets an RX page\u0027s opaque software-annotation word as an skb pointer, and skb_tail_pointer() and skb teardown then follow fields through that unrelated address, permitting reads of unintended kernel objects.\nI:H - dev_kfree_skb() can decrement the bogus object\u0027s users field and release or free pointers obtained from it, allowing wrong-object refcount changes, invalid frees, and allocator corruption capable of control-flow compromise.\nA:H - The bogus skb pointer can fault immediately in skb_tail_pointer() or during dev_kfree_skb() teardown from the NAPI receive path, causing a kernel oops or panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T06:56:41.537Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/791068c962469af0090e1a1ee63657fb9eef40db"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8"
        },
        {
          "url": "https://git.kernel.org/stable/c/259ad6093204b999d41e7e6d0ad90ef9a71a44ab"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/fa232b4496cb59503ae5108c756cbe10e59b0bc3"
        },
        {
          "url": "https://git.kernel.org/stable/c/74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13d"
        }
      ],
      "title": "dpaa2-switch: fix the error path in dpaa2_switch_rx()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98911",
    "datePublished": "2026-10-23T11:54:57.029Z",
    "dateReserved": "2026-09-25T10:25:14.379Z",
    "dateUpdated": "2026-10-26T06:56:41.537Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…