Re: [PATCH net-next] Prevent overflow of sk_msg in sk_msg_clone()

2018-12-21 Thread David Miller
From: John Fastabend Date: Fri, 21 Dec 2018 08:19:36 -0800 > On 12/21/18 7:55 AM, Vakul Garg wrote: >> Fixed function sk_msg_clone() to prevent overflow of 'dst' while adding >> pages in scatterlist entries. The overflow of 'dst' causes crash in kernel >> tls module while doing record encryption.

Re: [PATCH net-next] Prevent overflow of sk_msg in sk_msg_clone()

2018-12-21 Thread John Fastabend
On 12/21/18 7:55 AM, Vakul Garg wrote: > Fixed function sk_msg_clone() to prevent overflow of 'dst' while adding > pages in scatterlist entries. The overflow of 'dst' causes crash in kernel > tls module while doing record encryption. > > Crash fixed by this patch. > > [ 78.796119] Unable to han

[PATCH net-next] Prevent overflow of sk_msg in sk_msg_clone()

2018-12-21 Thread Vakul Garg
Fixed function sk_msg_clone() to prevent overflow of 'dst' while adding pages in scatterlist entries. The overflow of 'dst' causes crash in kernel tls module while doing record encryption. Crash fixed by this patch. [ 78.796119] Unable to handle kernel NULL pointer dereference at virtual addre