tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 28addf029417d53b1df062b4c87feb7bc033cb5f, Kernel 4f23cb2be530785db284a685d1b1c30224d8a538, Kernel 9d04b4d0feee12bce6bfe37f30d8e953d3c30368 and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.9, >=c9c3321257e1b95be9b375f811fb250162af8d39 <28addf029417d53b1df062b4c87feb7bc033cb5f, >=c9c3321257e1b95be9b375f811fb250162af8d39 <4f23cb2be530785db284a685d1b1c30224d8a538, >=c9c3321257e1b95be9b375f811fb250162af8d39 <9d04b4d0feee12bce6bfe37f30d8e953d3c30368, >=c9c3321257e1b95be9b375f811fb250162af8d39 <a85d39f14aa8a71e29cfb5eb5de02878a8779898, >=c9c3321257e1b95be9b375f811fb250162af8d39 <ec791d8149ff60c40ad2074af3b92a39c916a03f | 28addf029417d53b1df062b4c87feb7bc033cb5f, 4f23cb2be530785db284a685d1b1c30224d8a538, 9d04b4d0feee12bce6bfe37f30d8e953d3c30368, a85d39f14aa8a71e29cfb5eb5de02878a8779898, ec791d8149ff60c40ad2074af3b92a39c916a03f |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket