CVE Catalog

CVE-2022-50865

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

37th percentile - higher than 37% of all known CVEs

Summary

In the Linux kernel, tcp_add_backlog() has a signed integer overflow bug. The variables sk_rcvbuf and sk_sndbuf are of type int, and the limit calculated as their sum plus 64 * 1024 may exceed the maximum int value. The fix reduces the limit by halving sndbuf.

Risk Assessment

Integer overflow can lead to incorrect TCP buffering behavior, potentially causing crashes or unexpected network behavior, which could be exploited for DoS attacks.

Recommendation

Install the Linux kernel patch that fixes the overflow in tcp_add_backlog() to ensure correct buffer limit calculations.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS