From: Jia-Ju Bai <baijiaju1990@gmail.com>
To: oleg.drokin@intel.com, andreas.dilger@intel.com,
jsimmons@infradead.org, paf@cray.com, namit@vmware.com
Cc: lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: [BUG] staging: lustre: Possible null function pointer in ctx_refresh_timeout()
Date: Thu, 26 Jul 2018 22:02:22 +0800 [thread overview]
Message-ID: <6920e093-ad62-56dc-6f58-36cf8d7ed3b4@gmail.com> (raw)
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
next reply other threads:[~2018-07-26 14:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 14:02 Jia-Ju Bai [this message]
2018-07-26 14:12 ` Greg KH
2018-07-26 14:18 ` Jia-Ju Bai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6920e093-ad62-56dc-6f58-36cf8d7ed3b4@gmail.com \
--to=baijiaju1990@gmail.com \
--cc=andreas.dilger@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=jsimmons@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lustre-devel@lists.lustre.org \
--cc=namit@vmware.com \
--cc=oleg.drokin@intel.com \
--cc=paf@cray.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®