sctp: auth: verify auth requirement when auth_chunk is NULL
- 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: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: sctp: auth: verify auth requirement when auth_chunk is NULL sctp_auth_chunk_verify() returns true unconditionally when chunk->auth_chunk is NULL, silently skipping authentication. This is incorrect when: 1. skb_clone() failed in the BH receive path, leaving auth_chunk NULL. In sctp_endpoint_bh_rcv() asoc is NULL for new connections, so the early sctp_auth_recv_cid() check cannot catch this. 2. No AUTH chunk precedes COOKIE-ECHO, so skb_clone() is never called and auth_chunk remains NULL. Fix by checking sctp_auth_recv_cid() when auth_chunk is NULL: if authentication is required, return false to drop the chunk; otherwise continue normally.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in a129792b3aef15002746c13522781d92ed3522c3; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in 5a022ac51ad83b4ce6c898f4b9eefc65bd26b247; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in 6caf0e8590c0bf05a76b0d387726adf3a6f3725c; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in ec2e157fc9678a9bc411305a25aec3fd337d7efb; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in 28c5fdce9dd955d2baf5e28987819b6d7cfaf646; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in 18957373920caf5cdaf5cf32e5d1d7a99ca7700a; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in 83f5031f2a6a49d696eb4cc0898345d12f9c6451; From bbd0d59809f923ea2b540cbd781b32110e249f6e · fixed in 8e04823c120b376ef7dab14b60ebf6823aa16c14
- 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/a129792b3aef15002746c13522781d92ed3522c3
- stable/c/5a022ac51ad83b4ce6c898f4b9eefc65bd26b247
- stable/c/6caf0e8590c0bf05a76b0d387726adf3a6f3725c
- stable/c/ec2e157fc9678a9bc411305a25aec3fd337d7efb
- stable/c/28c5fdce9dd955d2baf5e28987819b6d7cfaf646
- stable/c/18957373920caf5cdaf5cf32e5d1d7a99ca7700a
- stable/c/83f5031f2a6a49d696eb4cc0898345d12f9c6451
- stable/c/8e04823c120b376ef7dab14b60ebf6823aa16c14