Bug 2426226 (CVE-2022-50865) - CVE-2022-50865 kernel: tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
Summary: CVE-2022-50865 kernel: tcp: fix a signed-integer-overflow bug in tcp_add_back...
Keywords:
Status: NEW
Alias: CVE-2022-50865
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:17 UTC by OSIDB Bzimport
Modified: 2025-12-31 00:01 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:17:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.