CVE-2010-4165

medium
Published 2010-11-22 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.9

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

Exploit likelihood
20%
Patch ETA
โ€”

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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-16263 dos linux verified
prdelka ยท 2011-03-02

Linux Kernel 2.6.37 - Local Kernel Denial of Service (1)

Source code queued for fetch โ€” refresh in a moment.
EDB-16952 dos linux
zx2c4 ยท 2011-03-10

Linux Kernel < 2.6.37-rc2 - 'TCP_MAXSEG' Kernel Panic (Denial of Service) (2)

Source code queued for fetch โ€” refresh in a moment.

OS impact

linux Linux kernel Affected 2 releases
VersionStatusFixed in
2.6.37 Affected โ€”
โ€” Affected 2.6.37
suse SUSE Affected 3 releases
VersionStatusFixed in
11.3 Affected โ€”
11.2 Affected โ€”
11 Affected โ€”

References

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.