sctp: prevent peer transport count overflow
- 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.151, 6.12.103, 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: total
Summary
In the Linux kernel, the following vulnerability has been resolved: sctp: prevent peer transport count overflow sctp_assoc_add_peer() increments the association's 16-bit transport_count for every new unique peer. Adding the 65,536th transport wraps the count to zero. SCTP sock_diag uses transport_count to reserve the INET_DIAG_PEERS payload, then copies one sockaddr_storage for every entry in transport_addr_list. After the wrap, a diagnostic dump reserves an empty payload and writes 8 MiB of peer addresses past the skb tail. Reject a new unique peer when transport_count has reached U16_MAX. Perform the check after the existing-peer lookup so a duplicate address continues to return its existing transport at the limit.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in b453e00da1211e997b82743d28af7714c59c05c8; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in dfea32dd76f390e3155177b0038cc47b01386198; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in 80f48523a0fe42db2e7375dff4e38a25c117090a; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in 546221b86ceeba0d8fec92d46a0604bb7b62be07; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in 09e722030e8148ba4ed1e42c6b2ea57bda9f9895; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in 4ba5bf7ed50f235ea4581de8e7a0002f4ed287b0; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in 6201cd1d70f1670c5b31ac506e7ab2fa7b8e7f75; From 8f840e47f190cbe61a96945c13e9551048d42cef · fixed in bd0e9289e2642f6a5c54faad304ce0f41e926d22
- Linux Linux
4.7
- KernelLinux
From 4.7.0 · 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.151; From 6.7.0 · fixed in 6.12.103; From 6.13.0 · fixed in 6.18.44; From 6.19.0 · fixed in 7.1.8
References 8
git.kernel.org
- stable/c/b453e00da1211e997b82743d28af7714c59c05c8
- stable/c/dfea32dd76f390e3155177b0038cc47b01386198
- stable/c/80f48523a0fe42db2e7375dff4e38a25c117090a
- stable/c/546221b86ceeba0d8fec92d46a0604bb7b62be07
- stable/c/09e722030e8148ba4ed1e42c6b2ea57bda9f9895
- stable/c/4ba5bf7ed50f235ea4581de8e7a0002f4ed287b0
- stable/c/6201cd1d70f1670c5b31ac506e7ab2fa7b8e7f75
- stable/c/bd0e9289e2642f6a5c54faad304ce0f41e926d22