CVE-2026-98052
7.8high
net: bcmasp: clear txcb->last before writing each descriptor
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 4% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: clear txcb->last before writing each descriptor bcmasp_xmit() only wrote txcb->last = true for the final fragment of an SKB; non-final fragments left the field untouched. If a descriptor slot was reused while it still held a stale true from a previous SKB (possible when tx_spb_ring_full() underreported fullness), bcmasp_tx_reclaim() would see last == true mid-SKB and call dev_consume_skb_any() prematurely, freeing the sk_buff while its remaining fragments were still in flight. Unconditionally clear txcb->last before the conditional set so every descriptor slot starts from a known false state regardless of what a prior transmission left behind.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 490cb412007de593e07c1d3e2b1ec4233886707c before 1e213ba7cb3b9dd97ac2e0a1054e6d0d1d91f5bc, from 490cb412007de593e07c1d3e2b1ec4233886707c before 9b26b54861ce05307d39a54ddedddf8747419614, from 490cb412007de593e07c1d3e2b1ec4233886707c before 47a5cecca925ceb175d5adf712e667acf78f475f, from 490cb412007de593e07c1d3e2b1ec4233886707c before 17e6ad484dea5ddf1c4a3d6ec77a5929161234de, from 490cb412007de593e07c1d3e2b1ec4233886707c before 18e5e0ec0e9282c897e2aa81a3e43ccaee03b003, 6.6 Not affected: before 6.6, from 6.6.158 up to 6.6.*, from 6.12.111 up to 6.12.*, from 6.18.53 up to 6.18.*, from 7.2.7 up to 7.2.*, from 7.3 up to * | CVE List |
| linux linux_kernel | from 6.6 before 6.6.158, from 6.7 before 6.12.111, from 6.13 before 6.18.53, from 6.19 before 7.2.7, 7.3 | NVD |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-98052 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-98052 changed 2026-10-19 | Public domain |