CVE-2026-143210

Source
https://cve.org/CVERecord?id=CVE-2026-143210
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143210.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143210
Downstream
Published
2026-12-03T09:20:32Z
Modified
2026-12-03T11:01:38Z
Summary
net: skbuff: uncharge trimmed zerocopy frags on error
Details

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]

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143210.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
52267790ef52d7513879238ca9fac22c1733e0e3
Fixed
b6472e8db25035f727390d3afcd45b38b02e30d1
Fixed
cabaf2c3c942880d3850f29d76414e7007f4c985
Fixed
bf6e0dc4b9774b586ab250b75cc16308421a1def
Fixed
8b67debdfbf6b370312ebec5c9e0a1c39b5c7733

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143210.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143210.json"