Your submission was sent successfully! Close

CVE-2010-4165

Published: 22 November 2010

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.

From the Ubuntu Security Team

Steve Chen discovered that setsockopt did not correctly check MSS values. A local attacker could make a specially crafted socket call to crash the system, leading to a denial of service.

Notes

AuthorNote
mdeslaur
introduced by http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f5fff5dc8a7a3f395b0525c02ba92c95d42b7390
jdstrand
commit introduced in 2008/09/21. Dapper not affected
2.6.15-57.94. Marking back to 'needed'
Priority

Medium

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
dapper Does not exist

hardy
Released (2.6.24-29.92)
karmic
Released (2.6.31-22.73)
lucid
Released (2.6.32-28.52)
maverick
Released (2.6.35-25.43)
natty
Released (2.6.37-5.13)
upstream
Released (2.6.37~rc2)
Patches:
upstream: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7a1abd08d52fdeddb3e9a5a33f2f15cc6a5674d2
hardy: http://chinstrap.ubuntu.com/~bradf/CVEs/CVE-2010-4165/patches/hardy/linux/0001-tcp-Increase-TCP_MAXSEG-socket-option-minimum.txt
karmic: http://chinstrap.ubuntu.com/~bradf/CVEs/CVE-2010-4165/patches/karmic/linux/0001-tcp-Increase-TCP_MAXSEG-socket-option-minimum.txt
lucid: http://chinstrap.ubuntu.com/~bradf/CVEs/CVE-2010-4165/patches/lucid/linux/0001-tcp-Increase-TCP_MAXSEG-socket-option-minimum.txt
maverick: http://chinstrap.ubuntu.com/~bradf/CVEs/CVE-2010-4165/patches/maverick/linux/0001-tcp-Increase-TCP_MAXSEG-socket-option-minimum.txt

linux-ec2
Launchpad, Ubuntu, Debian
dapper Does not exist

hardy Does not exist

karmic
Released (2.6.31-307.27)
lucid
Released (2.6.32-312.24)
maverick Ignored
(binary supplied by "linux" now)
natty Does not exist

upstream
Released (2.6.37~rc2)
linux-fsl-imx51
Launchpad, Ubuntu, Debian
dapper Does not exist

hardy Does not exist

karmic
Released (2.6.31-112.30)
lucid
Released (2.6.31-608.22)
maverick Does not exist

natty Does not exist

upstream
Released (2.6.37~rc2)
linux-lts-backport-maverick
Launchpad, Ubuntu, Debian
dapper Does not exist

hardy Does not exist

karmic Does not exist

lucid
Released (2.6.35-25.44~lucid1)
maverick Does not exist

natty Does not exist

upstream
Released (2.6.37~rc2)
linux-lts-backport-natty
Launchpad, Ubuntu, Debian
hardy Does not exist

lucid Not vulnerable
(2.6.38-1.27~lucid1)
maverick Does not exist

natty Does not exist

upstream
Released (2.6.37~rc2)
linux-mvl-dove
Launchpad, Ubuntu, Debian
dapper Does not exist

hardy Does not exist

karmic Ignored
(abandonded branch)
lucid
Released (2.6.32-214.30)
maverick
Released (2.6.32-414.30)
natty Does not exist

upstream
Released (2.6.37~rc2)
linux-source-2.6.15
Launchpad, Ubuntu, Debian
dapper Ignored

hardy Does not exist

karmic Does not exist

lucid Does not exist

maverick Does not exist

natty Does not exist

upstream
Released (2.6.37~rc2)
Patches:





dapper: http://chinstrap.ubuntu.com/~bradf/CVEs/CVE-2010-4165/patches/dapper/linux/0001-tcp-Increase-TCP_MAXSEG-socket-option-minimum.txt
linux-ti-omap4
Launchpad, Ubuntu, Debian
dapper Does not exist

hardy Does not exist

karmic Does not exist

lucid Does not exist

maverick
Released (2.6.35-903.22)
natty Not vulnerable
(2.6.38-1201.2)
upstream
Released (2.6.37~rc2)