8.2high
mptcp: Fix out of bounds when parsing TCP options
- Severity
- 8.2high CVSS:3.1 by Linux
- Exploit likelihood
- 0.72% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: Fix out of bounds when parsing TCP options The TCP option parser in mptcp (mptcp_get_options) could read one byte out of bounds. When the length is 1, the execution flow gets into the loop, reads one byte of the opcode, and if the opcode is neither TCPOPT_EOL nor TCPOPT_NOP, it reads one more byte, which exceeds the length of 1. This fix is inspired by commit 9609dad263f8 ("ipv4: tcp_input: fix stack out of bounds when parsing TCP options.").
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cec37a6e41aae7bf3df9a3da783380a4d9325fd8 before 73eeba71dc9932970befa009e68272a3d5ec4a58, from cec37a6e41aae7bf3df9a3da783380a4d9325fd8 before 76e02b8905d0691e89e104a882f3bba7dd0f6037, from cec37a6e41aae7bf3df9a3da783380a4d9325fd8 before 07718be265680dcf496347d475ce1a5442f55ad7, 5.6 Not affected: before 5.6, from 5.10.46 up to 5.10.*, from 5.12.13 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 5.6 before 5.10.46, from 5.11 before 5.12.13, 5.13 | NVD |
All scores
| Linux | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| CISA-ADP | 6.2medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: mptcp: Fix out of bounds when parsing TCP options The TCP option parser in mptcp (mptcp_get_options) could read one byte out of bounds. When the length is 1, the execution flow gets into the loop, reads one byte of the opcode, and if the opcode is neither TCPOPT_EOL nor TCPOPT_NOP, it reads one more byte, which exceeds the length of 1. This fix is inspired by commit 9609dad263f8 ("ipv4: tcp_input: fix stack out of bounds when parsing TCP options.").
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: mptcp: corrección de límites al analizar opciones TCP. El analizador de opciones TCP en mptcp (mptcp_get_options) podría leer un byte fuera de los límites. Cuando la longitud es 1, el flujo de ejecución entra en el bucle, lee un byte del código de operación y, si el código de operación no es TCPOPT_EOL ni TCPOPT_NOP, lee un byte más, que excede la longitud de 1. Esta solución está inspirada en la confirmación. 9609dad263f8 ("ipv4: tcp_input: corrige la pila fuera de los límites al analizar las opciones de TCP").
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47244 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47244 changed 2026-08-04 | Public domain |