CVE-2022-50865: tcp: fix a signed-integer-overflow bug in tcp_add_backlog()

Published Dec 30, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

tcp: fix a signed-integer-overflow bug in tcpaddbacklog()

The type of skrcvbuf and sksndbuf in struct sock is int, and in tcpaddbacklog(), the variable limit is caculated by adding skrcvbuf, sksndbuf 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 Software

3 affected components
Linux Linux kernel
IBM DS8A00( R10.0 - R10.1 )<=10.1.3.0 - 10.11.35.0
IBM DS8900F ( R9.4)<=89.40.83.0-89.44.25.0

Event History

Dec 30, 2025
CVE Published
via MITRE·12:15 PM
Data Sourced
via MITRE·12:15 PM
DescriptionSeverity
Data Sourced
via NVD·01:16 PM
DescriptionSeverity
Data Sourced
via Red Hat·01:17 PM
DescriptionSeverityAffected Software
Aug 19, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-50865?

CVE-2022-50865 has been classified as a high severity vulnerability due to the potential for a signed integer overflow.

2

How do I fix CVE-2022-50865?

To fix CVE-2022-50865, you should update the Linux kernel to the latest version where this vulnerability has been patched.

3

What systems are affected by CVE-2022-50865?

CVE-2022-50865 affects the Linux kernel across various distributions where the vulnerable versions are deployed.

4

What are the potential consequences of CVE-2022-50865 exploitation?

Exploitation of CVE-2022-50865 could lead to application crashes or potentially allow an attacker to execute arbitrary code.

5

Is CVE-2022-50865 present in all Linux kernel versions?

No, CVE-2022-50865 is not present in all Linux kernel versions; it specifically affects versions prior to the patch being applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203