PT-2026-167068
CVE-2026-143210
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
net: skbuff: uncharge trimmed zerocopy frags on error
zerocopy sg from iter() accounts for the frags that it adds even when
it returns an error: it adds the growth of skb->truesize to
sk wmem queued and, unless the skb is pure zerocopy, charges it to the
socket.
On error, skb zerocopy iter stream() cannot free the skb, as it may hold
data from an earlier send. It trims the new frags, but leaves
skb->truesize and their accounting in place.
Repeated failed sends to the same skb accumulate this stale accounting.
This can inflate TCP memory accounting past tcp mem, and can wrap
skb->truesize, leading to a use-after-free of the socket.
Undo the accounting after the trim. If the trim fails, the frags and
their accounting remain. The trim only fails if the skb is cloned,
which is not expected for the unsent skb at the TCP write queue tail.
The issue was found by an LLM.
[willemb: revised commit message]
Found an issue in the description? Have something to add? Feel free to write us 👾