CVE-2026-143347

Source
https://cve.org/CVERecord?id=CVE-2026-143347
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143347.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143347
Downstream
Published
2026-12-03T09:22:05Z
Modified
2026-12-03T11:02:03Z
Summary
tcp: do not let tcp_collapse() drive sk_forward_alloc negative
Details

In the Linux kernel, the following vulnerability has been resolved:

tcp: do not let tcp_collapse() drive sk_forward_alloc negative

tcp_collapse() charges each newly allocated skb with skb_set_owner_r() before the skbs it replaces are freed, without scheduling memory first.

Since sk_mem_uncharge() reclaims eagerly, sk->sk_forward_alloc has no cushion and can become negative. This can be durable when the collapsed skbs had a high payload/truesize ratio or were partially read, because the new skbs can have a bigger total truesize than the old ones.

A negative sk_forward_alloc then confuses tcp_wmem_schedule(), which can return a negative length to tcp_sendmsg_locked(), triggering a WARN_ON_ONCE(bytes > INT_MAX) in check_copy_size().

Call sk_forced_mem_schedule() before charging nskb.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143347.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
4890b686f4088c90432149bd6de567e621266fa2
Fixed
1ff7405bdd58ec6bcac5035425266d1aecf224c3
Fixed
48f12694acfcc4bf32dc077ee5c6e06770c51f6e
Fixed
22418c15c09362f66294bb97a59b78546d46c052
Fixed
031c403d13e5046750e2abebd4e770631e7c4627

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.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-143347.json"