CVE-2026-90145 (GCVE-0-2026-90145)
Vulnerability from cvelistv5
Published
2026-09-17 16:06
Modified
2026-10-19 08:58
Summary
In the Linux kernel, the following vulnerability has been resolved: hinic3: Fix skb linearization mismatch and drop skb when skb_checksum_help() failed Previously, hinic3_send_one_skb() cached the skb fragment count before calling hinic3_tx_offload(). If hinic3_tx_csum() falls back to skb_checksum_help() for unsupported tunnel packets, the skb may be linearized. Continuing to build the TX descriptor with the stale fragment count leads to a descriptor mismatch, which can trigger out-of-bounds DMA reads or IOMMU faults. Furthermore, the old code ignored the return value of skb_checksum_help(), transmitting corrupted packets with incomplete checksums upon failure. Fix this by: 1. Moving the hinic3_tx_offload() call before calculating 'num_sge' to ensure the correct fragment count is used if the SKB is linearized. 2. Propagating skb_checksum_help() errors and returning HINIC3_TX_OFFLOAD_INVALID to properly drop the skb.
Impacted products
Vendor Product Version
Linux Linux Version: 17fcb3dc12bbee8ec3e32ca1f60898f252e06b2d
Version: 17fcb3dc12bbee8ec3e32ca1f60898f252e06b2d
Version: 17fcb3dc12bbee8ec3e32ca1f60898f252e06b2d
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/huawei/hinic3/hinic3_tx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e794cdc5c369c1b06359e2fe03a8d9270f56bead",
              "status": "affected",
              "version": "17fcb3dc12bbee8ec3e32ca1f60898f252e06b2d",
              "versionType": "git"
            },
            {
              "lessThan": "96c3959770386b2913c62005f0d0c3151e0c01c3",
              "status": "affected",
              "version": "17fcb3dc12bbee8ec3e32ca1f60898f252e06b2d",
              "versionType": "git"
            },
            {
              "lessThan": "d0c2bed6927cbfa2cb51f240b4812bf6916bce0e",
              "status": "affected",
              "version": "17fcb3dc12bbee8ec3e32ca1f60898f252e06b2d",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/huawei/hinic3/hinic3_tx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhinic3: Fix skb linearization mismatch and drop skb when skb_checksum_help() failed\n\nPreviously, hinic3_send_one_skb() cached the skb fragment count before\ncalling hinic3_tx_offload(). If hinic3_tx_csum() falls back to\nskb_checksum_help() for unsupported tunnel packets, the skb may be\nlinearized. Continuing to build the TX descriptor with the stale\nfragment count leads to a descriptor mismatch, which can trigger\nout-of-bounds DMA reads or IOMMU faults.\n\nFurthermore, the old code ignored the return value of skb_checksum_help(),\ntransmitting corrupted packets with incomplete checksums upon failure.\n\nFix this by:\n1. Moving the hinic3_tx_offload() call before calculating \u0027num_sge\u0027 to\n   ensure the correct fragment count is used if the SKB is linearized.\n2. Propagating skb_checksum_help() errors and returning\n   HINIC3_TX_OFFLOAD_INVALID to properly drop the skb."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in hinic3_send_one_skb(), reached only from hinic3_xmit_frame (ndo_start_xmit). Stale num_sge is caused by skb_checksum_help() linearizing a locally built encapsulated skb with SKBFL_SHARED_FRAG (sendfile/splice into GRE/Geneve/IPIP); no received protocol message supplies that fragment layout.\nAC:L - An attacker can sendfile/splice a non-GSO CHECKSUM_PARTIAL frame onto a non-VXLAN tunnel so hinic3_tx_csum() takes the unsupported-tunnel branch (l4_proto != UDP or dest != 4789) and skb_checksum_help() linearizes shared frags, desynchronizing the cached nr_frags with no race.\nPR:L - sendfile/splice on ordinary sockets needs no capability. On a host whose egress is a Geneve/GRE/IPIP overlay over hinic3, that traffic is encapsulated in-kernel and reaches hinic3_xmit_frame as an unprivileged local user (including from a container), without init-namespace CAP_NET_ADMIN.\nUI:N - The attacker triggers hinic3_tx_csum() by transmitting their own splice\u0027d skb; no other user must mount media, open a file, or change configuration.\nS:U - hinic3_prepare_sq_ctrl() programs a wrong BUFDESC_NUM so the NIC DMA-reads leftover SQ buf_descs in host kernel context; that is not a guest-to-host escape, and unmapped IOVAs fault rather than bypass IOMMU policy.\nC:H - After skb_checksum_help() drops nr_frags, hinic3_tx_map_skb() fills only the remaining fragments while hinic3_prepare_sq_ctrl() still advertises the cached num_sge, so the NIC DMA-reads uninitialized SQ buf_descs (stale addresses/lengths) and can emit that host memory on the wire.\nI:N - SQ buf_descs carry only address/length for DMA_TO_DEVICE. hinic3_tx_map_skb() walks the post-linearize nr_frags and does not write out of bounds in the WQE, so there is no kernel write or control-flow primitive.\nA:H - The same stale BUFDESC_NUM makes the device DMA from leftover or unmapped IOVAs, which the fix describes as out-of-bounds DMA reads and IOMMU faults, and can stall the send queue when hardware walks garbage descriptors."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:58:44.481Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e794cdc5c369c1b06359e2fe03a8d9270f56bead"
        },
        {
          "url": "https://git.kernel.org/stable/c/96c3959770386b2913c62005f0d0c3151e0c01c3"
        },
        {
          "url": "https://git.kernel.org/stable/c/d0c2bed6927cbfa2cb51f240b4812bf6916bce0e"
        }
      ],
      "title": "hinic3: Fix skb linearization mismatch and drop skb when skb_checksum_help() failed",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90145",
    "datePublished": "2026-09-17T16:06:41.055Z",
    "dateReserved": "2026-09-11T19:38:34.789Z",
    "dateUpdated": "2026-10-19T08:58:44.481Z",
    "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…