Vulnerabilities · 2004 · Linux
CVE-2004-2013
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- archives.neohapsis.com/archives/bugtraq/2004-05/0091.html · Exploit
- marc.info/?l=bugtraq&m=108456230815842&w=2 · Patch
- www.securityfocus.com/bid/10326 · Third Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/16117 · Third Party Advisory
- lists.netsys.com/pipermail/full-disclosure/2004-May/021223.html
- nvd.nist.gov/vuln/detail/CVE-2004-2013
- cve.org/CVERecord?id=CVE-2004-2013
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.