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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel 2.6.37 - Local Kernel Denial of Service (1)
Linux Kernel < 2.6.37-rc2 - 'TCP_MAXSEG' Kernel Panic (Denial of Service) (2)
OS impact
Linux kernel Affected 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 2.6.37 | Affected | โ |
| โ | Affected | 2.6.37 |
SUSE Affected 3 releases
| Version | Status | Fixed in |
|---|---|---|
| 11.3 | Affected | โ |
| 11.2 | Affected | โ |
| 11 | Affected | โ |
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7a1abd08d52fdeddb3e9a5a33f2f15cc6a5674d2
- 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://secunia.com/advisories/42778
- http://secunia.com/advisories/42801
- http://secunia.com/advisories/42932
- http://securityreason.com/securityalert/8111
- http://securityreason.com/securityalert/8123
- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.37-rc2
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:029
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:051
- http://www.openwall.com/lists/oss-security/2010/11/12/1
- http://www.openwall.com/lists/oss-security/2010/11/12/4
- http://www.osvdb.org/69241
- http://www.securityfocus.com/bid/44830
- http://www.spinics.net/lists/netdev/msg146405.html
- http://www.spinics.net/lists/netdev/msg146495.html
- http://www.vupen.com/english/advisories/2011/0012
- http://www.vupen.com/english/advisories/2011/0124
- http://www.vupen.com/english/advisories/2011/0298
- https://bugzilla.redhat.com/show_bug.cgi?id=652508
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7a1abd08d52fdeddb3e9a5a33f2f15cc6a5674d2
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
CWEs
CWE-369
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.