Description
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.
References
- 2004-0029 vendor-advisory
- 20040511 Linux Kernel sctp_setsockopt() Integer Overflow mailing-list
- 20040511 Linux Kernel sctp_setsockopt() Integer Overflow mailing-list
- 10326 vdb-entry
- linux-sctpsetsockopt-integer-bo(16117) vdb-entry