{"id":"CVE-2022-50865","published":"2025-12-30T12:15:37Z","modified":"2026-08-05T08:59:52Z","title":"tcp: fix a signed-integer-overflow bug in tcp_add_backlog()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix a signed-integer-overflow bug in tcp_add_backlog()\n\nThe type of sk_rcvbuf and sk_sndbuf in struct sock is int, and\nin tcp_add_backlog(), the variable limit is caculated by adding\nsk_rcvbuf, sk_sndbuf and 64 * 1024, it may exceed the max value\nof int and overflow. This patch reduces the limit budget by\nhalving the sndbuf to solve this issue since ACK packets are much\nsmaller than the payload.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00528,"percentile":0.45602,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9d04b4d0feee12bce6bfe37f30d8e953d3c30368","tags":[]},{"url":"https://git.kernel.org/stable/c/4f23cb2be530785db284a685d1b1c30224d8a538","tags":[]},{"url":"https://git.kernel.org/stable/c/a85d39f14aa8a71e29cfb5eb5de02878a8779898","tags":[]},{"url":"https://git.kernel.org/stable/c/28addf029417d53b1df062b4c87feb7bc033cb5f","tags":[]},{"url":"https://git.kernel.org/stable/c/ec791d8149ff60c40ad2074af3b92a39c916a03f","tags":[]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.12},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c9c3321257e1b95be9b375f811fb250162af8d39, < 9d04b4d0feee12bce6bfe37f30d8e953d3c30368",">= c9c3321257e1b95be9b375f811fb250162af8d39, < 4f23cb2be530785db284a685d1b1c30224d8a538",">= c9c3321257e1b95be9b375f811fb250162af8d39, < a85d39f14aa8a71e29cfb5eb5de02878a8779898",">= c9c3321257e1b95be9b375f811fb250162af8d39, < 28addf029417d53b1df062b4c87feb7bc033cb5f",">= c9c3321257e1b95be9b375f811fb250162af8d39, < ec791d8149ff60c40ad2074af3b92a39c916a03f"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-16T15:51:41.874254Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55833","exploited":false,"provenance":"source"}}