CVE-2026-98052 net: bcmasp: clear txcb->last before writing each descriptor
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.6
해결 버전
- 6.6 미만
- 6.6.158 이상
- 6.12.111 이상
- 6.18.53 이상
- 7.2.7 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/17e6ad484dea5ddf1c4a3d6ec77a5929161234de (새 창)
- git.kernel.org https://git.kernel.org/stable/c/18e5e0ec0e9282c897e2aa81a3e43ccaee03b003 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/1e213ba7cb3b9dd97ac2e0a1054e6d0d1d91f5bc (새 창)
- git.kernel.org https://git.kernel.org/stable/c/47a5cecca925ceb175d5adf712e667acf78f475f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9b26b54861ce05307d39a54ddedddf8747419614 (새 창)