sctp: fix auth_chunk_list capacity check in sctp_auth_ep_add_chunkid
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 1f485649f52929d9937b346a920a522a7363e202 · fixed in 3d22a7da2e264f407c729f33a0a346ff76108bc6; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in 6837c1c19a259518974cbc5a52017646e3906564; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in 54bb4c03fa17cdcb157c26c33e60a78cf32960f5; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in 5a365f1e423444c5da7eb689a8661633dad43e48; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in 886e28e14ab655012779016d251fef53d103aa12; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in 11092d79eb2b7c0068382f72fc2416d1786bb2e0; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in b6ea3dda09eb4d5caf7bbc00f857688cf9e98255; From 1f485649f52929d9937b346a920a522a7363e202 · fixed in ff04b26794a16a8a879eb4fd2c02c2d6b03850e9
- Linux Linux
2.6.24
- KernelLinux
From 2.6.24 · fixed in 5.10.265; From 5.11.0 · fixed in 5.15.216; From 5.16.0 · fixed in 6.1.183; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6
References 8
git.kernel.org
- stable/c/3d22a7da2e264f407c729f33a0a346ff76108bc6
- stable/c/6837c1c19a259518974cbc5a52017646e3906564
- stable/c/54bb4c03fa17cdcb157c26c33e60a78cf32960f5
- stable/c/5a365f1e423444c5da7eb689a8661633dad43e48
- stable/c/886e28e14ab655012779016d251fef53d103aa12
- stable/c/11092d79eb2b7c0068382f72fc2416d1786bb2e0
- stable/c/b6ea3dda09eb4d5caf7bbc00f857688cf9e98255
- stable/c/ff04b26794a16a8a879eb4fd2c02c2d6b03850e9