CVE-2022-48819
publishedtcp: take care of mixed splice()/sendmsg(MSG_ZEROCOPY) case
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9b65b17db72313b7a4fe9bc9502928c88be57986 to < 47f3860c4931175f112f28dcac66eacca9b1040f · 9b65b17db72313b7a4fe9bc9502928c88be57986 to < f8d9d938514f46c4892aff6bfe32f425e84d81cc · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.16 (affected) · 0 to < 5.16 (unaffected · semver) · 5.16.10 through 5.16.* (unaffected · semver) · 5.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: take care of mixed splice()/sendmsg(MSG_ZEROCOPY) case syzbot found that mixing sendpage() and sendmsg(MSG_ZEROCOPY) calls over the same TCP socket would again trigger the infamous warning in inet_sock_destruct() WARN_ON(sk_forward_alloc_get(sk)); While Talal took into account a mix of regular copied data and MSG_ZEROCOPY one in the same skb, the sendpage() path has been forgotten. We want the charging to happen for sendpage(), because pages could be coming from a pipe. What is missing is the downgrading of pure zerocopy status to make sure sk_forward_alloc will stay synced. Add tcp_downgrade_zcopy_pure() helper so that we can use it from the two callers.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9b65b17db72313b7a4fe9bc9502928c88be57986 to < 47f3860c4931175f112f28dcac66eacca9b1040f (affected · git)9b65b17db72313b7a4fe9bc9502928c88be57986 to < f8d9d938514f46c4892aff6bfe32f425e84d81cc (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.16 (affected)0 to < 5.16 (unaffected · semver)5.16.10 through 5.16.* (unaffected · semver)5.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
tcp: take care of mixed splice()/sendmsg(MSG_ZEROCOPY) case
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa4e91c4ba4973790653cfa59727fd7e93ead4ade335fc24634c952dfa5b523d
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record