Skip to content

CVE-2016-10229: udp: properly support MSG_PEEK with truncated buffers#1097

Merged
neocturne merged 1 commit into
freifunk-gluon:v2016.2.xfrom
jannic:pr
Apr 15, 2017
Merged

CVE-2016-10229: udp: properly support MSG_PEEK with truncated buffers#1097
neocturne merged 1 commit into
freifunk-gluon:v2016.2.xfrom
jannic:pr

Conversation

@jannic

@jannic jannic commented Apr 14, 2017

Copy link
Copy Markdown
Contributor

Add upstream patch to fix CVE-2016-10229

This just adds a commit from upstream linux v3.18.45, which should fix CVE-2016-10229 (https://nvd.nist.gov/vuln/detail/CVE-2016-10229).

Before merging, this patch should get some testing. By now, I only checked that ar71xx-generic still builds - not even tried to flash the resulting firmware.

This patch may also be necessary for master (LEDE), if there are any relevant architectures still using 3.18. Architectures using 4.4 should be fine, as it contains the fix since v4.4.21.

@jannic jannic changed the title udp: properly support MSG_PEEK with truncated buffers CVE-2016-10229: udp: properly support MSG_PEEK with truncated buffers Apr 14, 2017
@rotanid rotanid added the 0. type: bug This is a bug label Apr 14, 2017
@neocturne

Copy link
Copy Markdown
Member

Thanks, will merge after a quick build test.

Fortunately, usual Gluon setups aren't affected, as none of the default packages use MSG_PEEK (the dnsmasq code contains one call, but it is in the DHCP component which is not active during the normal operation of a node).

@neocturne
neocturne merged commit 03fc7b8 into freifunk-gluon:v2016.2.x Apr 15, 2017
ecsv pushed a commit to FreifunkVogtland/gluon that referenced this pull request Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0. type: bug This is a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants