CVE-2026-143210
HIGH 7.8CVSS 3.1net: skbuff: uncharge trimmed zerocopy frags on error
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]
- Published
- 3 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 52267790ef52d7513879238ca9fac22c1733e0e3, < b6472e8db25035f727390d3afcd45b38b02e30d1; >= 52267790ef52d7513879238ca9fac22c1733e0e3, < cabaf2c3c942880d3850f29d76414e7007f4c985; >= 52267790ef52d7513879238ca9fac22c1733e0e3, < bf6e0dc4b9774b586ab250b75cc16308421a1def; >= 52267790ef52d7513879238ca9fac22c1733e0e3, < 8b67debdfbf6b370312ebec5c9e0a1c39b5c7733 | b6472e8db25035f727390d3afcd45b38b02e30d1, cabaf2c3c942880d3850f29d76414e7007f4c985, bf6e0dc4b9774b586ab250b75cc16308421a1def, 8b67debdfbf6b370312ebec5c9e0a1c39b5c7733 |
| CVE List | Linux | Linux | = 4.14 |
References
- https://git.kernel.org/stable/c/8b67debdfbf6b370312ebec5c9e0a1c39b5c7733
- https://git.kernel.org/stable/c/b6472e8db25035f727390d3afcd45b38b02e30d1
- https://git.kernel.org/stable/c/bf6e0dc4b9774b586ab250b75cc16308421a1def
- https://git.kernel.org/stable/c/cabaf2c3c942880d3850f29d76414e7007f4c985
History
- 4 Dec 2026 05:56 UTC · NVD: scored 7.8
- 4 Dec 2026 03:56 UTC · CVE List: scored 7.8
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)