CVE-2010-4165
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.480%
chance of exploitation in the next 30 days
higher than 74.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2
Weakness
- CWE-369: Divide By Zero
Timeline
- 2010-11-20Published by the CNA21:00 UTC
- 2011-03-02First Exploit-DB entry (EDB-ID 16263)102 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 16263 | dos | linux | 2011-03-02 | yes |
| EDB-ID 16952 | dos | linux | 2011-03-10 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | before 2.6.37fixed in 2.6.372.6.37no fix listed | 2.6.37not listed |
| opensuse opensuse | 11.2no fix listed11.3no fix listed | not listednot listed |
| suse linux_enterprise_desktop | 11no fix listed | not listed |
| suse linux_enterprise_real_time_extension | 11no fix listed | not listed |
| suse linux_enterprise_server | 11no fix listed | not listed |
References
- http://www.openwall.com/lists/oss-security/2010/11/12/1
- http://www.openwall.com/lists/oss-security/2010/11/12/4
- http://www.spinics.net/lists/netdev/msg146405.html
- http://www.spinics.net/lists/netdev/msg146495.html
- https://bugzilla.redhat.com/show_bug.cgi?id=652508
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:029
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:051
- http://securityreason.com/securityalert/8111
- http://securityreason.com/securityalert/8123
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7a1abd08d52fdeddb3e9a5a33f2f15cc6a5674d2
- http://secunia.com/advisories/42778
- http://secunia.com/advisories/42801
- http://secunia.com/advisories/42932
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.37-rc2
- http://www.osvdb.org/69241
- http://www.securityfocus.com/bid/44830
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2010-4165'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2010-4165'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2010-4165'curl 'https://api.contrastcyber.com/cve_products/CVE-2010-4165'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).