{
  "id": "CVE-2026-74269",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74269",
  "published_at": "2026-08-15T05:57:43.559Z",
  "title": "bnxt: fix head underflow on XDP head-grow",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt: fix head underflow on XDP head-grow\n\nThe xdp.py test test_xdp_native_adjst_head_grow_data crashes when run on\na bnxt machine (and also crashes in NIPA).\n\nIt seems that the bug is an underflow in bnxt_rx_multi_page_skb, which\nbuilds the skb head:\n\n  napi_build_skb(data_ptr - bp-\u003erx_offset, rxr-\u003erx_page_size);\n\nThe problem with this expression is that in page mode, rx_offset is:\n\n  bp-\u003erx_offset = NET_IP_ALIGN + XDP_PACKET_HEADROOM;\n\nWhich evaluates (at least on x86_64) to 258.\n\nThe test test_xdp_native_adjst_head_grow_data tests a case where the\nhead is adjusted by -256.\n\nWhen this test runs, data_ptr is shifted to frag_start + 2 (where\nfrag_start = page_address(page) + offset).\n\nThen, bnxt_rx_multi_page_skb is invoked and the napi_build_skb\nexpression subtracts 258, landing at an address before frag_start. This\ncould be either the previous fragment or the previous physical page when\nthe offset is \u003c 256 (e.g. if the fragment started at offset 0).\n\nWhen the skb is freed, the page pool fragment reference is dropped on\neither the wrong page or the wrong frag of the right page. In either\ncase, the corrupted reference count can lead to the page being\nprematurely recycled while still in use. Once (incorrectly) recycled, it\ncan be handed out again and on driver teardown this would result in a\ndouble free.\n\nThe commit under fixes updated this code to handle the case where the\nnative page size is \u003e= 64k, but it unintentionally broke the head grow\ncase.\n\nTo fix this, add an offset field to struct bnxt_sw_rx_bd, mirroring the\nexisting offset field in struct bnxt_sw_rx_agg_bd. Populate it on\nallocation and preserve it on reuse.\n\nIn bnxt_rx_multi_page_skb, use the newly added offset field to compute\nthe fragment start and pass that to napi_build_skb. Adjust the layout\nwith skb_reserve.\n\nThere are two cases, the non-adjustment case and the adjustment case.\n\nIn both cases, the skb is built at page_address(page) + offset to\naccount for the case where the native page size \u003e= 64K and skb_reserve\nis called with data_ptr - (page_address(page) + offset). That\ndifference equals bp-\u003erx_offset when data_ptr was not moved, or\nbp-\u003erx_offset + xdp_adjust when XDP adjusted the head.\n\nRe-running the failing test with this commit applied causes the test to\nrun successfully to completion.\n\nThe other rx_skb_func implementations don't have this issue.",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= e9f11bfc03fb0d3c86f91b8ae945bb10f7e19c16, \u003c 59f6211c006cb5936b443fb396eb43864ca21ed5",
          "\u003e= f6974b4c2d8e1062b5a52228ee47293c15b4ee1e, \u003c 3e8f3959a7fd28461b8cd9708c21286b4250b77a",
          "\u003e= f6974b4c2d8e1062b5a52228ee47293c15b4ee1e, \u003c ff34e5a26a26c92142afea11455e259c4c4c617b",
          "\u003e= f6974b4c2d8e1062b5a52228ee47293c15b4ee1e, \u003c 4c03275bc4435cc8e25f7f3f08aff58c0e783d8d",
          "\u003e= f6974b4c2d8e1062b5a52228ee47293c15b4ee1e, \u003c bb72b1c6755631c74b7e0878ee55bb81c06776c0",
          "\u003e= f6974b4c2d8e1062b5a52228ee47293c15b4ee1e, \u003c e26657fe3b85c068b01f42bb0c602f242d643ba9",
          "ae0e135dc900827687ecc684c2bbb57aae48d318",
          "\u003e= 6.1.45, \u003c 6.1.191",
          "\u003e= 6.4.10, \u003c 6.5"
        ],
        "fixed_in": [
          "59f6211c006cb5936b443fb396eb43864ca21ed5",
          "3e8f3959a7fd28461b8cd9708c21286b4250b77a",
          "ff34e5a26a26c92142afea11455e259c4c4c617b",
          "4c03275bc4435cc8e25f7f3f08aff58c0e783d8d",
          "bb72b1c6755631c74b7e0878ee55bb81c06776c0",
          "e26657fe3b85c068b01f42bb0c602f242d643ba9",
          "6.1.191",
          "6.5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.5"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.53",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 59f6211c006cb5936b443fb396eb43864ca21ed5 or 3e8f3959a7fd28461b8cd9708c21286b4250b77a or ff34e5a26a26c92142afea11455e259c4c4c617b or 4c03275bc4435cc8e25f7f3f08aff58c0e783d8d or bb72b1c6755631c74b7e0878ee55bb81c06776c0 or e26657fe3b85c068b01f42bb0c602f242d643ba9 or 6.1.191 or 6.5 or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.53 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
