CVE Catalog

CVE-2004-2013

High
Published: Translated: NVD NIST

Summary

In the Linux kernel 2.4.25 and earlier, an integer overflow exists in the SCTP_SOCKOPT_DEBUG_NAME socket option. A local user can pass an optlen value of -1, causing kmalloc to allocate 0 bytes of memory, enabling arbitrary code execution.

Risk Assessment

An attacker with local access can exploit this vulnerability to escalate privileges and gain control over the kernel, leading to full system compromise.

Recommendation

Immediately update the Linux kernel to version 2.4.26 or later, which includes a fix for this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS