CVE-2021-47244

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47244
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47244.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-47244
Downstream
Published
2024-05-21T15:15:13Z
Modified
2025-08-09T20:01:28Z
Summary
[none]
Details

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 (mptcpgetoptions) 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 TCPOPTEOL nor TCPOPTNOP, 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.").

References

Affected packages