CVE-2022-50865 json
tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
published 2025-12-30 10 mo ago modified 2026-08-05 3 mo ago also EUVD-2022-55833
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.278, 5.10.153, 5.15.77, 6.0.7, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.7-1
debian advisories DEBIAN-CVE-2022-50865
- linux Ubuntu 20.04 LTS 5.4.0-192.212
- linux Ubuntu 22.04 LTS 5.15.0-60.66
- linux-aws Ubuntu 20.04 LTS 5.4.0-1130.140
- linux-aws Ubuntu 22.04 LTS 5.15.0-1030.34
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1134.143
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1029.36
- linux-gke Ubuntu 22.04 LTS 5.15.0-1027.32
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1077.82
ubuntu advisories UBUNTU-CVE-2022-50865
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-553.100.1.el8_10
- perf RHEL 8 4.18.0-553.100.1.el8_10
- bpftool RHEL 8 4.18.0-553.100.1.el8_10
- kernel-core RHEL 8 4.18.0-553.100.1.el8_10
- kernel-tools RHEL 8 4.18.0-553.100.1.el8_10
- python3-perf RHEL 8 4.18.0-553.100.1.el8_10
- kernel-modules RHEL 8 4.18.0-553.100.1.el8_10
- kernel-zfcpdump RHEL 8 4.18.0-553.100.1.el8_10
red hat advisories RHSA-2026:3388RHSA-2026:3360RHSA-2026:3277RHSA-2026:2577RHSA-2026:2573RHSA-2026:2490
- kernel-syms SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.12.14-122.293.1
- kernel-source SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.12.14-122.293.1
- kernel-default SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS, SLE Live Patching 12 SP5 4.12.14-122.293.1
- kgraft-patch-SLE12-SP5_Update_77 SLE Live Patching 12 SP5 1-8.3.1
suse advisories SUSE-SU-2026:0473-1
- kernel-rt AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel-rt-core AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel-rt-modules AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel-rt-debug-core AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel-rt-debug-modules AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel-rt-modules-extra AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel-rt-debug-modules-extra AlmaLinux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel AlmaLinux 8 4.18.0-553.100.1.el8_10
almalinux advisories ALSA-2026:1661ALSA-2026:1662
- kernel-rt Rocky Linux 8 4.18.0-553.100.1.rt7.441.el8_10
- kernel Rocky Linux 8 4.18.0-553.100.1.el8_10
rocky linux advisories RLSA-2026:1661RLSA-2026:1662
- git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368 commit
- git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538 commit
- git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898 commit
- git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f commit
- git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50865 updated cvss 3.7
kernel: tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 moreaffected: workaround, no fix available
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.165.1.el9_0, kernel-devel-matched 5.14.0-70.165.1.el9_0, kernel-debug-devel-matched 5.14.0-70.165.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.165.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.165.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.165.1.el9_0, +2 morefixed: vendor fix RHSA-2026:2573
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.155.1.el9_2, rtla 5.14.0-284.155.1.el9_2, kernel-devel-matched 5.14.0-284.155.1.el9_2, kernel-64k-devel-matched 5.14.0-284.155.1.el9_2, kernel-debug-devel-matched 5.14.0-284.155.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.155.1.el9_2, +5 morefixed: vendor fix RHSA-2026:1909
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.100.1.el8_10, kernel 4.18.0-553.100.1.el8_10, bpftool 4.18.0-553.100.1.el8_10, kernel-core 4.18.0-553.100.1.el8_10, kernel-tools 4.18.0-553.100.1.el8_10, python3-perf 4.18.0-553.100.1.el8_10, +15 morefixed: vendor fix RHSA-2026:1662
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.187.1.el8_2, kernel 4.18.0-193.187.1.el8_2, bpftool 4.18.0-193.187.1.el8_2, kernel-core 4.18.0-193.187.1.el8_2, kernel-tools 4.18.0-193.187.1.el8_2, python3-perf 4.18.0-193.187.1.el8_2, +8 morefixed: vendor fix RHSA-2026:3388
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.186.1.el8_4, kernel 4.18.0-305.186.1.el8_4, bpftool 4.18.0-305.186.1.el8_4, kernel-core 4.18.0-305.186.1.el8_4, kernel-tools 4.18.0-305.186.1.el8_4, python3-perf 4.18.0-305.186.1.el8_4, +8 morefixed: vendor fix RHSA-2026:3360
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.179.1.el8_6, kernel 4.18.0-372.179.1.el8_6, bpftool 4.18.0-372.179.1.el8_6, kernel-core 4.18.0-372.179.1.el8_6, kernel-tools 4.18.0-372.179.1.el8_6, python3-perf 4.18.0-372.179.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.179.1.el8_6, kernel 4.18.0-372.179.1.el8_6, bpftool 4.18.0-372.179.1.el8_6, kernel-core 4.18.0-372.179.1.el8_6, kernel-tools 4.18.0-372.179.1.el8_6, python3-perf 4.18.0-372.179.1.el8_6, +15 morefixed: vendor fix RHSA-2026:2490
-
Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.130.1.el8_8, kernel 4.18.0-477.130.1.el8_8, bpftool 4.18.0-477.130.1.el8_8, kernel-core 4.18.0-477.130.1.el8_8, kernel-tools 4.18.0-477.130.1.el8_8, python3-perf 4.18.0-477.130.1.el8_8, +9 morefixed: vendor fix RHSA-2026:3277
show 11 moreshow fewer
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.165.1.el9_0, bpftool 5.14.0-70.165.1.el9_0, kernel-core 5.14.0-70.165.1.el9_0, kernel-tools 5.14.0-70.165.1.el9_0, python3-perf 5.14.0-70.165.1.el9_0, kernel-modules 5.14.0-70.165.1.el9_0, +14 morefixed: vendor fix RHSA-2026:2573
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.155.1.el9_2, kernel 5.14.0-284.155.1.el9_2, kernel-64k 5.14.0-284.155.1.el9_2, kernel-core 5.14.0-284.155.1.el9_2, kernel-tools 5.14.0-284.155.1.el9_2, python3-perf 5.14.0-284.155.1.el9_2, +28 morefixed: vendor fix RHSA-2026:1909
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.186.1.el8_4, kernel 4.18.0-305.186.1.el8_4, bpftool 4.18.0-305.186.1.el8_4, kernel-core 4.18.0-305.186.1.el8_4, kernel-tools 4.18.0-305.186.1.el8_4, python3-perf 4.18.0-305.186.1.el8_4, +8 morefixed: vendor fix RHSA-2026:3360
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.179.1.el8_6, kernel 4.18.0-372.179.1.el8_6, bpftool 4.18.0-372.179.1.el8_6, kernel-core 4.18.0-372.179.1.el8_6, kernel-tools 4.18.0-372.179.1.el8_6, python3-perf 4.18.0-372.179.1.el8_6, +8 morefixed: vendor fix RHSA-2026:2490
-
Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.130.1.el8_8, kernel 4.18.0-477.130.1.el8_8, bpftool 4.18.0-477.130.1.el8_8, kernel-core 4.18.0-477.130.1.el8_8, kernel-tools 4.18.0-477.130.1.el8_8, python3-perf 4.18.0-477.130.1.el8_8, +8 morefixed: vendor fix RHSA-2026:3277
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.100.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.100.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.100.1.el8_10fixed: vendor fix RHSA-2026:1662
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-kvm 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-core 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-modules 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-debug-kvm 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-debug-core 4.18.0-553.100.1.rt7.441.el8_10, +3 morefixed: vendor fix RHSA-2026:1661
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-kvm 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-core 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-modules 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-debug-kvm 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-debug-core 5.14.0-70.165.1.rt21.237.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-core 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-modules 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-debug-core 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-debug-modules 5.14.0-70.165.1.rt21.237.el9_0, kernel-rt-modules-extra 5.14.0-70.165.1.rt21.237.el9_0, +2 morefixed: vendor fix RHSA-2026:2577
-
Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-core 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-modules 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-debug-core 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-modules-core 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-debug-modules 5.14.0-284.155.1.rt14.440.el9_2, +4 more Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-kvm 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-core 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-modules 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-debug-kvm 5.14.0-284.155.1.rt14.440.el9_2, kernel-rt-debug-core 5.14.0-284.155.1.rt14.440.el9_2, +6 morefixed: vendor fix RHSA-2026:1946
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-core 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-modules 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-debug-core 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-debug-modules 4.18.0-553.100.1.rt7.441.el8_10, kernel-rt-modules-extra 4.18.0-553.100.1.rt7.441.el8_10, +1 morefixed: vendor fix RHSA-2026:1661
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-selftests-internal Red Hat Enterprise Linux 10 kernel Red Hat Enterprise Linux NFV (v. 8) kernel-rt-debuginfo-common-x86_64 4.18.0-553.100.1.rt7.441.el8_10 Red Hat Enterprise Linux RT (v. 8) kernel-rt-debuginfo-common-x86_64 4.18.0-553.100.1.rt7.441.el8_10not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368
- git.kernel.org /stable/c/4f23cb2be530785db284a685d1b1c30224d8a538
- git.kernel.org /stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898
- git.kernel.org /stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f
- git.kernel.org /stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f
Sources
- CVE List CVE-2022-50865
- NVD CVE-2022-50865
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.