Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1440846 > unrolled thread

Re: [PATCH net] udp: prevent bugcheck if filter truncates packet too much

Started byDavid Miller <davem@davemloft.net>
First post2016-07-11 21:50 +0200
Last post2016-07-11 21:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH net] udp: prevent bugcheck if filter truncates packet  too much David Miller <davem@davemloft.net> - 2016-07-11 21:50 +0200

#1440846 — Re: [PATCH net] udp: prevent bugcheck if filter truncates packet too much

FromDavid Miller <davem@davemloft.net>
Date2016-07-11 21:50 +0200
SubjectRe: [PATCH net] udp: prevent bugcheck if filter truncates packet too much
Message-ID<rTPnk-30E-23@gated-at.bofh.it>
From: Michal Kubecek <mkubecek@suse.cz>
Date: Fri,  8 Jul 2016 17:52:33 +0200 (CEST)

> If socket filter truncates an udp packet below the length of UDP header
> in udpv6_queue_rcv_skb() or udp_queue_rcv_skb(), it will trigger a
> BUG_ON in skb_pull_rcsum(). This BUG_ON (and therefore a system crash if
> kernel is configured that way) can be easily enforced by an unprivileged
> user which was reported as CVE-2016-6162. For a reproducer, see
> http://seclists.org/oss-sec/2016/q3/8
> 
> Fixes: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing")
> Reported-by: Marco Grassi <marco.gra@gmail.com>
> Signed-off-by: Michal Kubecek <mkubecek@suse.cz>

Applied and queued up for -stable, thanks.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web