Re: [PATCH 1/1] ax25: Fix segfault when receiving an iframe with net2kiss loaded

2016-12-02 Thread David Miller
From: Basil Gunn Date: Wed, 30 Nov 2016 11:15:25 -0800 > AX.25 uses sock_queue_rcv_skb() to queue an iframe received packet. > This routine writes NULL to the socket buffer device structure > pointer. The socket buffer is subsequently serviced by > __netif_receiv_skb_core() which dereferences the

[PATCH 1/1] ax25: Fix segfault when receiving an iframe with net2kiss loaded

2016-11-30 Thread Basil Gunn
AX.25 uses sock_queue_rcv_skb() to queue an iframe received packet. This routine writes NULL to the socket buffer device structure pointer. The socket buffer is subsequently serviced by __netif_receiv_skb_core() which dereferences the device structure pointer & segfaults. The fix puts the ax25 dev