CVE-2022-50865
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
30/12/2025
Last modified:
30/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
tcp: fix a signed-integer-overflow bug in tcp_add_backlog()<br />
<br />
The type of sk_rcvbuf and sk_sndbuf in struct sock is int, and<br />
in tcp_add_backlog(), the variable limit is caculated by adding<br />
sk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value<br />
of int and overflow. This patch reduces the limit budget by<br />
halving the sndbuf to solve this issue since ACK packets are much<br />
smaller than the payload.
Impact
References to Advisories, Solutions, and Tools
- 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



