Eric Dumazet
610438b744
udp: ipv4: fix potential use after free in udp_v4_early_demux()
...
pskb_may_pull() can reallocate skb->head, we need to move the
initialization of iph and uh pointers after its call.
Fixes: 421b3885bf6d ("udp: ipv4: Add udp early demux")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-11 16:10:14 -05:00
..
2013-11-15 13:28:47 +09:00
2013-11-14 16:30:30 +09:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-10-23 17:03:47 +02:00
2013-11-21 10:26:17 -05:00
2013-12-06 15:41:40 -05:00
2013-11-20 21:52:30 -05:00
2013-11-15 16:47:22 -08:00
2013-10-19 19:12:11 -04:00
2013-12-10 21:45:15 -05:00
2013-12-10 22:51:00 -05:00
2013-11-30 12:48:14 -05:00
2013-11-19 16:39:06 -05:00
2013-12-11 16:10:14 -05:00
2013-12-10 22:51:00 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-12-10 22:51:00 -05:00
2013-11-20 21:52:30 -05:00
2013-12-02 11:54:13 +01:00
2013-10-30 17:18:46 -04:00
2013-10-19 19:36:19 -04:00
2013-12-07 22:55:48 +01:00
2013-11-19 16:39:05 -05:00
2013-11-28 18:26:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-11-19 15:50:47 -08:00
2013-12-09 20:09:20 -05:00
2013-11-19 15:50:47 -08:00
2013-12-03 11:54:18 -05:00
2013-10-28 15:05:25 +01:00
2013-11-20 21:52:30 -05:00
2013-11-20 21:52:30 -05:00
2013-12-11 15:08:41 -05:00
2013-12-10 22:54:34 -05:00
2013-11-20 14:25:39 -08:00
2013-12-10 22:35:49 -05:00
2013-12-10 21:45:15 -05:00
2013-11-20 21:52:30 -05:00
2013-11-21 13:09:42 -05:00
2013-12-02 11:53:44 +01:00
2013-11-20 21:52:30 -05:00
2013-11-07 19:28:58 -05:00
2013-11-29 16:12:52 -05:00
2013-11-21 16:42:27 -08:00
2013-11-03 23:20:14 -05:00
2013-11-29 16:12:52 -05:00