CVE-2022-50865
Unknown Unknown - Not Provided
Signed Integer Overflow in Linux Kernel TCP Backlog Handling

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-27
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :

This vulnerability involves a signed-integer-overflow bug in the Linux kernel's tcp_add_backlog() function, which could potentially lead to incorrect handling of TCP backlog limits. This might cause unexpected behavior in network packet processing, possibly affecting system stability or network performance.


Can you explain this vulnerability to me?

This vulnerability is a signed-integer-overflow bug in the Linux kernel's tcp_add_backlog() function. It occurs because the variables sk_rcvbuf and sk_sndbuf, which are integers, are added together along with 64 * 1024 to calculate a limit. This sum can exceed the maximum value an int can hold, causing an overflow. The issue was fixed by reducing the limit budget by halving the sndbuf value, as ACK packets are smaller than the payload.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart