Home

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.

PUBLISHED Reserved 2025-12-30 | Published 2025-12-30 | Updated 2025-12-30 | Assigner Linux

Product status

Default status
unaffected

c9c3321257e1b95be9b375f811fb250162af8d39 (git) before 9d04b4d0feee12bce6bfe37f30d8e953d3c30368
affected

c9c3321257e1b95be9b375f811fb250162af8d39 (git) before 4f23cb2be530785db284a685d1b1c30224d8a538
affected

c9c3321257e1b95be9b375f811fb250162af8d39 (git) before a85d39f14aa8a71e29cfb5eb5de02878a8779898
affected

c9c3321257e1b95be9b375f811fb250162af8d39 (git) before 28addf029417d53b1df062b4c87feb7bc033cb5f
affected

c9c3321257e1b95be9b375f811fb250162af8d39 (git) before ec791d8149ff60c40ad2074af3b92a39c916a03f
affected

Default status
affected

4.9
affected

Any version before 4.9
unaffected

5.4.278 (semver)
unaffected

5.10.153 (semver)
unaffected

5.15.77 (semver)
unaffected

6.0.7 (semver)
unaffected

6.1 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368

git.kernel.org/...c/4f23cb2be530785db284a685d1b1c30224d8a538

git.kernel.org/...c/a85d39f14aa8a71e29cfb5eb5de02878a8779898

git.kernel.org/...c/28addf029417d53b1df062b4c87feb7bc033cb5f

git.kernel.org/...c/ec791d8149ff60c40ad2074af3b92a39c916a03f

cve.org (CVE-2022-50865)

nvd.nist.gov (CVE-2022-50865)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.