{"id":"CVE-2026-143347","summary":"tcp: do not let tcp_collapse() drive sk_forward_alloc negative","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: do not let tcp_collapse() drive sk_forward_alloc negative\n\ntcp_collapse() charges each newly allocated skb with skb_set_owner_r()\nbefore the skbs it replaces are freed, without scheduling memory first.\n\nSince sk_mem_uncharge() reclaims eagerly, sk-\u003esk_forward_alloc has no\ncushion and can become negative. This can be durable when the collapsed\nskbs had a high payload/truesize ratio or were partially read, because\nthe new skbs can have a bigger total truesize than the old ones.\n\nA negative sk_forward_alloc then confuses tcp_wmem_schedule(), which\ncan return a negative length to tcp_sendmsg_locked(), triggering\na WARN_ON_ONCE(bytes \u003e INT_MAX) in check_copy_size().\n\nCall sk_forced_mem_schedule() before charging nskb.","modified":"2026-12-03T11:02:03.901398454Z","published":"2026-12-03T09:22:05.802Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143347.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/031c403d13e5046750e2abebd4e770631e7c4627"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ff7405bdd58ec6bcac5035425266d1aecf224c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22418c15c09362f66294bb97a59b78546d46c052"},{"type":"WEB","url":"https://git.kernel.org/stable/c/48f12694acfcc4bf32dc077ee5c6e06770c51f6e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143347.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143347"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}