Description
In the Linux kernel, the following vulnerability has been resolved: sctp: validate Adaptation Indication parameter length The Adaptation Layer Indication parameter contains a fixed 32-bit Adaptation Code Point after its parameter header. However, sctp_verify_param() accepts a header-only parameter because the generic parameter walker only requires the header to be present. sctp_process_param() then reads adaptation_ind beyond the declared parameter. When the malformed parameter is last in an INIT, the read starts at the receive skb tail, and the value is copied into the state cookie returned in the INIT ACK. This may disclose four receive-buffer tail bytes. Require the declared parameter length to match the fixed structure size and abort the association through the existing invalid parameter length path otherwise.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fa7861ddbe3b525b5d541c15c3953d3569e6eb0eaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4c92c601c061e5602db2edeea54fef74aa304027affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7b7e4e3640d57bd8857f0052c8b0d8ed4e5e954aaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 93942b5772e0eee4147d4799cc1b936ae12fa615affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5fd7cfc708dfc988ae9920c21075e6121bc89926affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 17b412468c7a44f66a385bda48cdc1e94e39bd6daffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bfa28cf99eb4d096c87da939f54233444d209ca5affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 74b21f52c5c5a71a05c0ff70e513f4f04ff28b17affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.103 to ≤ 6.12.*unaffected6.18.44 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/fa7861ddbe3b525b5d541c15c3953d3569e6eb0e ↗
- https://git.kernel.org/stable/c/4c92c601c061e5602db2edeea54fef74aa304027 ↗
- https://git.kernel.org/stable/c/7b7e4e3640d57bd8857f0052c8b0d8ed4e5e954a ↗
- https://git.kernel.org/stable/c/93942b5772e0eee4147d4799cc1b936ae12fa615 ↗
- https://git.kernel.org/stable/c/5fd7cfc708dfc988ae9920c21075e6121bc89926 ↗
- https://git.kernel.org/stable/c/17b412468c7a44f66a385bda48cdc1e94e39bd6d ↗
- https://git.kernel.org/stable/c/bfa28cf99eb4d096c87da939f54233444d209ca5 ↗
- https://git.kernel.org/stable/c/74b21f52c5c5a71a05c0ff70e513f4f04ff28b17 ↗