9.8critical
sctp: validate cached peer INIT chunk length in COOKIE_ECHO processing
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: sctp: validate cached peer INIT chunk length in COOKIE_ECHO processing When a listening SCTP server processes a COOKIE_ECHO chunk, the cached peer INIT chunk embedded after the cookie is parsed and its parameters are later walked by sctp_process_init() using sctp_walk_params(). However, the chunk header length of this cached INIT chunk was not validated against the remaining buffer in the COOKIE_ECHO payload. If the length field is inflated, the parameter walk can run beyond the actual received data, leading to out-of-bounds reads and potential memory corruption during later parameter handling (e.g. STATE_COOKIE processing and kmemdup() copies). Add a bounds check in sctp_unpack_cookie() to ensure the cached INIT chunk length does not exceed the available data in the COOKIE_ECHO buffer before it is used.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cc272185c9a9a4b7febc2de52eeaa3d00f19091e, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before edccbf3d63b0a3362bc916ea72edacc1e1ca456a, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0861615c28de668669d748ef4eb913ea9262d13b, 2.6.12 Not affected: before 2.6.12, from 6.18.36 up to 6.18.*, from 7.0.13 up to 7.0.*, from 7.1 up to * | CVE List |
| linux linux_kernel | from 2.6.12.1 before 6.18.36, from 6.19 before 7.0.13, 2.6.12, 7.1 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53246 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-53246 changed 2026-10-19 | Public domain |