Files
linux/drivers/net
Eric Dumazet 4ea2739ea8 pptp: pptp_rcv_core() misses pskb_may_pull() call
e1000e uses paged frags, so any layer incorrectly pulling bytes from skb
can trigger a BUG in skb_pull()

[951.142737]  [<ffffffff813d2f36>] skb_pull+0x15/0x17
[951.142737]  [<ffffffffa0286824>] pptp_rcv_core+0x126/0x19a [pptp]
[951.152725]  [<ffffffff813d17c4>] sk_receive_skb+0x69/0x105
[951.163558]  [<ffffffffa0286993>] pptp_rcv+0xc8/0xdc [pptp]
[951.165092]  [<ffffffffa02800a3>] gre_rcv+0x62/0x75 [gre]
[951.165092]  [<ffffffff81410784>] ip_local_deliver_finish+0x150/0x1c1
[951.177599]  [<ffffffff81410634>] ? ip_local_deliver_finish+0x0/0x1c1
[951.177599]  [<ffffffff81410846>] NF_HOOK.clone.7+0x51/0x58
[951.177599]  [<ffffffff81410996>] ip_local_deliver+0x51/0x55
[951.177599]  [<ffffffff814105b9>] ip_rcv_finish+0x31a/0x33e
[951.177599]  [<ffffffff8141029f>] ? ip_rcv_finish+0x0/0x33e
[951.204898]  [<ffffffff81410846>] NF_HOOK.clone.7+0x51/0x58
[951.214651]  [<ffffffff81410bb5>] ip_rcv+0x21b/0x246

pptp_rcv_core() is a nice example of a function assuming everything it
needs is available in skb head.

Reported-by: Bradley Peterson <despite@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-19 03:50:43 -04:00
..
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-07-26 16:49:47 -07:00
2011-07-23 20:01:15 -07:00
2011-07-07 00:26:31 -07:00
2011-07-21 13:47:54 -07:00
2011-09-29 00:32:10 -04:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:53 -07:00
2011-07-21 13:47:55 -07:00
2011-07-26 16:49:47 -07:00
2011-07-21 13:47:56 -07:00
2011-06-29 06:02:05 -07:00
2011-09-29 00:32:04 -04:00
2011-07-23 20:01:15 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:57 -07:00
2011-07-26 16:49:47 -07:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-15 08:08:26 -07:00
2011-07-25 16:16:00 -07:00
2011-07-25 16:16:00 -07:00
2011-07-21 13:47:54 -07:00
2011-07-21 13:47:54 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-06-21 15:48:29 -07:00
2011-06-13 17:26:15 -04:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-07-27 09:31:08 +08:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-09-15 17:31:45 -04:00
2011-06-24 17:31:37 -07:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-07-07 04:41:24 -07:00
2011-07-27 22:39:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-31 19:28:32 -07:00
2011-08-01 02:27:21 -07:00
2011-04-06 14:35:23 -07:00
2011-07-21 13:47:56 -07:00
2011-03-31 11:26:23 -03:00
2011-08-11 07:42:45 -07:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-08-26 12:48:24 -04:00
2011-06-21 15:48:29 -07:00
2011-07-07 00:30:09 -07:00
2011-07-08 08:53:33 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:56 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:55 -07:00
2011-07-21 13:47:55 -07:00
2011-10-18 23:59:33 -04:00
2011-03-31 11:26:23 -03:00
2011-06-21 15:48:29 -07:00
2011-03-31 11:26:23 -03:00
2011-07-21 13:47:56 -07:00