Description · from the CVE record
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.
Affected
ProductAffectedFixed inSource
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < a129792b3aef15002746c13522781d92ed3522c3a129792b3aef15002746c13522781d92ed3522c3CNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < 5a022ac51ad83b4ce6c898f4b9eefc65bd26b2475a022ac51ad83b4ce6c898f4b9eefc65bd26b247CNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < 6caf0e8590c0bf05a76b0d387726adf3a6f3725c6caf0e8590c0bf05a76b0d387726adf3a6f3725cCNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < ec2e157fc9678a9bc411305a25aec3fd337d7efbec2e157fc9678a9bc411305a25aec3fd337d7efbCNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < 28c5fdce9dd955d2baf5e28987819b6d7cfaf64628c5fdce9dd955d2baf5e28987819b6d7cfaf646CNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < 18957373920caf5cdaf5cf32e5d1d7a99ca7700a18957373920caf5cdaf5cf32e5d1d7a99ca7700aCNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < 83f5031f2a6a49d696eb4cc0898345d12f9c645183f5031f2a6a49d696eb4cc0898345d12f9c6451CNA
Linuxbbd0d59809f923ea2b540cbd781b32110e249f6e – < 8e04823c120b376ef7dab14b60ebf6823aa16c148e04823c120b376ef7dab14b60ebf6823aa16c14CNA
Linux2.6.24–CNA