CVE-2010-4165
The do_tcp_setsockopt function in net/ipv4/tcp.c in the Linux kernel before 2.6.37-rc2 does not properly restrict TCP_MAXSEG (aka MSS)…
- 4.9MediumCVSS base score
- 1.5%Exploitation in 30 daysEPSS · top 26% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
The do_tcp_setsockopt function in net/ipv4/tcp.c in the Linux kernel before 2.6.37-rc2 does not properly restrict TCP_MAXSEG (aka MSS) values, which allows local users to cause a denial of service (OOPS) via a setsockopt call that specifies a small value, leading to a divide-by-zero error or incorrect use of a signed integer.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Exploit-DB entries for it.
Show the exploits2
Exploit-DB2 entries
- Linux Kernel < 2.6.37-rc2 - 'TCP_MAXSEG' Kernel Panic (Denial of Service) (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16952dos, linuxpublished 10 Mar 2011Not verified
- Linux Kernel 2.6.37 - Local Kernel Denial of Service (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16263dos, linuxpublished 2 Mar 2011Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 16 days later
· 16 days later
Published
- 14 years later
· 14 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
- EPSS (exploitation in 30 days)
- 1.5% · top 26% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.9.
Affected products
n/a
- affected n/a
References
References23
- SUSE-SA:2011:004 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 42778 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [netdev] 20101110 possible kernel oops from user MSS (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 42801 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SA:2011:002 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [oss-security] 20101112 Re: CVE request: kernel: possible kernel oops from user MSS (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.37-rc2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SA:2011:001 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 42932 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 69241 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- ADV-2011-0124 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- SUSE-SA:2011:007 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- ADV-2011-0298 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- MDVSA-2011:051 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 44830 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=652508 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [netdev] 20101110 Re: possible kernel oops from user MSS (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20101112 CVE request: kernel: possible kernel oops from user MSS (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- ADV-2011-0012 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7a1abd08d52fdeddb3e9a5a33f2f15cc6a5674d2 (opens in a new tab)x_refsource_CONFIRMx_transferred
- MDVSA-2011:029 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 8111 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 8123 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2010-4141 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2010-4165)Record last updated .