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.
References
- www.cve.org/CVERecord ↗
- nvd.nist.gov/vuln/detail/CVE-2026-53246 ↗
- git.kernel.org/stable/c/0861615c28de668669d748ef4eb913ea9262d13b ↗
- git.kernel.org/stable/c/29ab56e7660b6f849c10c46e87e085649df751eb ↗
- git.kernel.org/stable/c/b1ca7dcfb335caa2c73d2d1bb5710e6dea2c11e0 ↗
- git.kernel.org/stable/c/cc272185c9a9a4b7febc2de52eeaa3d00f19091e ↗
- git.kernel.org/stable/c/dd75066882ecc4ec8df3f5384b4b9fa9579be8f0 ↗
- git.kernel.org/stable/c/edccbf3d63b0a3362bc916ea72edacc1e1ca456a ↗
Related CVEs
← CVE Index: search every CVE from the last 30 days
This product uses the NVD API but is not endorsed or certified by the NVD. CVSS scores do not establish exploitation.