lkml.org 
[lkml]   [2018]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[BUG] staging: lustre: Possible null function pointer in ctx_refresh_timeout()
Date
In Linux-4.16, drivers/staging/lustre/lustre/ptlrp/sec.c,

557. int ctx_refresh_timeout(...) {
            .......
573. req->rq_cli_ctx->cc_ops->force_die(req->rq_cli_ctx, 0);
            ......
575. }

For x86 kernel configuration, there is no assignment of the function
pointer ".force_die" in the kernel code.
So calling the function pointer in line 573 may cause a null pointer
dereference.


Best wishes,
Jia-Ju Bai

\
 
 \ /
  Last update: 2018-07-26 16:03    [W:0.036 / U:1.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site