Vulnerability · Published Dec 30, 2025 · Assigned by Linux
CVE-2022-50865tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
High 7.5
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.100.1.rt7.441.el8_10 | ALSA-2026:1661 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | perf | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.100.1.el8_10 | ALSA-2026:1662 |
| Debian:12 | linux | 6.0.7-1 | DEBIAN-CVE-2022-50865 |
| Debian:13 | linux | 6.0.7-1 | DEBIAN-CVE-2022-50865 |
| Debian:14 | linux | 6.0.7-1 | DEBIAN-CVE-2022-50865 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.100.1.el8_10 | RLSA-2026:1662 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.100.1.rt7.441.el8_10 | RLSA-2026:1661 |
| Ubuntu:22.04:LTS | linux | 5.15.0-60.66 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1030.34 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1033.40 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1033.40.1 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1029.36 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1027.32 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1015.19 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1025.28 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1025.30 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1028.33 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-60.66 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1017.17 | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1029.35 | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1024.26 | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2022-50865 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2022-50865 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c9c3321257e1b95be9b375f811fb250162af8d39 – before 9d04b4d0feee12bce6bfe37f30d8e953d3c30368c9c3321257e1b95be9b375f811fb250162af8d39 – before 4f23cb2be530785db284a685d1b1c30224d8a538c9c3321257e1b95be9b375f811fb250162af8d39 – before a85d39f14aa8a71e29cfb5eb5de02878a8779898c9c3321257e1b95be9b375f811fb250162af8d39 – before 28addf029417d53b1df062b4c87feb7bc033cb5fc9c3321257e1b95be9b375f811fb250162af8d39 – before ec791d8149ff60c40ad2074af3b92a39c916a03f |
| Linux | Linux | 4.9 |
References
- https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368
- https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538
- https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898
- https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f
- https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f