Linux
sctp: fix auth_chunk_list capacity check in sctp_auth_ep_add_chunkid
In the Linux kernel, the following vulnerability has been resolved: sctp: fix auth_chunk_list capacity check in sctp_auth_ep_add_chunkid sctp_auth_ep_add_chunkid() uses SCTP_NUM_CHUNK_TYPES (20) as the capacity limit for ep->auth_chunk_list, allowing it to hold up to 20 chunk entries (param_hdr.length up to 24). However, the copy destination asoc->c.auth_chunks in struct sctp_cookie is only SCTP_AUTH_MAX_CHUNKS (16) entries (20 bytes). When more than 16 chunks are added, sctp_association_init() memcpy overflows the destination by up to 4 bytes. Fix by using SCTP_AUTH_MAX_CHUNKS as the capacity limit, matching the destination capacity.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1f485649f52929d9937b346a920a522a7363e202, < 3d22a7da2e264f407c729f33a0a346ff76108bc6
- >= 1f485649f52929d9937b346a920a522a7363e202, < 6837c1c19a259518974cbc5a52017646e3906564
- >= 1f485649f52929d9937b346a920a522a7363e202, < 54bb4c03fa17cdcb157c26c33e60a78cf32960f5
- >= 1f485649f52929d9937b346a920a522a7363e202, < 5a365f1e423444c5da7eb689a8661633dad43e48
- >= 1f485649f52929d9937b346a920a522a7363e202, < 886e28e14ab655012779016d251fef53d103aa12
- >= 1f485649f52929d9937b346a920a522a7363e202, < 11092d79eb2b7c0068382f72fc2416d1786bb2e0
- >= 1f485649f52929d9937b346a920a522a7363e202, < b6ea3dda09eb4d5caf7bbc00f857688cf9e98255
- >= 1f485649f52929d9937b346a920a522a7363e202, < ff04b26794a16a8a879eb4fd2c02c2d6b03850e9
Fixed in 3d22a7da2e264f407c729f33a0a346ff76108bc6, 6837c1c19a259518974cbc5a52017646e3906564, 54bb4c03fa17cdcb157c26c33e60a78cf32960f5, 5a365f1e423444c5da7eb689a8661633dad43e48, 886e28e14ab655012779016d251fef53d103aa12, 11092d79eb2b7c0068382f72fc2416d1786bb2e0, b6ea3dda09eb4d5caf7bbc00f857688cf9e98255, ff04b26794a16a8a879eb4fd2c02c2d6b03850e9
- 2.6.24
Fixed in 0, 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 3d22a7da2e264f407c729f33a0a346ff76108bc6 or 6837c1c19a259518974cbc5a52017646e3906564 or 54bb4c03fa17cdcb157c26c33e60a78cf32960f5 or 5a365f1e423444c5da7eb689a8661633dad43e48 or 886e28e14ab655012779016d251fef53d103aa12 or 11092d79eb2b7c0068382f72fc2416d1786bb2e0 or b6ea3dda09eb4d5caf7bbc00f857688cf9e98255 or ff04b26794a16a8a879eb4fd2c02c2d6b03850e9 or later.
Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 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.