Files
vuln-cve/data/2026/98xxx/CVE-2026-98052.json
T

201 lines
11 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-98052",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-09-25T10:19:56.072Z",
"datePublished": "2026-09-25T10:24:00.441Z",
"dateUpdated": "2026-10-19T09:12:58.121Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-10-19T09:12:58.121Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: bcmasp: clear txcb->last before writing each descriptor\n\nbcmasp_xmit() only wrote txcb->last = true for the final fragment\nof an SKB; non-final fragments left the field untouched. If a\ndescriptor slot was reused while it still held a stale true from\na previous SKB (possible when tx_spb_ring_full() underreported\nfullness), bcmasp_tx_reclaim() would see last == true mid-SKB and\ncall dev_consume_skb_any() prematurely, freeing the sk_buff while\nits remaining fragments were still in flight.\n\nUnconditionally clear txcb->last before the conditional set so every\ndescriptor slot starts from a known false state regardless of what a\nprior transmission left behind."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The bug is in bcmasp_xmit() TX ring bookkeeping, reached via sendmsg/sendfile -> dev_queue_xmit -> bcmasp_xmit; no malformed input exists and the trigger is TX ring pressure from multi-fragment (NETIF_F_SG) SKBs, which a local user produces by flooding sockets through the bcmasp interface.\nAC:L - The attacker controls the traffic load: flooding multi-frag SKBs makes buggy tx_spb_ring_full() let bcmasp_xmit overwrite unreclaimed slots, so non-final fragments repeatedly land in slots holding a stale txcb->last=true; no hardware state outside the attacker's control is needed.\nPR:L - Sending TCP/UDP traffic that egresses the bcmasp netdev needs only an ordinary unprivileged local account; there is no capability check anywhere on the transmit path.\nUI:N - No victim action is involved; the attacker generates the transmit traffic entirely by themselves.\nS:U - The corruption affects kernel sk_buff/page memory in the same kernel that runs the driver; no VM or IOMMU boundary is crossed.\nC:H - bcmasp_tx_reclaim() frees the skb (dev_consume_skb_any) while its later fragments are still mapped for DMA, so freed and reallocated pages can be transmitted on the wire and the stale skb is accessed again: a use-after-free with disclosure potential.\nI:H - When the real final fragment is reclaimed later, dev_consume_skb_any() is called a second time on the same skb, a double free/UAF of sk_buff and frag pages that could be groomed into slab corruption.\nA:H - Double freeing the sk_buff and touching freed memory in bcmasp_tx_reclaim() from TX NAPI causes slab corruption and kernel oops/panic on the host."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"
],
"versions": [
{
"version": "490cb412007de593e07c1d3e2b1ec4233886707c",
"lessThan": "1e213ba7cb3b9dd97ac2e0a1054e6d0d1d91f5bc",
"status": "affected",
"versionType": "git"
},
{
"version": "490cb412007de593e07c1d3e2b1ec4233886707c",
"lessThan": "9b26b54861ce05307d39a54ddedddf8747419614",
"status": "affected",
"versionType": "git"
},
{
"version": "490cb412007de593e07c1d3e2b1ec4233886707c",
"lessThan": "47a5cecca925ceb175d5adf712e667acf78f475f",
"status": "affected",
"versionType": "git"
},
{
"version": "490cb412007de593e07c1d3e2b1ec4233886707c",
"lessThan": "17e6ad484dea5ddf1c4a3d6ec77a5929161234de",
"status": "affected",
"versionType": "git"
},
{
"version": "490cb412007de593e07c1d3e2b1ec4233886707c",
"lessThan": "18e5e0ec0e9282c897e2aa81a3e43ccaee03b003",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c"
],
"versions": [
{
"version": "6.6",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.6",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.158",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12.111",
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.18.53",
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.2.7",
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.6.158"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.12.111"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "6.18.53"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "7.2.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6",
"versionEndExcluding": "7.3"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/1e213ba7cb3b9dd97ac2e0a1054e6d0d1d91f5bc"
},
{
"url": "https://git.kernel.org/stable/c/9b26b54861ce05307d39a54ddedddf8747419614"
},
{
"url": "https://git.kernel.org/stable/c/47a5cecca925ceb175d5adf712e667acf78f475f"
},
{
"url": "https://git.kernel.org/stable/c/17e6ad484dea5ddf1c4a3d6ec77a5929161234de"
},
{
"url": "https://git.kernel.org/stable/c/18e5e0ec0e9282c897e2aa81a3e43ccaee03b003"
}
],
"title": "net: bcmasp: clear txcb->last before writing each descriptor",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}