Linux
sctp: validate Adaptation Indication parameter length
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < fa7861ddbe3b525b5d541c15c3953d3569e6eb0e
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4c92c601c061e5602db2edeea54fef74aa304027
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7b7e4e3640d57bd8857f0052c8b0d8ed4e5e954a
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93942b5772e0eee4147d4799cc1b936ae12fa615
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5fd7cfc708dfc988ae9920c21075e6121bc89926
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 17b412468c7a44f66a385bda48cdc1e94e39bd6d
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bfa28cf99eb4d096c87da939f54233444d209ca5
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 74b21f52c5c5a71a05c0ff70e513f4f04ff28b17
Fixed in fa7861ddbe3b525b5d541c15c3953d3569e6eb0e, 4c92c601c061e5602db2edeea54fef74aa304027, 7b7e4e3640d57bd8857f0052c8b0d8ed4e5e954a, 93942b5772e0eee4147d4799cc1b936ae12fa615, 5fd7cfc708dfc988ae9920c21075e6121bc89926, 17b412468c7a44f66a385bda48cdc1e94e39bd6d, bfa28cf99eb4d096c87da939f54233444d209ca5, 74b21f52c5c5a71a05c0ff70e513f4f04ff28b17
- 2.6.12
Fixed in 0, 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to fa7861ddbe3b525b5d541c15c3953d3569e6eb0e or 4c92c601c061e5602db2edeea54fef74aa304027 or 7b7e4e3640d57bd8857f0052c8b0d8ed4e5e954a or 93942b5772e0eee4147d4799cc1b936ae12fa615 or 5fd7cfc708dfc988ae9920c21075e6121bc89926 or 17b412468c7a44f66a385bda48cdc1e94e39bd6d or bfa28cf99eb4d096c87da939f54233444d209ca5 or 74b21f52c5c5a71a05c0ff70e513f4f04ff28b17 or later.
Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.151 or 6.12.103 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.