bnxt: fix head underflow on XDP head-grow
In the Linux kernel, the following vulnerability has been resolved: bnxt: fix head underflow on XDP head-grow The xdp.py test test_xdp_native_adjst_head_grow_data crashes when run on a bnxt machine (and also crashes in NIPA). It seems that the bug is an underflow in bnxt_rx_multi_page_skb, which builds the skb head: napi_build_skb(data_ptr - bp->rx_offset, rxr->rx_page_size); The problem with this expression is that in page mode, rx_offset is: bp->rx_offset = NET_IP_ALIGN + XDP_PACKET_HEADROOM; Which evaluates (at least on x86_64) to 258. The test test_xdp_native_adjst_head_grow_data tests a case where the head is adjusted by -256. When this test runs, data_ptr is shifted to frag_start + 2 (where frag_start = page_address(page) + offset). Then, bnxt_rx_multi_page_skb is invoked and the napi_build_skb expression subtracts 258, landing at an address before frag_start. This could be either the previous fragment or the previous physical page when the offset is < 256 (e.g. if the fragment started at offset 0). When the skb is freed, the page pool fragment reference is dropped on either the wrong page or the wrong frag of the right page. In either case, the corrupted reference count can lead to the page being prematurely recycled while still in use. Once (incorrectly) recycled, it can be handed out again and on driver teardown this would result in a double free. The commit under fixes updated this code to handle the case where the native page size is >= 64k, but it unintentionally
CVE-2026-74269
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-74269
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "f6974b4c2d8e1062b5a52228ee47293c15b4ee1e",
"lessThan": "3e8f3959a7fd28461b8cd9708c21286b4250b77a",
"versionType": "git"
},
{
"status": "affected",
"version": "f6974b4c2d8e1062b5a52228ee47293c15b4ee1e",
"lessThan": "ff34e5a26a26c92142afea11455e259c4c4c617b",
"versionType": "git"
},
{
"status": "affected",
"version": "f6974b4c2d8e1062b5a52228ee47293c15b4ee1e",
"lessThan": "4c03275bc4435cc8e25f7f3f08aff58c0e783d8d",
"versionType": "git"
},
{
"status": "affected",
"version": "f6974b4c2d8e1062b5a52228ee47293c15b4ee1e",
"lessThan": "bb72b1c6755631c74b7e0878ee55bb81c06776c0",
"versionType": "git"
},
{
"status": "affected",
"version": "f6974b4c2d8e1062b5a52228ee47293c15b4ee1e",
"lessThan": "e26657fe3b85c068b01f42bb0c602f242d643ba9",
"versionType": "git"
},
{
"status": "affected",
"version": "e9f11bfc03fb0d3c86f91b8ae945bb10f7e19c16",
"versionType": "git"
},
{
"status": "affected",
"version": "ae0e135dc900827687ecc684c2bbb57aae48d318",
"versionType": "git"
},
{
"status": "affected",
"version": "6.1.45",
"lessThan": "6.2",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.4.10",
"lessThan": "6.5",
"versionType": "semver"
}
],
"programFiles": [
"drivers/net/ethernet/broadcom/bnxt/bnxt.c",
"drivers/net/ethernet/broadcom/bnxt/bnxt.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.5"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.5",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/broadcom/bnxt/bnxt.c",
"drivers/net/ethernet/broadcom/bnxt/bnxt.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-74269
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #46537 · Revision 1
- Added to Heist Feed
- Publisher date