CVE-2026-31658 (GCVE-0-2026-31658)
Vulnerability from cvelistv5
Published
2026-04-24 14:45
Modified
2026-04-24 14:45
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit() When dma_map_single() fails in tse_start_xmit(), the function returns NETDEV_TX_OK without freeing the skb. Since NETDEV_TX_OK tells the stack the packet was consumed, the skb is never freed, leaking memory on every DMA mapping failure. Add dev_kfree_skb_any() before returning to properly free the skb.
Impacted products
Vendor Product Version
Linux Linux Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Version: bbd2190ce96d8fce031f0526c1f970b68adc9d1a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/altera/altera_tse_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ae2cd46f57f422b51aedd406ff5d75cbff401d5d",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "cb1d318702fdf643061350d164250198df4116f2",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "d5ec406f0543bd6cdfd563b08015fdec8c4d5712",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "2eb9d67704ca8f1101f7435b85f113ede471f9f2",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "60f462cd2716d86bd2174f9d5e035c9278f30480",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "3aca300e88afe56afb000cdc4c65383014fb17f9",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            },
            {
              "lessThan": "6dede3967619b5944003227a5d09fdc21ed57d10",
              "status": "affected",
              "version": "bbd2190ce96d8fce031f0526c1f970b68adc9d1a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/altera/altera_tse_main.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.15"
            },
            {
              "lessThan": "3.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.169",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.135",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.82",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.253",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.169",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.135",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.82",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.23",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.13",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()\n\nWhen dma_map_single() fails in tse_start_xmit(), the function returns\nNETDEV_TX_OK without freeing the skb. Since NETDEV_TX_OK tells the\nstack the packet was consumed, the skb is never freed, leaking memory\non every DMA mapping failure.\n\nAdd dev_kfree_skb_any() before returning to properly free the skb."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-24T14:45:09.566Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ae2cd46f57f422b51aedd406ff5d75cbff401d5d"
        },
        {
          "url": "https://git.kernel.org/stable/c/cb1d318702fdf643061350d164250198df4116f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5ec406f0543bd6cdfd563b08015fdec8c4d5712"
        },
        {
          "url": "https://git.kernel.org/stable/c/2eb9d67704ca8f1101f7435b85f113ede471f9f2"
        },
        {
          "url": "https://git.kernel.org/stable/c/9f3ec44aeb58501d11834048d5d0dbaeacb6d4e7"
        },
        {
          "url": "https://git.kernel.org/stable/c/60f462cd2716d86bd2174f9d5e035c9278f30480"
        },
        {
          "url": "https://git.kernel.org/stable/c/3aca300e88afe56afb000cdc4c65383014fb17f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/6dede3967619b5944003227a5d09fdc21ed57d10"
        }
      ],
      "title": "net: altera-tse: fix skb leak on DMA mapping error in tse_start_xmit()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31658",
    "datePublished": "2026-04-24T14:45:09.566Z",
    "dateReserved": "2026-03-09T15:48:24.129Z",
    "dateUpdated": "2026-04-24T14:45:09.566Z",
    "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…