Patch "rpmsg: glink: Initialize the "intent_req_comp" completion variable" has been added to the 4.14-stable tree
This is a note to let you know that I've just added the patch titled
rpmsg: glink: Initialize the "intent_req_comp" completion variable
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rpmsg-glink-initialize-the-intent_req_comp-completion-variable.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Mon Dec 18 13:28:59 CET 2017
From: Arun Kumar Neelakantam <[email protected]>
Date: Mon, 30 Oct 2017 11:11:24 +0530
Subject: rpmsg: glink: Initialize the "intent_req_comp" completion variable
From: Arun Kumar Neelakantam <[email protected]>
[ Upstream commit 2394facb17bcace4b3c19b50202177a5d8903b64 ]
The "intent_req_comp" variable is used without initialization which results in NULL pointer dereference in qcom_glink_request_intent().
we need to initialize the completion variable before using it.
--- drivers/rpmsg/qcom_glink_native.c | 1 + 1 file changed, 1 insertion(+)
drivers/rpmsg/qcom_glink_native.c +1 -0
@@ -227,6 +227,7 @@ static struct glink_channel *qcom_glink_init_completion (&channel->open_req);init_completion (&channel->open_ack); +init_completion (&channel->intent_req_comp);INIT_LIST_HEAD (&channel->done_intents);INIT_WORK (&channel->intent_work, qcom_glink_rx_done_work);
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/rpmsg-glink-initialize-the-intent_req_comp-completion-variable.patch