Integer overflow in the SCTP_SOCKOPT_DEBUG_NAME SCTP socket option in socket.c in the Linux kernel 2.4.25 and earlier allows local users to execute arbitrary code via an optlen value of -1, which causes kmalloc to allocate 0 bytes of memory.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://marc.info/?l=bugtraq&m=108456230815842&w=2 | mailing list patch vendor advisory |
http://archives.neohapsis.com/archives/bugtraq/2004-05/0091.html | mailing list exploit patch broken link |
http://lists.netsys.com/pipermail/full-disclosure/2004-May/021223.html | mailing list broken link |
http://www.securityfocus.com/bid/10326 | vdb entry third party advisory broken link |
https://exchange.xforce.ibmcloud.com/vulnerabilities/16117 | vdb entry third party advisory |