lkml.org 
[lkml]   [2019]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: KASAN: use-after-free Read in rxrpc_release_call
Date
Hillf Danton <hdanton@sina.com> wrote:

> if (conn) {
> - rxrpc_disconnect_call(call);
> conn->security->free_call_crypto(call);
> + rxrpc_disconnect_call(call);
> }

Better to cache the security pointer in the call struct, I think.

David

\
 
 \ /
  Last update: 2019-10-04 16:40    [W:0.039 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site