In the Linux kernel, the following vulnerability has been resolved: sctp: validate embedded INIT chunk and address list lengths in cookie sctp_unpack_cookie() only checked that the embedded INIT chunk length did not exceed the remaining cookie payload, but did not ensure that the INIT chunk is large enough to contain a complete INIT header. A malformed COOKIE_ECHO can therefore carry a truncated INIT chunk whose length field is smaller than sizeof(struct sctp_init_chunk). Later, sctp_process_init() accesses INIT parameters unconditionally, which may lead to out-of-bounds reads. In addition, raw_addr_list_len is not fully validated against the remaining cookie payload. When cookie authentication is disabled, an attacker can supply an oversized raw_addr_list_len and cause sctp_raw_to_bind_addrs() to read beyond the end of the cookie. The address parser also lacks sufficient bounds checks for parameter headers and lengths, allowing malformed address parameters to trigger out-of-bounds reads. Fix this by: - requiring the embedded INIT chunk length to be at least sizeof(struct sctp_init_chunk); - validating that the INIT chunk and raw address list together fit within the cookie payload; - verifying sufficient data exists for each address parameter header and payload before parsing it. Note that sctp_verify_init() must be called after sctp_unpack_cookie() and before sctp_process_init() when cookie authentication is disabled. This will be addressed in a separate patch.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://git.kernel.org/stable/c/512a9bb77c04ac9927648ea58af617e472be96e6 Patch
- https://git.kernel.org/stable/c/6f4c80a2a7e6d06753b89a578b710a2499a5e62b Patch
- https://git.kernel.org/stable/c/7560afb8cddafd829e709d7ea09230e45a825557 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 3
- References+2 references (now 5)NVD modified 2026-10-21 13:19
- StatusAnalyzed → ModifiedNVD modified 2026-10-19 20:19
- First seenCVSS 9.1 · linuxNVD modified 2026-10-16 16:18
Affected (CPE criteria) 13
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*
References 5
- https://git.kernel.org/stable/c/29ab56e7660b6f849c10c46e87e085649df751eb
- https://git.kernel.org/stable/c/512a9bb77c04ac9927648ea58af617e472be96e6 Patch
- https://git.kernel.org/stable/c/6f4c80a2a7e6d06753b89a578b710a2499a5e62b Patch
- https://git.kernel.org/stable/c/7560afb8cddafd829e709d7ea09230e45a825557 Patch
- https://git.kernel.org/stable/c/dd75066882ecc4ec8df3f5384b4b9fa9579be8f0