CVE-2022-50865
published high CVSS 3.1 · 7.5tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc9c3321257e1b95be9b375f811fb250162af8d39 to < 9d04b4d0feee12bce6bfe37f30d8e953d3c30368 · c9c3321257e1b95be9b375f811fb250162af8d39 to < 4f23cb2be530785db284a685d1b1c30224d8a538 · c9c3321257e1b95be9b375f811fb250162af8d39 to < a85d39f14aa8a71e29cfb5eb5de02878a8779898 · c9c3321257e1b95be9b375f811fb250162af8d39 to < 28addf029417d53b1df062b4c87feb7bc033cb5f · c9c3321257e1b95be9b375f811fb250162af8d39 to < ec791d8149ff60c40ad2074af3b92a39c916a03f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.9 (affected) · 0 to < 4.9 (unaffected · semver) · 5.4.278 through 5.4.* (unaffected · semver) · 5.10.153 through 5.10.* (unaffected · semver) · 5.15.77 through 5.15.* (unaffected · semver) · 6.0.7 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-023 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-011 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-077 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.100.1.el8_10 | ELSA-2026-1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.130.1.el8_8 | RHSA-2026:3277 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.186.1.el8_4 | RHSA-2026:3360 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.130.1.el8_8 | RHSA-2026:3277 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.130.1.el8_8 | RHSA-2026:3277 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.186.1.el8_4 | RHSA-2026:3360 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.130.1.el8_8 | RHSA-2026:3277 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.130.1.el8_8 | RHSA-2026:3277 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.186.1.el8_4 | RHSA-2026:3360 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.179.1.el8_6 | RHSA-2026:2490 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-477.130.1.el8_8 | RHSA-2026:3277 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.100.1.el8_10 | RHSA-2026:1662 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-193.187.1.el8_2 | RHSA-2026:3388 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: fix a signed-integer-overflow bug in tcp_add_backlog() The type of sk_rcvbuf and sk_sndbuf in struct sock is int, and in tcp_add_backlog(), the variable limit is caculated by adding sk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value of int and overflow. This patch reduces the limit budget by halving the sndbuf to solve this issue since ACK packets are much smaller than the payload.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - tcp_add_backlog() runs on the TCP receive path from tcp_v4_rcv/tcp_v6_rcv when processing inbound segments for an established socket owned by userspace, so a remote peer reaches it via ordinary network packets. AC:L - In a realistic high-throughput deployment with rmem_max/wmem_max raised near INT_MAX and the application setting large SO_RCVBUF/SO_SNDBUF, a peer can reliably drive the overflowed tiny backlog limit by sending data while the socket is locked; no attacker-uncontrollable race or rare config is required. PR:N - Triggering the buggy limit check needs only the ability to send TCP segments to an existing connection; no authentication or local privileges are required of the remote attacker. UI:N - Exploitation does not require any victim user action beyond the already-running TCP service accepting and processing network traffic. S:U - Impact stays within the host kernel networking authority; there is no VM escape, sandbox escape, or other cross-boundary scope change. C:N - The overflow only miscomputes the backlog admission limit; it does not corrupt memory or disclose kernel/user data. I:N - There is no write primitive, type confusion, or other integrity violation—only an incorrect (too-small) backlog threshold causing packet drops. A:H - When sk_rcvbuf and sk_sndbuf are both near INT_MAX, signed overflow collapses the u32 limit to ~64KB, so sk_add_backlog() prematurely drops inbound segments (TCPBACKLOGDROP), enabling denial of service on affected connections.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c9c3321257e1b95be9b375f811fb250162af8d39 to < 9d04b4d0feee12bce6bfe37f30d8e953d3c30368 (affected · git)c9c3321257e1b95be9b375f811fb250162af8d39 to < 4f23cb2be530785db284a685d1b1c30224d8a538 (affected · git)c9c3321257e1b95be9b375f811fb250162af8d39 to < a85d39f14aa8a71e29cfb5eb5de02878a8779898 (affected · git)c9c3321257e1b95be9b375f811fb250162af8d39 to < 28addf029417d53b1df062b4c87feb7bc033cb5f (affected · git)c9c3321257e1b95be9b375f811fb250162af8d39 to < ec791d8149ff60c40ad2074af3b92a39c916a03f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.9 (affected)0 to < 4.9 (unaffected · semver)5.4.278 through 5.4.* (unaffected · semver)5.10.153 through 5.10.* (unaffected · semver)5.15.77 through 5.15.* (unaffected · semver)6.0.7 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f
- https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538
- https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368
- https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898
- https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f
Provider assertions
2Linux · cna
tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9df4c574d43b6ba2a530986db53af3b6397eeffde7d93bb3f7d3ce0cf0d4d24
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record